/* Ticket geometry follows the approved orange bundle reference. */
.sf-voucher-popup{--sf-voucher-accent:#d52c00;--sf-voucher-on-accent:white;--sf-voucher-value:#bc2700;position:fixed;inset:0;width:min(380px,calc(100% - 40px));max-width:none;max-height:calc(100dvh - 24px);margin:auto;padding:0;border:0;background:transparent;color:white;overflow:visible}
.sf-voucher-popup[open]{display:flex;flex-direction:column;align-items:center;gap:14px;animation:sf-voucher-enter 280ms cubic-bezier(.16,1,.3,1)}.sf-voucher-popup::backdrop{background:#000b}.sf-voucher-popup>h2{flex:none;font:600 24px/1.25 Barlow,Arial,sans-serif;color:white;text-align:center;margin:0}.sf-voucher-bundle{width:100%;min-height:0;overflow:auto;overscroll-behavior:contain;padding:18px 14px 14px;background:var(--sf-voucher-accent);border-radius:16px;scrollbar-width:thin;scrollbar-color:#ffffff80 transparent}.sf-voucher-bundle>header{text-align:center;color:var(--sf-voucher-on-accent);margin-bottom:16px}.sf-voucher-bundle h3{font:600 30px/1.15 Barlow,Arial,sans-serif;margin:0}.sf-voucher-bundle header p{font:400 15px/1.4 Barlow,Arial,sans-serif;margin:5px 0 0}.sf-voucher-tickets{display:grid;gap:10px}.sf-voucher-ticket{position:relative;min-height:110px;padding:12px 18px 3px;background:white;color:var(--ink);border-radius:10px;text-align:center;overflow:hidden}.sf-voucher-ticket:before,.sf-voucher-ticket:after{content:'';position:absolute;top:calc(50% - 7px);width:14px;height:14px;border-radius:50%;background:var(--sf-voucher-accent)}.sf-voucher-ticket:before{left:-7px}.sf-voucher-ticket:after{right:-7px}.sf-voucher-ticket h4{font:600 27px/1.1 Barlow,Arial,sans-serif;margin:0;color:var(--sf-voucher-value);font-variant-numeric:tabular-nums}.sf-voucher-ticket h4 small{font-size:15px;font-weight:500;margin-left:3px}.sf-voucher-ticket p{font:400 13px/1.4 Barlow,Arial,sans-serif;margin:5px 0 0}.sf-voucher-ticket button{display:inline-flex;align-items:center;min-height:44px;padding:7px 10px;border:0;background:none;color:#626760;font:400 12px/1.4 Barlow,Arial,sans-serif;text-decoration:underline;text-underline-offset:3px;cursor:pointer}.sf-voucher-claim{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;min-height:48px;margin-top:12px;padding:10px 16px;border:0;border-radius:28px;background:#202320;color:white;font:600 17px/1.4 Barlow,Arial,sans-serif;cursor:pointer}.sf-voucher-claim:disabled{cursor:wait;opacity:.65}.sf-voucher-claim svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2}.sf-voucher-popup-status{font:400 13px/1.5 Barlow,Arial,sans-serif;text-align:center;color:var(--sf-voucher-on-accent);margin:10px 0 0}.sf-voucher-popup-status[hidden]{display:none}.sf-voucher-popup-close{display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border:1px solid white;border-radius:50%;background:transparent;color:white;cursor:pointer}.sf-voucher-popup-close svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.5}.sf-voucher-popup button:focus-visible{outline:2px solid white;outline-offset:3px}.sf-voucher-ticket button:focus-visible{outline-color:var(--ink)}
.sf-voucher-launch{position:fixed;right:20px;bottom:24px;z-index:85;display:flex;align-items:center;gap:8px;min-height:44px;padding:10px 16px;border:0;border-radius:0;background:#202320;color:white;font:500 14px/1.4 Barlow,Arial,sans-serif;cursor:pointer;box-shadow:0 6px 20px #0002}.sf-voucher-launch[hidden]{display:none}.sf-voucher-launch svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5}
.sf-voucher-terms,.sf-voucher-wallet{position:fixed;inset:0;width:min(480px,calc(100% - 32px));max-width:none;max-height:85dvh;margin:auto;padding:0;border:0;background:white;color:var(--ink);overflow:auto;overscroll-behavior:contain}.sf-voucher-terms::backdrop,.sf-voucher-wallet::backdrop{background:#0008}.sf-voucher-terms>header,.sf-voucher-wallet>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 24px}.sf-voucher-terms h2,.sf-voucher-wallet h2{font:500 23px/1.3 Barlow,Arial,sans-serif;margin:0}.sf-voucher-terms header button,.sf-voucher-wallet header button{display:grid;place-items:center;width:44px;height:44px;flex:none;padding:0;border:0;background:none;cursor:pointer}.sf-voucher-terms svg,.sf-voucher-wallet svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.5}.sf-voucher-terms>p{font:400 15px/1.7 Barlow,Arial,sans-serif;padding:0 24px;margin:0}.sf-voucher-terms-done{display:block;width:calc(100% - 48px);min-height:48px;margin:24px;padding:12px;border:0;background:var(--ink);color:white;font:500 15px/1.4 Barlow,Arial,sans-serif;cursor:pointer}
.sf-voucher-wallet-content{padding:0 24px 24px}.sf-wallet-tickets{display:grid;gap:12px}.sf-wallet-empty{font:400 14px/1.5 Barlow,Arial,sans-serif;color:var(--muted)}
.sf-voucher-wallet-status{padding:0 24px 20px;font-size:14px;color:#20543b;margin:0}.sf-voucher-wallet-status[hidden]{display:none}
.sf-voucher-auto-control{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px;margin-top:16px;font:400 14px/1.4 Barlow,Arial,sans-serif;cursor:pointer}
.sf-voucher-auto-control input{appearance:none;position:relative;flex:none;width:40px;height:24px;margin:0;border:0;border-radius:14px;background:#aebdb2;cursor:pointer}
.sf-voucher-auto-control input:before{content:'';position:absolute;top:2px;left:2px;width:20px;height:20px;border-radius:50%;background:white;transition:transform 120ms ease-out}
.sf-voucher-auto-control input:checked{background:#20543b}.sf-voucher-auto-control input:checked:before{transform:translateX(16px)}.sf-voucher-auto-control input:disabled{opacity:.6;cursor:wait}
.sf-voucher-wallet :focus-visible{outline:2px solid #20543b;outline-offset:2px}
@media(forced-colors:active){.sf-voucher-auto-control input{appearance:auto}.sf-voucher-auto-control input:before{display:none}}
@keyframes sf-voucher-enter{from{opacity:.8;transform:scale(.985)}to{opacity:1;transform:none}}
@media(max-width:600px){.sf-voucher-popup{width:calc(100% - 32px);gap:12px}.sf-voucher-popup>h2{font-size:23px}.sf-voucher-bundle{padding:16px 12px 12px;border-radius:16px}.sf-voucher-bundle h3{font-size:29px}.sf-voucher-ticket{min-height:108px}.sf-voucher-terms,.sf-voucher-wallet{inset:auto 0 0;width:100%;max-height:90dvh;margin:0;border-radius:20px 20px 0 0;padding-bottom:env(safe-area-inset-bottom)}.sf-voucher-launch{right:16px;bottom:calc(16px + env(safe-area-inset-bottom))}}
@media(max-height:640px){.sf-voucher-popup{gap:8px}.sf-voucher-bundle{max-height:calc(100dvh - 112px)}.sf-voucher-popup>h2{font-size:21px}.sf-voucher-ticket{min-height:96px}}
@media(prefers-reduced-motion:reduce){.sf-voucher-popup[open]{animation:none}}

@media(min-width:981px){.sf-voucher-popup{width:min(480px,calc(100% - 48px))}.sf-voucher-popup>h2{font-size:28px}.sf-voucher-bundle{padding:22px 16px 16px}.sf-voucher-bundle h3{font-size:35px}.sf-voucher-ticket{min-height:124px;padding-top:15px}.sf-voucher-ticket h4{font-size:32px}.sf-voucher-ticket p{font-size:14px}.sf-voucher-claim{min-height:54px;font-size:18px}}

.sf-voucher-launch-badge{position:absolute;top:-8px;right:-8px;display:grid;place-items:center;min-width:24px;height:24px;padding:0 5px;border:2px solid white;border-radius:50%;background:#c62828;color:white;font:600 12px/1 Barlow,Arial,sans-serif;font-variant-numeric:tabular-nums;pointer-events:none}.sf-voucher-launch-badge[hidden]{display:none}

/* Compact inline tickets in the bag; the next ticket remains visible as a swipe cue. */
.sf-bag-deals{margin-top:16px;padding-top:16px;border-top:1px solid #e2e5df}
.sf-bag-deals>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.sf-bag-deals h3{margin:0;font:500 17px/1.4 Barlow,Arial,sans-serif}
.sf-bag-deals>header button{display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;background:none;color:var(--sf-commerce-green-ink,#20543b)}
.sf-bag-deals>header svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5}
.sf-bag-voucher-rail{display:grid;grid-auto-flow:column;grid-auto-columns:calc(100% - 24px);gap:12px;overflow-x:auto;padding:2px 0 6px;scroll-snap-type:x proximity;overscroll-behavior-x:contain;scrollbar-width:none}
.sf-bag-voucher{--sf-voucher-stub:62px;mask:radial-gradient(6px at calc(var(--sf-voucher-stub) + 1px) 0,transparent 5.5px,#000 6px) top/100% 51% no-repeat,radial-gradient(6px at calc(var(--sf-voucher-stub) + 1px) 100%,transparent 5.5px,#000 6px) bottom/100% 51% no-repeat;display:grid;grid-template-columns:var(--sf-voucher-stub) minmax(0,1fr) 70px;align-items:center;gap:10px;min-height:112px;padding-right:12px;overflow:hidden;border:1px solid #c8dfd0;border-radius:12px;background:#e8f3ec;color:#20543b;scroll-snap-align:start}
.sf-bag-voucher-stub{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;align-self:stretch;gap:6px;padding:12px 4px;border-right:1px dashed #9ebfab}
.sf-bag-voucher-stub svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.5}
.sf-bag-voucher-stub span{font:500 11px/1.3 Barlow,Arial,sans-serif}
.sf-bag-voucher-copy{min-width:0;padding:12px 0}
.sf-bag-voucher-copy button{display:flex;flex-direction:column;justify-content:center;gap:5px;min-height:64px;width:100%;padding:0;border:0;background:none;color:inherit;text-align:left;cursor:pointer}
.sf-bag-voucher-copy strong{font:600 21px/1.15 Barlow,Arial,sans-serif;font-variant-numeric:tabular-nums}
.sf-bag-voucher-copy span{font:400 13px/1.4 Barlow,Arial,sans-serif}
.sf-bag-dialog .sf-bag-voucher-action,.sf-voucher-wallet .sf-bag-voucher-action{min-height:44px;width:100%;padding:9px 6px;border:0;border-radius:24px;background:#20543b;color:white;font:600 14px/1.3 Barlow,Arial,sans-serif}
.sf-bag-dialog .sf-bag-voucher-action:hover:not(:disabled),.sf-voucher-wallet .sf-bag-voucher-action:hover:not(:disabled){background:#143c29}
.sf-bag-dialog .sf-bag-voucher-action:disabled,.sf-voucher-wallet .sf-bag-voucher-action:disabled{background:#d3e6da;color:#20543b;cursor:default}
.sf-bag-voucher-status{margin:8px 0 0;font:400 13px/1.5 Barlow,Arial,sans-serif;color:#20543b}
.sf-bag-voucher-status[hidden]{display:none}
.sf-bag-deals button:focus-visible,.sf-bag-voucher-rail:focus-visible{outline:2px solid #20543b;outline-offset:-2px}
.sf-bag-voucher-status.sf-is-error{color:var(--error,#a1202b)}

@media(max-width:600px){.sf-voucher-launch{display:grid;place-items:center;width:48px;height:48px;min-height:48px;padding:0;gap:0;border-radius:50%}.sf-voucher-launch-label{display:none}.sf-voucher-launch>svg{width:22px;height:22px}}

.sf-voucher-launch.sf-voucher-at-footer{display:none}

.sf-wallet-ticket .sf-bag-voucher-copy small{font:400 11px/1.4 Barlow,Arial,sans-serif;text-decoration:underline;text-underline-offset:3px}.sf-wallet-ticket .sf-bag-voucher-action{font-size:13px}

.sf-voucher-wallet-status.sf-is-error{color:var(--error,#a1202b)}

.sf-bag-voucher-rail::-webkit-scrollbar{display:none;width:0;height:0}

/* One compact ticket component for visible bag and checkout offers. */
.sf-bag-deals .sf-bag-voucher,.sf-checkout-voucher .sf-bag-voucher{--sf-voucher-stub:46px;grid-template-columns:var(--sf-voucher-stub) minmax(0,1fr) 68px;gap:8px;min-height:88px;padding-right:10px}
.sf-bag-deals .sf-bag-voucher-copy,.sf-checkout-voucher .sf-bag-voucher-copy{padding:8px 0}
.sf-bag-deals .sf-bag-voucher-copy button,.sf-checkout-voucher .sf-bag-voucher-copy button{min-height:56px;gap:4px}
.sf-bag-deals .sf-bag-voucher-copy strong,.sf-checkout-voucher .sf-bag-voucher-copy strong{font-size:18px}
.sf-bag-deals .sf-bag-voucher-stub,.sf-checkout-voucher .sf-bag-voucher-stub{gap:4px;padding:8px 2px}
.sf-bag-deals .sf-bag-voucher-stub svg,.sf-checkout-voucher .sf-bag-voucher-stub svg{width:20px;height:20px}
.sf-checkout-voucher .sf-bag-voucher-action{min-height:44px;width:100%;padding:8px 5px;border:0;border-radius:24px;background:#20543b;color:white;font:600 13px/1.3 Barlow,Arial,sans-serif;cursor:pointer}
.sf-checkout-voucher .sf-bag-voucher-action:hover:not(:disabled){background:#143c29}
.sf-checkout-voucher .sf-bag-voucher-action:disabled{background:#d3e6da;color:#20543b;cursor:default}
.sf-checkout-voucher-cards:not(:empty){margin:0 0 14px}
.sf-checkout-voucher .sf-bag-voucher-rail{grid-auto-columns:calc(100% - 24px)}
.sf-checkout-voucher .sf-voucher-view-all{display:inline-flex;gap:6px;align-items:center;font-size:13px!important;font-weight:400}
.sf-voucher-view-all svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;transform:rotate(-90deg)}
