/* Account center, My Orders cards and a compact Rewards wallet. Presentation only; builds on webapp-polish.css (loaded before this file). */

/* ---------- Account: quick-access hub ---------- */
.mol-brand body[data-public-route=account] .ac-hub{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px;margin:14px 0 18px}
.ac-tile{display:flex;align-items:center;gap:12px;min-height:60px;padding:10px 14px;border:1px solid var(--wa-line,#e5e5e5);border-radius:18px;background:var(--wa-card,#ffffff);color:var(--wa-ink,#111111);font:inherit;text-align:left;text-decoration:none;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
.ac-tile[hidden]{display:none}
.ac-tile>svg{flex:none;box-sizing:content-box;width:20px;height:20px;padding:9px;border-radius:13px;background:var(--wa-sand,#fdece9);fill:none;stroke:var(--wa-accent,#d83c1d);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.ac-tile>span{display:flex;flex-direction:column;min-width:0;flex:1}
.ac-tile strong{font:750 15px/1.25 system-ui,sans-serif}.ac-tile small{margin-top:2px;font-size:12px;line-height:1.35;color:var(--wa-muted,#5b5b5b)}
.ac-tile>b{flex:none;color:var(--wa-accent,#d83c1d);font-weight:700}
.ac-tile.is-quiet strong{color:#8a2f1f}.ac-tile.is-quiet>svg{stroke:#8a2f1f}
.ac-tile:focus-visible{outline:3px solid var(--wa-accent,#d83c1d);outline-offset:2px}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.ac-tile:hover{transform:translateY(-2px);border-color:#d83c1d;box-shadow:0 10px 22px -16px #a6261480}}
@media(max-width:650px){.mol-brand body[data-public-route=account] .ac-hub{grid-template-columns:1fr 1fr;gap:8px}.ac-tile{min-height:56px;padding:8px 10px;gap:9px}.ac-tile>svg{width:18px;height:18px;padding:8px}.ac-tile small{display:none}.ac-tile>b{display:none}}

/* ---------- My Orders ---------- */
.ao-summary{margin:2px 20px 0;color:var(--wa-ink,#111111);font:600 14px/1.45 system-ui,sans-serif;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ao-now{display:flex;align-items:center;gap:8px;margin:8px 20px 0;font:700 13px/1.3 system-ui,sans-serif;color:#a62614}
.ao-now>span{width:8px;height:8px;border-radius:50%;background:#d83c1d;flex:none}
.ao-now[data-status=ready]{color:#1d6745}.ao-now[data-status=ready]>span{background:#2e9b64}
.ao-now[data-status=completed]{color:#4d4d4d}.ao-now[data-status=completed]>span{background:#9a9a9a}
.ao-now[data-status=cancelled]{color:#8a2f1f}.ao-now[data-status=cancelled]>span{background:#d36a5a}
.ao-details{margin:10px 0 0;border-top:1px solid #fdece9}
.ao-details>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:46px;padding:0 20px;cursor:pointer;list-style:none;font:750 13px/1 system-ui,sans-serif;color:#8a2f1f}
.ao-details>summary::-webkit-details-marker{display:none}
.ao-details>summary::after{content:"";width:9px;height:9px;border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(45deg) translateY(-2px);transition:transform .18s ease}
.ao-details[open]>summary::after{transform:rotate(-135deg) translateY(-2px)}
.ao-details>summary:focus-visible{outline:3px solid var(--wa-accent,#d83c1d);outline-offset:-3px;border-radius:10px}
.mol-brand body[data-public-route=account] .ao-details .pickup-tracking{padding-top:0}
#accountOrdersState{margin:8px 0}
.ao-skel{display:grid;gap:10px;padding:18px 20px;margin:12px 0;border:1px solid var(--wa-line,#e5e5e5);border-radius:22px;background:var(--wa-card,#ffffff)}
.ao-skel i{display:block;height:14px;border-radius:8px;background:linear-gradient(90deg,#fdece9 25%,#ffffff 50%,#fdece9 75%);background-size:200% 100%}.ao-skel i:first-child{width:45%;height:18px}.ao-skel i:last-child{width:70%}
@media(prefers-reduced-motion:no-preference){.ao-skel i{animation:ao-shimmer 1.4s linear infinite}@keyframes ao-shimmer{to{background-position:-200% 0}}}
.ao-empty,.ao-error{display:flex;flex-direction:column;align-items:center;gap:8px;padding:30px 22px;border:1px dashed #e5e5e5;border-radius:22px;background:#ffffff;text-align:center}
.ao-empty>span{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:var(--wa-sand,#fdece9)}
.ao-empty svg{width:26px;height:26px;fill:none;stroke:var(--wa-accent,#d83c1d);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.ao-empty h3,.ao-error h3{margin:4px 0 0;font:800 20px/1.2 system-ui,sans-serif;letter-spacing:-.02em;color:var(--wa-ink,#111111)}
.ao-empty p,.ao-error p{margin:0;max-width:36ch;font-size:14px;line-height:1.55;color:var(--wa-muted,#5b5b5b)}
.ao-empty .primary{min-height:46px;margin-top:8px;padding:0 22px;border-radius:50px;display:inline-flex;align-items:center;text-decoration:none}
.ao-error{border-style:solid;border-color:#fdece9;background:#ffffff}.ao-error .secondary{min-height:44px;border-radius:50px;padding:0 20px;margin-top:6px}
.mol-brand body[data-public-route=account] .account-order-state{max-width:46%;text-align:center}
.mol-brand body[data-public-route=account] .account-order h3{overflow-wrap:anywhere}
@media(max-width:650px){.ao-summary,.ao-now{margin-inline:16px}.ao-details>summary{padding-inline:16px}}

/* ---------- Rewards: a compact, readable wallet ---------- */
.mol-brand body[data-public-route=rewards] .loyalty .member-actions{display:none}
@media(min-width:601px){
 .mol-brand body[data-public-route=rewards] .loyalty .member-details{grid-template-columns:176px minmax(0,1fr)!important;grid-template-areas:'greeting greeting' 'gauge goal' 'gauge goal-note' 'gauge balance-note' 'milestones milestones'!important;gap:6px 30px!important;padding:24px 28px!important;align-content:start}
 .mol-brand body[data-public-route=rewards] .loyalty .member-details>.member-greeting{grid-area:greeting!important}
 .mol-brand body[data-public-route=rewards] .loyalty .member-details>.member-gauge{grid-area:gauge!important;grid-row:2/5!important;grid-column:1!important;width:176px;align-self:center}
 .mol-brand body[data-public-route=rewards] .loyalty .member-details>.member-progress-heading{grid-area:goal!important;align-self:end}
 .mol-brand body[data-public-route=rewards] .loyalty .member-details>.member-goal-note{grid-area:goal-note!important}
 .mol-brand body[data-public-route=rewards] .loyalty .member-details>.member-balance-note{grid-area:balance-note!important}
 .mol-brand body[data-public-route=rewards] .loyalty .member-details>.member-milestones{grid-area:milestones!important;margin:12px 0 0!important}
 .mol-brand body[data-public-route=rewards] .member-gauge .member-balance strong{font-size:56px!important;letter-spacing:-.04em}
 .mol-brand body[data-public-route=rewards] .member-gauge .member-balance>span{font-size:11px!important}
 .mol-brand body[data-public-route=rewards] .loyalty-member{min-height:0}
}
.mol-brand body[data-public-route=rewards] .loyalty-stats>*{padding-block:12px}
.mol-brand body[data-public-route=rewards] .loyalty-panel{margin-top:14px}
.mol-brand body[data-public-route=rewards] .reward-tier-options{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))!important;gap:12px;overflow:visible!important}
.mol-brand body[data-public-route=rewards] .reward-swipe-hint{display:none}
.mol-brand body[data-public-route=rewards] .member-offer{display:grid!important;grid-template-columns:88px minmax(0,1fr)!important;align-items:center;gap:0 14px;padding:12px!important;min-width:0!important;width:auto!important;flex:1 1 auto!important}
.mol-brand body[data-public-route=rewards] .member-offer-image{width:88px!important;height:88px!important;aspect-ratio:1;border-radius:14px;overflow:hidden}
.mol-brand body[data-public-route=rewards] .member-offer-image img{width:100%;height:100%;object-fit:cover}
.mol-brand body[data-public-route=rewards] .member-offer-copy{min-width:0}
.mol-brand body[data-public-route=rewards] .member-offer-copy h3{font-size:16px;margin:4px 0 2px;overflow-wrap:anywhere}
.mol-brand body[data-public-route=rewards] .member-offer-copy p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0 0 6px;font-size:12.5px}
.mol-brand body[data-public-route=rewards] .member-offer-copy button{min-height:44px}
@media(max-width:600px){.mol-brand body[data-public-route=rewards] .reward-tier-options{grid-template-columns:minmax(0,1fr)!important}.mol-brand body[data-public-route=rewards] .member-offer{grid-template-columns:72px minmax(0,1fr)!important}.mol-brand body[data-public-route=rewards] .member-offer-image{width:72px!important;height:72px!important}}
@media(prefers-reduced-motion:reduce){.ac-tile,.ao-details>summary::after{transition:none}}
.mol-brand body[data-public-route=rewards] .member-offer>.member-offer-image{grid-column:1!important;grid-row:1!important;order:0!important;margin:0!important}
.mol-brand body[data-public-route=rewards] .member-offer>.member-offer-copy{grid-column:2!important;grid-row:1!important;order:1!important;padding:0!important}
/* MOL-014 live-review fixes (signed-in Rewards, desktop): the ring box kept a 260:150 ratio inside a 176px column, so the SVG (210px) spilled 34px into the text column; offer buttons measured 39px. */
.mol-brand body[data-public-route=rewards] .loyalty .member-gauge{aspect-ratio:1/1!important;height:auto!important}
.mol-brand body[data-public-route=rewards] .loyalty .member-gauge>svg{width:100%!important;height:100%!important}
.mol-brand body[data-public-route=rewards] .member-offer-copy button{min-height:44px!important}
