/* Rewards content follows its natural height; no empty gift cards. */
.theme-bento.page-rewards main { min-height:0; padding:28px 32px 32px; }
.theme-bento .rewards-content .page-heading { margin-bottom:24px; }
.theme-bento .rewards-content .page-heading h1 { font-size:32px; }
.theme-bento .rewards-content .page-heading .intro { margin-top:8px; font-size:14px; max-width:none; }
.theme-bento .rewards-content .rewards-layout { grid-template-columns:288px minmax(0,1fr); gap:20px; align-items:start; }
.theme-bento .rewards-content .panel { padding:20px; border:1px solid var(--line); border-radius:14px; background:#fff; }
.theme-bento .rewards-content .loyalty-card { background:var(--surface); border-color:transparent; }
.theme-bento .rewards-content .loyalty-card .balance { margin-top:6px; font-size:36px; line-height:1.15; }
.theme-bento .rewards-content .loyalty-card > p:not(.small-label) { margin-top:4px; font-size:12px; line-height:1.5; }
.theme-bento .rewards-content .loyalty-card .pending { margin:12px 0 0; padding-top:12px; border-top:1px solid var(--line); }
.theme-bento .rewards-content .loyalty-card > .help { margin-top:8px; font-size:11px; }
.theme-bento .rewards-content .rewards-info h2,
.theme-bento .rewards-content .rewards-gifts h2 { font-size:20px; letter-spacing:-.025em; }
.theme-bento .rewards-content .rewards-info ol { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; margin:18px 0 0; padding-left:18px; }
.theme-bento .rewards-content .rewards-info li { padding-left:4px; margin:0; }
.theme-bento .rewards-content .rewards-info li strong { font-size:13px; }
.theme-bento .rewards-content .rewards-info li p { margin-top:6px; font-size:12px; line-height:1.5; }
.theme-bento .rewards-content .rewards-gifts { margin-top:24px; }
.theme-bento .rewards-content .gifts-empty { display:flex; align-items:center; justify-content:center; padding:28px 20px; margin-top:12px; border:1px solid var(--line); border-radius:14px; background:var(--surface); }
.theme-bento .rewards-content .gifts-empty p { color:var(--muted); font-size:14px; }
@media (max-width:1000px) {
 .theme-bento .rewards-content .rewards-info ol { grid-template-columns:1fr; gap:12px; }
}
@media (max-width:640px) {
 .theme-bento.page-rewards main { padding:20px 16px 24px; }
 .theme-bento .rewards-content .page-heading h1 { font-size:27px; }
 .theme-bento .rewards-content .page-heading .intro { font-size:13px; }
 .theme-bento .rewards-content .page-heading { margin-bottom:20px; }
 .theme-bento .rewards-content .rewards-layout { grid-template-columns:minmax(0,1fr); gap:16px; }
 .theme-bento .rewards-content .rewards-gifts { margin-top:20px; }
}
/* Real redemption states and forms. */
.theme-bento .loyalty-card .balance small { font-size:14px;font-weight:500; }
.loyalty-card .loyalty-manager-phone { margin-top:12px; }
.reward-balances { margin:16px 0 12px;border-top:1px solid var(--line);padding-top:12px; }
.reward-balances>div { display:flex;justify-content:space-between;gap:12px;margin:8px 0;font-size:13px; }
.reward-balances dd { margin:0;font-variant-numeric:tabular-nums;font-weight:600; }
.reward-tabs { display:flex;gap:8px;flex-wrap:wrap;border-bottom:1px solid var(--line);margin-bottom:20px;padding-bottom:12px; }
.reward-tabs button { padding:10px 18px;min-height:44px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--muted);font:inherit;font-size:14px;cursor:pointer; }
.reward-tabs button[aria-pressed=true] { color:var(--brand);border-color:var(--line);background:var(--surface);font-weight:600; }
.reward-gift-grid { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px; }
.reward-gift { min-width:0;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:white;display:flex;flex-direction:column; }
.reward-gift-photo { display:flex;align-items:center;justify-content:center;height:176px;background:var(--surface);color:var(--brand); }
.reward-gift-photo img { width:100%;height:100%;object-fit:contain;padding:16px; }
.reward-gift-photo svg { width:64px;height:64px; }
.reward-gift-copy { padding:18px;display:flex;flex:1;flex-direction:column;gap:12px; }
.reward-gift-copy h3 { font-size:18px;line-height:1.3;overflow-wrap:anywhere; }
.reward-gift-copy>p:not(.small-label) { font-size:13px;line-height:1.6;color:var(--muted);white-space:pre-line; }
.reward-cost { margin-top:auto;font-size:22px; }
.reward-cost span { font-size:13px;font-weight:400; }
.reward-gift .btn { width:100%;min-height:44px;font-size:12px;padding:10px 8px;white-space:normal; }
.reward-gift .btn:disabled,.reward-cash .btn:disabled { opacity:.55;cursor:not-allowed; }
.reward-notice { padding:18px 20px;border:1px solid #d8c0b0;background:#faf4ef;border-radius:10px;margin-bottom:20px;font-size:14px;line-height:1.6; }
.reward-notice .btn { margin-top:12px; }
.reward-cash { display:grid;grid-template-columns:1fr 1fr;gap:40px; }
.reward-cash h2 { font-size:24px;margin:8px 0 14px; }
.reward-cash p { margin:12px 0;line-height:1.6;max-width:58ch; }
.reward-cash .reward-rate { color:var(--brand);font-size:24px;font-weight:600; }
.reward-cash form { padding:24px;background:var(--surface);border-radius:10px;align-self:start; }
.reward-cash label,.reward-exchange-dialog label { display:block;font-size:14px;margin-bottom:8px; }
.reward-cash input,.reward-exchange-dialog textarea { width:100%;min-width:0;min-height:44px;padding:12px;border:1px solid var(--line);border-radius:8px;font:inherit;font-size:16px;background:white; }
.reward-cash input:disabled { opacity:.6; }
.reward-cash-estimate { font-size:18px; }
.reward-cash-estimate strong { font-size:24px; }
.reward-requests { display:grid;gap:14px; }
.reward-request { background:white;border:1px solid var(--line);border-radius:12px;padding:20px;min-width:0; }
.reward-request-heading { display:flex;align-items:start;justify-content:space-between;gap:16px; }
.reward-request h3 { font-size:17px; }
.reward-request p { margin-top:8px;font-size:14px;overflow-wrap:anywhere;white-space:pre-line; }
.reward-request-heading p { font-size:12px;color:var(--muted); }
.reward-request-value { font-weight:600; }
.reward-status { display:inline-block;padding:6px 10px;background:var(--surface);border:1px solid var(--line);border-radius:6px;font-size:12px;white-space:nowrap; }
.reward-status[data-status=completed] { color:#2b6243;background:#eef7f0;border-color:#d9e8dc; }
.reward-status[data-status=rejected],.reward-status[data-status=cancelled] { color:#68656e; }
.reward-request .text-link { margin-top:16px;min-height:44px; }
.reward-resolution { padding:12px;background:var(--surface);border-radius:6px; }
.reward-exchange-dialog { width:min(540px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;padding:28px;border:1px solid var(--line);border-radius:14px;color:var(--ink);background:white; }
.reward-exchange-dialog::backdrop { background:#16131a80; }
.reward-dialog-heading { display:flex;align-items:start;justify-content:space-between;gap:16px;margin-bottom:20px; }
.reward-dialog-heading h2 { font-size:24px; }
.reward-dialog-heading button { min-height:44px; }
.reward-exchange-dialog h3 { font-size:18px; }
.reward-exchange-dialog p { font-size:14px;line-height:1.6;margin:14px 0; }
.reward-exchange-dialog .help { font-size:12px;color:var(--muted); }
.reward-exchange-dialog .btn { min-height:44px;white-space:normal; }
.reward-confirm-details { margin:18px 0;padding:16px 0;border-block:1px solid var(--line); }
.reward-confirm-details>div { display:flex;justify-content:space-between;gap:20px;margin:10px 0;font-size:14px; }
.reward-confirm-details dd { margin:0;font-weight:600;text-align:right; }
.reward-inline-error { color:#a51e22;line-height:1.5;margin-top:12px; }
.reward-inline-error:empty { display:none; }
.reward-tabs button:focus-visible,.reward-exchange-dialog :is(button,input,textarea):focus-visible,.reward-cash :is(button,input):focus-visible { outline:2px solid var(--brand);outline-offset:3px; }
@media(max-width:1100px) { .reward-gift-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:800px) { .reward-gift-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.reward-cash { grid-template-columns:1fr;gap:16px; } }
@media(max-width:479px) { .reward-gift-grid { grid-template-columns:1fr; }.reward-gift-photo { height:180px; }.reward-request { padding:16px; }.reward-request-heading { flex-wrap:wrap; }.reward-exchange-dialog { padding:20px; }.reward-confirm-details>div { gap:12px; }.reward-cash form { padding:16px; }.reward-tabs { gap:0; }.reward-tabs button { padding:10px 12px; } }
.reward-tabs button[aria-pressed=true] { background:var(--brand);color:white;border-color:var(--brand); }
.reward-ledger { margin-top:24px;border-top:1px solid var(--line);padding-top:20px; }
.reward-ledger summary { cursor:pointer;font-weight:600;padding:12px 0; }
.reward-ledger-list>div { display:flex;justify-content:space-between;align-items:start;gap:20px;padding:16px 0;border-bottom:1px solid var(--line);font-size:14px; }
.reward-ledger-list small { display:block;margin-top:5px;color:var(--muted);font-size:12px; }
.reward-ledger-list p { margin-top:8px;overflow-wrap:anywhere;font-size:12px; }
.reward-ledger-list>div>strong { flex:none;font-variant-numeric:tabular-nums; }
