/* Customer Voucher Wallet — isolated to avoid changing existing WoodMart/game styles. */
.sos-wallet-launch[hidden],.sos-wallet-overlay[hidden]{display:none!important}
.sos-wallet-launch{position:fixed;bottom:22px;left:18px;z-index:999980;border:0;border-radius:999px;padding:12px 17px;font-family:inherit;font-weight:700;font-size:13px;line-height:1.3;background:#17488f;color:white;box-shadow:0 8px 26px #0003;cursor:pointer;max-width:calc(100vw - 36px)}
.sos-wallet-launch:hover,.sos-wallet-launch:focus-visible{background:#0e3772;color:#fff;outline-offset:3px}
.sos-wallet-count{font-weight:600}
.sos-wallet-overlay{position:fixed;inset:0;background:rgba(10,19,40,.65);z-index:999999;display:grid;place-items:center;padding:14px}
.sos-wallet-panel{box-sizing:border-box;background:#fff;color:#18263a;width:min(560px,100%);max-height:min(88vh,790px);overflow:auto;overscroll-behavior:contain;border-radius:18px;box-shadow:0 18px 65px #0005;padding:0;outline:0;font:inherit}
.sos-wallet-panel *,.sos-wallet-inline *{box-sizing:border-box}
.sos-wallet-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:22px 22px 14px;background:linear-gradient(120deg,#edf4ff,#fff)}
.sos-wallet-header h2{margin:0!important;font-size:24px!important;font-weight:800!important;color:#132944!important}
.sos-wallet-header p{margin:4px 0 0!important;color:#52617a!important;font-size:13px!important}
.sos-wallet-close{flex:0 0 38px!important;height:38px!important;width:38px!important;border:1px solid #d5ddec!important;border-radius:12px!important;color:#203049!important;background:white!important;font-size:26px!important;line-height:1!important;cursor:pointer}
.sos-wallet-content{padding:15px 22px 24px}
.sos-wallet-inline{margin:24px 0;padding:18px;border:1px solid #d8e3f2;border-radius:16px;background:#f8fbff;color:#17243a}
.sos-wallet-inline>h3{color:#17243a;margin:0 0 12px!important;font-size:20px!important}
.sos-wallet-inline .sos-wallet-content{padding:0}
.sos-wallet-summary{margin:0 0 10px!important;font-weight:700;color:#234b83}
.sos-wallet-item{padding:16px;border:1px solid #d5e0ef;border-radius:14px;margin:10px 0;background:#fff;color:#17243a}
.sos-wallet-item-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;flex-wrap:wrap}
.sos-wallet-offer-title{display:block;font-size:15px;color:#17243a}
.sos-wallet-value{font-size:18px;line-height:1.5;font-weight:800;color:#124c9b}
.sos-wallet-status{display:inline-block;font-size:11px!important;font-weight:750;border-radius:100px;padding:5px 9px;background:#e9f2ff;color:#194b86}
.sos-wallet-status-applied{background:#e1f7e9;color:#146039}
.sos-wallet-status-pending{background:#fff3d4;color:#7a4e00}
.sos-wallet-status-expired,.sos-wallet-status-used{background:#f1f2f4;color:#62676e}
.sos-wallet-date{font-size:12px;color:#66748a;margin:6px 0 10px}
.sos-wallet-code-line{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.sos-wallet-code{display:inline-block;font:700 14px/1.4 ui-monospace,SFMono-Regular,Consolas,monospace!important;letter-spacing:.3px;padding:10px 12px;border:1px dashed #b7c7df;border-radius:8px;background:#f5f8fd;color:#142945!important;overflow-wrap:anywhere}
.sos-wallet-copy,.sos-wallet-reload{border:1px solid #b3c8e1!important;background:white!important;color:#174b8d!important;padding:8px 11px!important;border-radius:9px!important;min-height:38px;cursor:pointer;font-size:12px!important;font-weight:700!important}
.sos-wallet-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:12px}
.sos-wallet-apply{border:0!important;background:#1559b8!important;color:#fff!important;border-radius:10px!important;font-weight:800!important;padding:10px 15px!important;cursor:pointer;min-height:39px;font-size:13px!important}
.sos-wallet-apply:hover{background:#0c4291!important}.sos-wallet-apply:disabled{opacity:.65;cursor:default}
.sos-wallet-shop{color:#1559a3!important;font-weight:700!important;font-size:13px;text-decoration:underline!important}
.sos-wallet-message{font-size:12px;color:#335b8b;margin:8px 0 0!important}
.sos-wallet-privacy{font-size:12px;line-height:1.5;color:#66748a;margin:18px 0 12px!important}
.sos-wallet-history{margin:18px 0;border-top:1px solid #e0e6ee;padding-top:10px}
.sos-wallet-history>summary{font-size:13px;font-weight:700;cursor:pointer;color:#51647f}
.sos-wallet-inactive{opacity:.82;background:#fafbfd}
.sos-wallet-empty{padding:18px 12px;color:#52647b;background:#f5f9ff;border-radius:9px;font-size:14px}
.sos-wallet-error{color:#9a2828;font-weight:700}
body.sos-wallet-locked{overflow:hidden}
.sos-gift-wallet-link{display:inline-flex!important;margin:10px 0 0!important;min-height:35px;align-items:center;justify-content:center;background:transparent!important;border:1px solid currentColor!important;border-radius:9px!important;color:inherit!important;padding:8px 12px!important;text-decoration:none!important;font-size:13px!important;cursor:pointer}
@media(max-width:600px){.sos-wallet-launch{left:10px;bottom:12px;padding:10px 12px}.sos-wallet-header{padding:18px 15px 12px}.sos-wallet-content{padding:12px 14px 20px}.sos-wallet-panel{max-height:89dvh}.sos-wallet-item{padding:12px}.sos-wallet-overlay{padding:10px}}
@media(prefers-reduced-motion:reduce){.sos-wallet-launch{scroll-behavior:auto}}

/* Keep the wallet tab clear of a merchant-positioned lower-left gift launcher. */
body:has(.sos-gift-widget[data-position="bottom-left"]) .sos-wallet-launch{bottom:112px}

/* v0.8.14 on-site expiry reminders; high contrast in light and dark WoodMart themes. */
.sos-wallet-expiring{border-color:#deb86b;background:#fffdf7}
.sos-wallet-reminder{margin:6px 0 12px;padding:10px 12px;border-left:4px solid #a45c00;border-radius:6px;background:#fff1d6;color:#563100;font-size:13px;line-height:1.5;font-weight:700}
.sos-wallet-expiry-summary{margin:7px 0 14px!important;padding:12px 14px;border:1px solid #f0cf8a;border-radius:9px;background:#fff8e8;color:#654000!important;font-weight:700;font-size:13px;line-height:1.5}
.sos-wallet-launch.sos-wallet-has-expiring{box-shadow:0 8px 26px #0003,0 0 0 2px #f6c34a}
@media(max-width:600px){.sos-wallet-reminder,.sos-wallet-expiry-summary{font-size:12px}}
