/* A compact account summary. No changes to the loyalty rules or checkout UI. */
.woocommerce-MyAccount-content .gpa{color:#29314a;font-family:Roboto,sans-serif;font-size:14px;line-height:1.6}
.gpa *{box-sizing:border-box}
.gpa [hidden]{display:none!important}
.gpa .gpa-balance{display:flex;align-items:center;justify-content:space-between;gap:26px;padding:22px 26px;margin:0 0 22px;background:#f7f8fb;border:1px solid #e3e6ee;border-left:3px solid var(--ast-global-color-0,#fd9800);border-radius:10px}
.gpa .gpa-label{display:block;font-size:13px;font-weight:500;color:#677088}
.gpa .gpa-amount{display:flex;gap:10px;align-items:baseline;line-height:1.1;margin-top:7px}
.gpa .gpa-amount strong{font-size:40px;font-weight:650;letter-spacing:-1px;color:#23243f;font-variant-numeric:tabular-nums}
.gpa .gpa-amount>span{font-size:16px;color:#677088}
.gpa .gpa-balance>p{max-width:270px;margin:0;color:#747b8c;font-size:12px;line-height:1.7}
.gpa .gpa-debt{padding:11px 14px;border-radius:8px;background:#fff2e7;color:#8b4b23;font-size:12px;margin:0 0 20px}
.gpa .gpa-uses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0 0 22px}
.gpa .gpa-uses-single{grid-template-columns:1fr}
.gpa .gpa-use{display:flex;flex-direction:column;min-width:0;padding:20px;border:1px solid #e3e6ee;border-radius:12px;background:#fff}
.gpa .gpa-use-heading{display:flex;align-items:center;gap:10px;margin:0 0 14px}
.gpa .gpa-icon{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:8px;background:#f3f4f8;color:#7b8399}
.gpa .gpa-icon svg{width:20px;height:20px}
.gpa .gpa-use h3{font-family:"Roboto Condensed",sans-serif;font-size:20px;line-height:1.25;font-weight:400;color:#29314a;margin:0;letter-spacing:0}
.gpa .gpa-price{font-size:14px;line-height:1.4;font-weight:600;color:#29314a;margin:0 0 5px}
.gpa .gpa-description{font-size:12px;line-height:1.6;color:#747b8c;margin:0 0 18px;flex:1}
.gpa .gpa-button{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 18px;min-height:42px;border:1px solid #23243f;border-radius:30px;background:#23243f;color:#fff;font-family:"Open Sans",sans-serif;font-size:12px;font-weight:600;text-decoration:none;line-height:1.4;transition:background-color .15s,border-color .15s}
.gpa .gpa-button:hover{background:#353755;border-color:#353755;color:#fff}
.gpa .gpa-button>span{font-size:16px;color:#fff}
.gpa .gpa-details{border:0;border-top:1px solid #e7e9f0;border-radius:0;background:transparent;margin:0;padding:0}
.gpa .gpa-details:last-of-type{border-bottom:1px solid #e7e9f0}
.gpa .gpa-details summary{display:flex;align-items:center;justify-content:space-between;gap:16px;list-style:none;cursor:pointer;margin:0;padding:17px 2px;color:#29314a;font-size:13px;font-weight:500;line-height:1.5}
.gpa .gpa-details summary::-webkit-details-marker{display:none}
.gpa .gpa-details summary>svg{flex:0 0 18px;width:18px;height:18px;fill:none;stroke:#8a92a6;stroke-width:1.7;transition:transform .15s}
.gpa .gpa-details[open] summary>svg{transform:rotate(180deg)}
.gpa .gpa-details-content{padding:0 2px 18px;font-size:12px;color:#69748b}
.gpa .gpa-events{list-style:none;padding:0;margin:0}
.gpa .gpa-events>li{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 0;margin:0;border-bottom:1px solid #eff0f5}
.gpa .gpa-events>li:last-child{border-bottom:0}
.gpa .gpa-events>li>div{min-width:0}
.gpa .gpa-events strong{display:block;color:#46516a;font-size:12px;font-weight:500;line-height:1.5;overflow-wrap:anywhere}
.gpa .gpa-events small{display:block;font-size:11px;color:#9097a8;margin-top:2px}
.gpa .gpa-event-amount{flex-shrink:0;white-space:nowrap;color:#69748b;font-size:13px;font-weight:600;font-variant-numeric:tabular-nums}
.gpa .gpa-event-amount.is-positive{color:#47785a}
.gpa .gpa-event-amount small{display:inline;font-size:10px;font-weight:400}
.gpa .gpa-rules p{margin:0 0 12px;line-height:1.75}
.gpa .gpa-rules p strong{color:#46516a;font-weight:600}
.gpa .gpa-rules a,.gpa .gpa-refresh a{color:#8b641b;text-decoration:underline;text-underline-offset:3px}
.gpa .gpa-empty,.gpa .gpa-history-limit{font-size:12px;color:#747b8c;margin:0}
.gpa .gpa-refresh{font-size:12px;color:#747b8c;margin:16px 0 0}
.gpa a:focus-visible,.gpa summary:focus-visible{outline:2px solid #d59b37;outline-offset:3px}
@media(max-width:700px){
.gpa .gpa-balance{align-items:flex-start;gap:14px;padding:20px;margin-bottom:16px;flex-direction:column}
.gpa .gpa-balance>p{max-width:none}
.gpa .gpa-amount strong{font-size:36px}
.gpa .gpa-uses{grid-template-columns:1fr;gap:12px;margin-bottom:16px}
.gpa .gpa-use{padding:18px}
.gpa .gpa-use-heading{margin-bottom:11px}
.gpa .gpa-description{margin-bottom:14px}
.gpa .gpa-button{font-size:13px;min-height:44px}
.gpa .gpa-details summary{font-size:13px;padding:16px 2px}
.gpa .gpa-events>li{gap:10px}
}
@media(prefers-reduced-motion:reduce){.gpa .gpa-button,.gpa .gpa-details summary>svg{transition:none}}

/* Visual rewards view, scoped so the other account pages keep their shared layout. */
html body.woocommerce-account .gpa-points .gpa-balance{position:relative;isolation:isolate;overflow:hidden;gap:24px;padding:24px 28px;margin-bottom:18px;border:1px solid #34344e;border-radius:12px;background:#25233d;color:#fff}
.gpa-points .gpa-balance:before{content:"";position:absolute;right:-80px;top:-180px;width:470px;height:470px;border:65px solid #ffffff03;border-radius:50%;pointer-events:none;z-index:-1}
.gpa-points .gpa-hero-copy{min-width:0;max-width:420px}
.gpa-points .gpa-eyebrow{display:block;font-size:10px;letter-spacing:1.3px;text-transform:uppercase;font-weight:650;color:#efbb51;margin-bottom:9px}
html body.woocommerce-account .woocommerce-MyAccount-content .gpa-points .gpa-balance h2{font-size:27px;line-height:1.13;font-weight:600;color:#fff;margin:0 0 10px;letter-spacing:0}
.gpa-points .gpa-hero-copy p{font-size:12px;line-height:1.6;color:#c6c7d7;margin:0;max-width:340px}
.gpa-points .gpa-hero-copy p strong{color:#fff;font-weight:500}
.gpa-points .gpa-wallet-box{display:flex;align-items:center;gap:16px;flex:0 0 auto;padding:19px 24px;border:1px solid #ffffff20;border-radius:12px;background:#ffffff06;min-width:240px}
.gpa-points .gpa-wallet-symbol{display:grid;place-items:center;flex:0 0 56px;width:56px;height:56px;border:1px solid #d8ac48;border-radius:50%;color:#f1c365;background:#efbb5110;box-shadow:0 0 0 6px #efbb5105}
.gpa-points .gpa-wallet-symbol svg{width:34px;height:34px;stroke-width:1.15}
.gpa-points .gpa-wallet-box .gpa-label{color:#c6c7d7;font-size:11px}
.gpa-points .gpa-wallet-box .gpa-amount{gap:7px;margin-top:5px}
.gpa-points .gpa-wallet-box .gpa-amount strong{color:#fff;font-size:43px;font-weight:600;letter-spacing:-.7px}
.gpa-points .gpa-wallet-box .gpa-amount>span{color:#d6d6e1;font-size:13px}
.gpa-points .gpa-wallet-box small{display:block;margin-top:9px;font-size:9px;color:#aeb0c4}
html body.woocommerce-account .gpa-points .gpa-uses{gap:16px;margin-bottom:18px}
.gpa-points .gpa-use{padding:0;overflow:hidden;transition:border-color .2s,box-shadow .2s}
.gpa-points .gpa-use:hover{border-color:#c5c8d4;box-shadow:0 5px 16px #25233d06}
.gpa-points .gpa-use-art{position:relative;flex:0 0 112px;height:112px;overflow:hidden;background:#fbf5e9;border-bottom:1px solid #eee9df}
.gpa-points .gpa-use-art>span{position:absolute;left:20px;top:18px;font-size:10px;font-weight:650;letter-spacing:.7px;color:#936619;text-transform:uppercase;z-index:1;max-width:120px}
.gpa-points .gpa-use-art img{display:block;width:100%;height:112px;object-fit:contain;object-position:right center}
.gpa-points .gpa-filament-photos{position:absolute;right:20px;bottom:-7px;display:flex;align-items:flex-end}
.gpa-points .gpa-filament-photos img{width:112px;height:112px;object-fit:contain;filter:drop-shadow(0 4px 5px #25233d18)}
.gpa-points .gpa-filament-photos img+img{width:124px;height:124px;margin-left:-45px}
.gpa-points .gpa-use-creation .gpa-use-art{background:radial-gradient(ellipse at 75% 80%,#3a3c59,#25233d);border-color:#37374e}
.gpa-points .gpa-use-creation .gpa-use-art>span{color:#e9c570}
.gpa-points .gpa-use-copy{display:flex;flex:1;flex-direction:column;padding:19px 20px 20px}
.gpa-points .gpa-use-heading{margin-bottom:10px}
html body.woocommerce-account .woocommerce-MyAccount-content .gpa-points .gpa-use h3{font-size:20px;font-weight:500;line-height:1.25;margin:0}
.gpa-points .gpa-price{font-size:14px;font-weight:600;margin-bottom:4px}
html body.woocommerce-account .gpa-points .gpa-description{font-size:12px;margin-bottom:17px;line-height:1.5}
.gpa-points .gpa-button{border-radius:9px}
.gpa-points .gpa-button>span{transition:transform .18s}
.gpa-points .gpa-button:hover>span{transform:translateX(3px)}
@media(max-width:1100px) and (min-width:761px){
  html body.woocommerce-account .gpa-points .gpa-balance{padding:22px;gap:16px}
  .gpa-points .gpa-wallet-box{min-width:190px;padding:17px;gap:12px}
  .gpa-points .gpa-wallet-symbol{width:42px;height:42px;flex-basis:42px}
  .gpa-points .gpa-use-art>span{left:16px;top:12px;max-width:95px;font-size:9px}
}
@media(max-width:760px){
  html body.woocommerce-account .gpa-points .gpa-balance{flex-direction:column;align-items:stretch;padding:21px 20px;gap:18px;margin-bottom:14px}
  html body.woocommerce-account .woocommerce-MyAccount-content .gpa-points .gpa-balance h2{font-size:26px}
  .gpa-points .gpa-hero-copy{max-width:none}
  .gpa-points .gpa-wallet-box{min-width:0;gap:18px;padding:15px 18px}
  .gpa-points .gpa-wallet-box .gpa-amount strong{font-size:38px}
  .gpa-points .gpa-wallet-box small{margin-top:5px}
  .gpa-points .gpa-use-copy{padding:17px 18px}
  .gpa-points .gpa-use-art{height:104px;flex-basis:104px}
  .gpa-points .gpa-use-art img{height:104px}
  .gpa-points .gpa-use-art>span{left:16px;top:14px;font-size:9px;max-width:110px}
}
@media(prefers-reduced-motion:reduce){.gpa-points .gpa-use,.gpa-points .gpa-button>span{transition:none}}
