/* A focused top-up sheet: account, amount, payment, then a persistent total. */
#product-dialog .guest-checkout{margin-top:14px}#product-dialog .guest-checkout[hidden]{display:none}#product-dialog .guest-checkout .field{margin-top:10px}#product-dialog .guest-checkout a{color:#081833;text-decoration:underline;text-underline-offset:2px}#product-dialog .buyer-mode{display:flex;gap:4px;padding:4px;border-radius:12px;background:#f5f8ff}#product-dialog .buyer-mode label{flex:1;position:relative;display:block;margin:0;cursor:pointer}#product-dialog .buyer-mode label[hidden]{display:none}#product-dialog .buyer-mode input{position:absolute;opacity:0;width:1px;height:1px}#product-dialog .buyer-mode span{display:flex;align-items:center;justify-content:center;min-height:40px;padding:8px;border-radius:9px;font-size:13px;font-weight:700;color:#626b79}#product-dialog .buyer-mode input:checked+span{background:#fff;color:#081833;box-shadow:0 1px 4px #0818331a}#product-dialog .buyer-mode input:focus-visible+span{outline:3px solid var(--topup-green);outline-offset:2px}#product-dialog .buyer-login{margin:8px 0 0;font-size:12px;color:var(--topup-muted)}#product-dialog [aria-invalid=true]{border-color:#c2412f!important;box-shadow:0 0 0 1px #c2412f}.guest-order-list{display:grid;gap:12px;padding:20px}.guest-order-list a{display:grid;gap:6px;padding:16px;border:1px solid #dce5f2;border-radius:14px;color:#081833;text-decoration:none;background:#fff}.guest-order-list small{color:#626b79}
#product-dialog{
  --topup-ink:#081833;--topup-muted:#626b79;--topup-green:#081833;
  --topup-soft:#f5f8ff;--topup-yellow:#0854d4;--topup-line:#dce5f2;
  width:calc(100% - 20px);max-width:440px;max-height:min(760px,calc(100dvh - 32px));
  padding:0;border:1px solid #ffffff;border-radius:24px;background:#fff;
  color:var(--topup-ink);overflow:clip;box-shadow:0 24px 80px #08183340;
}
#product-dialog::backdrop{background:#0818335c;backdrop-filter:blur(5px)}
body:has(#product-dialog[open]){overflow:hidden}
#product-dialog #order-form{display:flex;flex-direction:column;max-height:min(758px,calc(100dvh - 34px));margin:0}
#product-dialog .topup-header{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0;padding:12px 16px 12px 20px;border-bottom:1px solid var(--topup-line)}
#product-dialog #product-heading{display:flex;align-items:center;gap:12px;margin:0;min-width:0;flex:1}
#product-dialog #product-heading img,#product-dialog #product-heading>.product-letter{width:44px;height:44px;flex-shrink:0;border-radius:14px;object-fit:cover}
#product-dialog #product-heading>div{min-width:0}
#product-dialog #product-heading span{font-size:12px;font-weight:500;color:var(--topup-muted)}
#product-dialog #product-heading h2{font-size:16px;line-height:1.35;letter-spacing:-.3px;margin:3px 0 0;overflow-wrap:anywhere;color:var(--topup-ink)}
#product-dialog .topup-header .close{position:static;display:inline-flex;align-items:center;justify-content:center;gap:7px;flex-shrink:0;width:auto;min-width:70px;min-height:44px;height:auto;padding:9px 11px;border:1px solid #dce5f2;border-radius:10px;background:#ffffff;color:var(--topup-green);font-size:12px;font-weight:700;line-height:1.2}
#product-dialog .topup-header .close:hover{background:#f5f8ff;border-color:#bfd6ff}
#product-dialog .topup-header .close svg{width:15px;height:15px;stroke-width:2;flex-shrink:0}
#product-dialog .topup-body{padding:16px 20px 0;overflow-y:auto;min-height:0;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#bfd6ff transparent;scroll-padding:16px}
#product-dialog .topup-section{padding:0;margin:0 0 14px;min-width:0;border:0}
#product-dialog .topup-step{display:flex;align-items:center;gap:9px;padding:0;margin:0 0 10px;font-size:14px;font-weight:700;line-height:1.5;color:var(--topup-ink)}
#product-dialog .topup-step>span{display:inline-grid;place-items:center;width:24px;height:24px;flex-shrink:0;border-radius:8px;font-size:12px;background:var(--topup-soft);color:var(--topup-green)}
#product-dialog .field{margin:10px 0 0;gap:7px;font-size:13px;font-weight:600;line-height:1.5;color:var(--topup-muted)}
#product-dialog .field[hidden],#product-dialog [hidden]{display:none}
#product-dialog .field input,#product-dialog .field select{min-width:0;width:100%;min-height:44px;box-sizing:border-box;padding:9px 12px;border:1px solid #cbd5e1;border-radius:12px;font-size:16px;line-height:1.5;background:#fff;color:var(--topup-ink);box-shadow:none}
#product-dialog input::placeholder{color:#626b79;font-weight:400}
#product-dialog :is(button,input,select,summary):focus-visible{outline:2px solid var(--topup-green);outline-offset:2px}
#product-dialog .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
#product-dialog .topup-hint,#product-dialog #id-hint{display:block;font-size:12px;line-height:1.6;color:var(--topup-muted);margin:8px 0 0}
#product-dialog .id-check-result{margin:8px 0 0;padding:0;border:0;border-radius:8px;background:transparent;font-size:12px;line-height:1.6;gap:8px;justify-content:flex-start;color:var(--topup-muted)}
#product-dialog .id-check-result:empty{display:none}
#product-dialog .id-check-result[data-state=valid]{padding:9px 11px;background:var(--topup-soft);color:var(--topup-green)}
#product-dialog .id-check-result[data-state=valid]::before{content:'✓';font-size:16px;font-weight:700}
#product-dialog .id-check-result[data-state=error]{padding:10px 12px;background:#fff1ee;color:#a12b26;flex-wrap:wrap}
#product-dialog .id-check-result[data-state=error] button{min-height:44px;padding:8px 12px;border:1px solid currentColor;border-radius:9px;background:transparent;color:inherit}
#product-dialog .options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#product-dialog .option{position:relative;display:flex;align-items:center;gap:8px;min-height:60px;padding:10px;border:1px solid #cbd5e1;border-radius:13px;background:#fff;color:var(--topup-ink);font-size:13px;line-height:1.45;cursor:pointer;box-sizing:border-box}
#product-dialog .option:only-child{grid-column:1/-1}
#product-dialog .option>span{min-width:0;overflow-wrap:anywhere;font-weight:600;padding-right:30px}
#product-dialog .option input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
#product-dialog .option small{font-size:12px;color:var(--topup-muted);margin-top:3px;font-weight:500;font-variant-numeric:tabular-nums}
#product-dialog .option:has(input:checked){background:var(--topup-soft);border-color:var(--topup-green);box-shadow:none}
#product-dialog .option:has(input:checked)::before{content:'';position:absolute;right:10px;top:10px;width:20px;height:20px;border-radius:50%;background:var(--topup-green)}
#product-dialog .option:has(input:checked)::after{content:'';position:absolute;right:17px;top:13px;width:5px;height:10px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
#product-dialog .option:has(input:focus-visible){outline:none}
#product-dialog .option:has(input:focus-visible)::before{box-shadow:0 0 0 3px #bfd6ff80}
#product-dialog .option:has(input:checked) small{color:var(--topup-ink)}
#product-dialog .payment-field{margin:0}
#product-dialog .payment-list{display:grid;gap:9px}
#product-dialog .payment-option{display:flex;align-items:center;gap:9px;min-height:60px;padding:10px;border:1px solid #cbd5e1;border-radius:13px;cursor:pointer;background:#fff}
#product-dialog .payment-option input{order:3;margin:0;width:17px;height:17px;flex-shrink:0;accent-color:var(--topup-green)}
#product-dialog .payment-price{margin-left:auto;text-align:right;flex-shrink:0;max-width:45%;display:grid;gap:3px}
#product-dialog .payment-price strong{font-size:13px;color:var(--topup-green);line-height:1.4}
#product-dialog .payment-price small{font-size:11px;line-height:1.45;color:var(--topup-muted)}
#product-dialog .payment-symbol{display:grid;place-items:center;width:32px;height:32px;flex-shrink:0;border-radius:11px;background:var(--topup-soft);color:var(--topup-green)}
#product-dialog .payment-symbol svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
#product-dialog .payment-copy{min-width:0;display:grid;gap:3px}
#product-dialog .payment-copy strong{font-size:13px;line-height:1.4;color:var(--topup-ink);overflow-wrap:anywhere}
#product-dialog .payment-copy small{font-size:12px;line-height:1.5;color:var(--topup-muted)}
#product-dialog .payment-option:has(input:checked){background:var(--topup-soft);border-color:var(--topup-green);box-shadow:inset 0 0 0 1px var(--topup-green)}
#product-dialog .payment-option:has(input:checked) .payment-symbol{background:#dce5f2}
#product-dialog .payment-option:has(input:focus-visible){outline:2px solid var(--topup-green);outline-offset:2px}
#product-dialog .payment-option.unavailable{opacity:.6;cursor:not-allowed}
#product-dialog .payment-more{margin-top:9px}
#product-dialog .payment-more summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;cursor:pointer;font-size:13px;font-weight:600;color:var(--topup-green);list-style:none;padding:4px}
#product-dialog .payment-more summary::-webkit-details-marker{display:none}
#product-dialog .payment-more[open] summary>span:last-child{transform:rotate(180deg)}
#product-dialog .payment-more .payment-list{padding-top:7px}
#product-dialog .wallet-summary{display:flex;align-items:center;gap:8px;margin:10px 0 0;padding:10px 12px;border-radius:10px;background:#f5f8ff;color:var(--topup-muted);font-size:12px;line-height:1.6}
#product-dialog .coupon-field{margin:0;border-top:1px solid #dce5f2;padding:0 0 12px}
#product-dialog .coupon-field summary{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:48px;list-style:none;cursor:pointer;font-size:13px;font-weight:600;color:var(--topup-green)}
#product-dialog .coupon-field summary::-webkit-details-marker{display:none}
#product-dialog .promo-toggle{display:grid;place-items:center;width:28px;height:28px;flex-shrink:0;border-radius:8px;background:#f5f8ff;color:var(--topup-green)}
#product-dialog .promo-toggle svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
#product-dialog .coupon-field[open] .promo-toggle-vertical{display:none}
#product-dialog .coupon-field summary:focus{outline:none}
#product-dialog .coupon-field summary:focus-visible .promo-toggle{outline:2px solid var(--topup-green);outline-offset:2px}
#product-dialog .coupon-field summary:hover .promo-toggle{background:#f5f8ff}
#product-dialog .coupon-controls{display:flex;align-items:stretch;gap:8px;padding:0 0 8px}
#product-dialog .coupon-controls .field{flex:1;min-width:0;margin:0}
#product-dialog #apply-coupon{width:auto;min-height:48px;padding:10px 13px;border:1px solid #cbd5e1;border-radius:12px;color:var(--topup-green);background:var(--topup-soft);font-size:13px;font-weight:600}
#product-dialog #coupon-result{padding:0;margin:0 0 8px;font-size:12px;line-height:1.6;color:var(--topup-green)}
#product-dialog #coupon-result[data-state=error]{color:#a12b26}
#product-dialog .topup-footer{flex-shrink:0;padding:10px 20px max(10px,env(safe-area-inset-bottom));border-top:1px solid var(--topup-line);background:#fff;box-shadow:0 -4px 16px #08183305}
#product-dialog .total{display:flex;flex-wrap:wrap;align-items:center;gap:4px 16px;justify-content:space-between;padding:0;margin:0 0 12px;font-size:13px;color:var(--topup-muted)}
#product-dialog .total strong{font-size:20px;line-height:1.25;letter-spacing:-.5px;color:var(--topup-green);font-variant-numeric:tabular-nums}
#product-dialog .primary{min-height:44px;padding:10px 14px;border:0;border-radius:12px;background:var(--topup-yellow);color:var(--topup-ink);font-size:14px;font-weight:700;line-height:1.5}
#product-dialog .primary:disabled{background:#f5f8ff;color:#626b79;opacity:1;cursor:not-allowed;transform:none;box-shadow:none}
#product-dialog .topup-footer>.topup-hint{text-align:center;font-size:11px;margin-top:8px}
#product-dialog #order-result:not(:empty){padding:10px 12px;margin-top:10px;border-radius:10px;background:#f5f8ff;color:#a12b26;font-size:12px;line-height:1.5;max-height:90px;overflow:auto}
@media(max-width:380px){#product-dialog .topup-header{padding-left:18px}#product-dialog .topup-body{padding:18px 18px 0}#product-dialog .topup-footer{padding-left:18px;padding-right:18px}#product-dialog #product-heading h2{font-size:16px}}
@media(max-height:560px){#product-dialog .topup-header{padding-top:12px;padding-bottom:12px}#product-dialog .topup-footer{padding-top:10px;padding-bottom:10px}#product-dialog .topup-footer>.topup-hint{display:none}}
@media(prefers-reduced-motion:reduce){#product-dialog,#product-dialog *{animation:none!important;transition:none!important}}
@media(prefers-reduced-transparency:reduce){#product-dialog::backdrop{backdrop-filter:none;background:#232933}}

/* SaldoHiggs vouchers: a warm ticket, one applied state, and a quiet manual fallback. */
#product-dialog .checkout-promos{--voucher-paper:#f5f8ff;--voucher-ink:#081833;--voucher-rule:#bfd6ff;margin:4px 0 6px;padding:0;min-width:0}
#product-dialog .voucher-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px}
#product-dialog .voucher-heading h3{display:flex;align-items:center;gap:8px;margin:0;font-size:14px;line-height:1.5;color:var(--topup-ink)}
#product-dialog .voucher-heading h3>span{color:#0645ad;font-size:19px}
#product-dialog #voucher-count{font-size:12px;color:var(--topup-muted);white-space:nowrap}
#product-dialog .voucher-ticket{position:relative;border:1px solid var(--voucher-rule);border-radius:16px;background:var(--voucher-paper);margin:0 0 10px;overflow:hidden;text-align:left}
#product-dialog .voucher-main{display:flex;align-items:center;gap:14px;padding:16px;background:radial-gradient(circle at 100% 0,#0854d43b,transparent 55%)}
#product-dialog .voucher-stamp{display:grid;place-items:center;flex-shrink:0;width:46px;height:54px;border-radius:13px;background:var(--voucher-ink);color:#0854d4;transform:rotate(-7deg);box-shadow:4px 4px 0 #bfd6ff66}
#product-dialog .voucher-stamp svg{width:29px;height:29px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
#product-dialog .voucher-copy{display:grid;gap:4px;min-width:0;flex:1;color:var(--voucher-ink);overflow-wrap:anywhere}
#product-dialog .voucher-copy .voucher-eyebrow{font-size:11px;font-weight:700;letter-spacing:1.1px;color:#081833}
#product-dialog #active-saving,#product-dialog .voucher-saving{font-size:26px;line-height:1.2;letter-spacing:-.8px;font-weight:800;font-variant-numeric:tabular-nums}
#product-dialog #active-title,#product-dialog .voucher-title{font-size:12px;font-weight:500;color:#081833;line-height:1.5}
#product-dialog .voucher-copy .voucher-code{display:flex;align-items:baseline;gap:7px;flex-wrap:wrap;justify-self:start;margin-top:5px;padding:4px 8px;border:1px dashed #0854d4;border-radius:6px;background:#ffffff;font-size:11px;line-height:1.5;color:#081833;letter-spacing:.6px;max-width:100%;box-sizing:border-box}
#product-dialog .voucher-code b{font-family:ui-monospace,Consolas,monospace;font-size:12px;font-weight:700;color:var(--voucher-ink);overflow-wrap:anywhere;min-width:0}
#product-dialog .voucher-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 10px 0 16px;min-height:46px;border-top:1px dashed var(--voucher-rule);position:relative;background:#ffffff;font-size:12px;font-weight:600;color:var(--voucher-ink)}
#product-dialog .voucher-foot:before,#product-dialog .voucher-foot:after{content:'';position:absolute;width:14px;height:14px;border:1px solid var(--voucher-rule);border-radius:50%;background:#fff;top:-8px}
#product-dialog .voucher-foot:before{left:-9px}#product-dialog .voucher-foot:after{right:-9px}
#product-dialog #remove-coupon{font-size:12px;font-weight:600;color:#081833;background:transparent;border:0;border-radius:8px;min-height:44px;min-width:44px;padding:8px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
#product-dialog #remove-coupon:hover{background:#dce5f2}
#product-dialog .voucher-offer{display:flex;align-items:center;gap:12px;padding:15px}
#product-dialog .voucher-mini-stamp{display:grid;place-items:center;width:36px;height:42px;flex-shrink:0;color:var(--voucher-ink);background:#bfd6ff;border-radius:9px}
#product-dialog .voucher-mini-stamp svg{width:25px;height:25px;stroke:currentColor;fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
#product-dialog .voucher-offer .voucher-copy strong{font-size:16px;line-height:1.35;letter-spacing:-.2px}
#product-dialog .voucher-offer .voucher-copy>span{font-size:12px;color:#081833;line-height:1.5}
#product-dialog .voucher-offer>button{flex-shrink:0;min-height:44px;padding:9px 13px;border:1px solid #232933;background:transparent;border-radius:10px;color:var(--voucher-ink);font-size:12px;font-weight:700;cursor:pointer}
#product-dialog .voucher-offer>button:hover{background:#dce5f2}
#product-dialog .voucher-offer>button:disabled{opacity:.6;cursor:wait}
#product-dialog .voucher-terms{margin:0;padding:0 15px 4px;color:var(--topup-muted);font-size:12px}
#product-dialog .voucher-terms summary{cursor:pointer;min-height:44px;display:flex;align-items:center;gap:6px;list-style:none;font-weight:500}
#product-dialog .voucher-terms summary:after{content:'＋';font-size:15px}
#product-dialog .voucher-terms[open] summary:after{content:'−'}
#product-dialog .voucher-terms p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;margin:0 0 8px}
#product-dialog .active-terms{padding:0 2px;margin-top:-6px}
#product-dialog .other-vouchers>summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;min-height:44px;color:var(--topup-green);font-size:12px;font-weight:600;list-style:none}
#product-dialog .checkout-promos summary::-webkit-details-marker{display:none}
#product-dialog .checkout-promos .coupon-field{border-top:0;padding:0 0 8px}
#product-dialog .checkout-promos .coupon-field>summary{font-size:12px;color:var(--topup-muted);font-weight:500;min-height:44px}
#product-dialog .checkout-promos .coupon-field[open]>summary{color:var(--topup-green)}
#product-dialog .total-amount{display:flex;gap:9px;align-items:baseline;flex-wrap:wrap;justify-content:flex-end}
#product-dialog #total-before{font-size:12px;color:var(--topup-muted);font-weight:400;text-decoration-thickness:1px}
#product-dialog .is-applied{animation:voucher-arrive .22s ease-out}
@keyframes voucher-arrive{from{opacity:.5;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
#product-dialog [hidden]{display:none!important}
#product-dialog .voucher-actions{display:flex;align-items:center;gap:2px}
#product-dialog #active-promo-detail,#product-dialog .voucher-detail-link{min-height:44px;padding:8px;border:0;background:transparent;color:#081833;font-size:12px;font-weight:600;cursor:pointer;text-decoration:underline;text-underline-offset:3px;border-radius:8px}
#product-dialog .voucher-detail-link{width:100%;display:flex;justify-content:space-between;padding:10px 16px;border-top:1px dashed #bfd6ff;text-align:left;text-decoration:none}
#product-dialog #voucher-detail-view{display:flex;flex-direction:column;max-height:min(758px,calc(100dvh - 34px));height:650px}
#product-dialog .voucher-detail-header{display:flex;align-items:center;justify-content:flex-start;gap:16px;padding:10px 20px;border-bottom:1px solid #ffffff30;flex-shrink:0}
#product-dialog .voucher-detail-header h2{margin:0;font-size:17px;letter-spacing:-.3px;color:#fff}
#product-dialog .voucher-detail-header button{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:93px;min-height:44px;padding:8px 10px;border:1px solid #ffffff45;border-radius:10px;background:#ffffff14;color:#fff;font-size:12px;font-weight:700;cursor:pointer}
#product-dialog .voucher-detail-header button:hover{background:#ffffff26}
#product-dialog .voucher-detail-header button:focus-visible{outline-color:#0854d4}
#product-dialog .voucher-detail-header button svg{width:18px;height:18px;flex-shrink:0;stroke-width:2.2}
#product-dialog .voucher-detail-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:16px 20px;scrollbar-width:thin}
#product-dialog .voucher-detail-banner{display:flex;align-items:center;gap:14px;padding:18px 16px;border:1px solid #bfd6ff;border-radius:16px;background:radial-gradient(circle at 90% 0,#0854d488,transparent 65%),#f5f8ff;color:#081833}
#product-dialog .voucher-detail-banner>div{display:grid;gap:5px;min-width:0;overflow-wrap:anywhere}
#product-dialog .voucher-detail-banner strong{font-size:24px;line-height:1.2;letter-spacing:-.8px}
#product-dialog .voucher-detail-banner .voucher-eyebrow{font-size:11px;font-weight:700;letter-spacing:1px;color:#081833}
#product-dialog .voucher-detail-banner div>span:last-child{font-size:13px;color:#081833}
#product-dialog .voucher-detail-art{flex-shrink:0;display:grid;place-items:center;width:48px;height:58px;background:#081833;color:#0854d4;border-radius:14px;transform:rotate(-9deg);box-shadow:5px 5px 0 #bfd6ff}
#product-dialog .voucher-detail-art svg{width:32px;height:32px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
#product-dialog .voucher-detail-code{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:14px 0 18px;border-bottom:1px dashed #dce5f2;font-size:12px;color:var(--topup-muted)}
#product-dialog .voucher-detail-code b{font-family:ui-monospace,Consolas,monospace;letter-spacing:1px;color:#081833;background:#f5f8ff;border:1px dashed #bfd6ff;border-radius:7px;padding:6px 10px;overflow-wrap:anywhere;max-width:100%;box-sizing:border-box}
#product-dialog .voucher-facts{display:grid;grid-template-columns:1fr 1fr;gap:18px 16px;margin:20px 0}
#product-dialog .voucher-facts dt{font-size:11px;color:var(--topup-muted);margin-bottom:5px}
#product-dialog .voucher-facts dd{font-size:13px;line-height:1.5;margin:0;font-weight:600;overflow-wrap:anywhere}
#product-dialog .voucher-detail-section{border-top:1px solid var(--topup-line);padding:18px 0 0;margin:18px 0 0}
#product-dialog .voucher-detail-section h3{font-size:14px;margin:0 0 10px}
#product-dialog .voucher-detail-section ul{font-size:12px;line-height:1.8;padding-left:18px;margin:0;color:var(--topup-muted)}
#product-dialog .voucher-detail-section li+li{margin-top:5px}
#product-dialog .voucher-admin-terms{font-size:12px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--topup-muted);margin:14px 0 0;padding:12px;background:#f5f8ff;border-radius:10px}
#product-dialog .voucher-product-list{list-style:none;padding:0!important}
#product-dialog .voucher-product-list li{padding:10px 12px;background:#f5f8ff;border-radius:10px}
#product-dialog .voucher-product-list strong,#product-dialog .voucher-product-list span{display:block}
#product-dialog .voucher-product-list strong{color:var(--topup-ink)}
#product-dialog .voucher-detail-note{font-size:11px;line-height:1.6;color:var(--topup-muted);margin:10px 0 0}
#product-dialog .voucher-detail-footer{flex-shrink:0;padding:10px 20px;border-top:1px solid var(--topup-line);background:#fff}
#product-dialog .voucher-detail-footer .primary{width:100%}
#product-dialog .voucher-detail-footer p{font-size:11px;color:var(--topup-muted);text-align:center;margin:8px 0 0}
@media(max-width:380px){#product-dialog .voucher-foot{padding:0 10px;gap:2px;font-size:11px}#product-dialog .voucher-detail-body{padding:16px}#product-dialog .voucher-detail-banner{padding:20px 14px;gap:13px}#product-dialog .voucher-detail-banner strong{font-size:24px}#product-dialog .voucher-detail-art{width:46px;height:60px}}
@media(max-width:380px){#product-dialog .voucher-main{padding:16px;gap:13px}#product-dialog #active-saving{font-size:26px}#product-dialog .voucher-stamp{width:45px;height:57px}#product-dialog .voucher-offer{padding:12px;gap:9px}#product-dialog .voucher-mini-stamp{display:none}}
/* Brand pages and nominal groups retain the original transaction option index. */
.brand-store-view{padding:24px 20px 110px}.brand-back{display:inline-block;font-size:13px;font-weight:600;color:#081833;margin-bottom:22px}.brand-store-banner{width:100%;aspect-ratio:3/1;object-fit:cover;border-radius:18px;margin-bottom:24px}.brand-store-heading{display:flex;align-items:center;gap:16px}.brand-store-heading>img,.brand-store-heading>.product-letter{width:76px;height:76px;object-fit:cover;border-radius:16px;flex-shrink:0}.brand-store-heading h1{font-size:24px;line-height:1.3;margin:6px 0;color:#081833}.brand-store-heading span{font-size:13px;color:#626b79}.brand-store-subtitle{font-size:14px;color:#626b79;margin:20px 0}.brand-start-topup{background:#0854d4;color:#081833;font:inherit;font-weight:700;border:0;border-radius:13px;width:100%;min-height:50px;padding:14px;cursor:pointer}.brand-store-description{margin-top:30px;border-top:1px solid #dce5f2;padding-top:24px}.brand-store-description h2{font-size:18px;margin-bottom:16px}.brand-store-description p{font-size:14px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.brand-store-view[hidden]{display:none}
.brand-store-view #brand-seo{min-width:0;margin-top:32px;border-top:1px solid #dce5f2;color:#232933;overflow:hidden}.brand-store-view #brand-seo section{min-width:0;padding:22px 0;border-bottom:1px solid #f5f8ff}.brand-store-view #brand-seo h2{font-size:18px;line-height:1.4;margin:0 0 14px}.brand-store-view #brand-seo p,.brand-store-view #brand-seo li{font-size:14px;line-height:1.7;overflow-wrap:anywhere}.brand-store-view #brand-seo ol{padding-left:24px}.brand-store-view #brand-seo img{display:block;max-width:100%;height:auto;margin:16px 0;border-radius:12px}.brand-store-view #brand-seo details{padding:12px 0;border-top:1px solid #f5f8ff}.brand-store-view #brand-seo summary{cursor:pointer;min-height:48px;display:flex;align-items:center;font-size:14px;line-height:1.5}.brand-store-view #brand-seo a{display:inline-flex;align-items:center;max-width:100%;min-height:44px;box-sizing:border-box;padding:5px 10px;margin:3px;border-radius:8px;background:#f5f8ff;color:#081833;font-size:14px;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
.brand-store-view .brand-breadcrumb{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:16px}.brand-store-view .brand-breadcrumb .brand-back{margin:0}.brand-store-view .brand-breadcrumb>span{font-size:12px;color:#626b79;overflow-wrap:anywhere}.brand-store-view #seo-form{padding:20px 0}.brand-store-view #seo-form fieldset{min-width:0;margin:0;padding:0;border:0}.brand-store-view #seo-form legend{display:flex;align-items:center;gap:9px;margin-bottom:12px;font-size:14px;font-weight:700;color:#232933}.brand-store-view #seo-form legend span{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:8px;background:#f1f5ff;color:#3158d9;font-size:12px}.brand-store-view #seo-form .seo-nominal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;max-height:340px;margin:0;padding:0;overflow:auto;list-style:none}.brand-store-view #seo-form .seo-nominal-card{display:flex;flex-direction:column;justify-content:center;gap:3px;min-width:0;min-height:68px;box-sizing:border-box;padding:10px;border:1px solid #dce5f2;border-radius:13px;background:#fff;overflow-wrap:anywhere}.brand-store-view #seo-form .seo-nominal-card strong{font-size:13px;line-height:1.4;font-weight:600;color:#081833}.brand-store-view #seo-form .seo-nominal-card small{font-size:12px;line-height:1.4;color:#287a40}.brand-store-view #seo-form .seo-form-loading{margin:13px 0 0;font-size:12px;color:#626b79}
body[data-brand-slug] .brand-store-heading>img,body[data-brand-slug] .brand-store-heading>.product-letter{width:60px;height:60px;border-radius:14px}body[data-brand-slug] .brand-store-heading h1{font-size:21px;margin:2px 0 0}
.brand-store-view .brand-breadcrumb>a:not(.brand-back){font-size:12px;color:#626b79;text-decoration:none}.brand-store-view .brand-breadcrumb>a:not(.brand-back):hover{text-decoration:underline}

/* Available and applied vouchers share the same ticket face. */
#product-dialog .voucher-foot .voucher-detail-link{width:auto;border:0;padding:8px 0;font-size:12px;text-decoration:underline;text-underline-offset:3px}
#product-dialog .voucher-use{display:flex;align-items:center;gap:8px;min-height:44px;padding:8px 10px;border:0;border-radius:9px;background:transparent;color:var(--voucher-ink);font:inherit;font-size:12px;font-weight:700;cursor:pointer}
#product-dialog .voucher-use:hover{background:#dce5f2}
#product-dialog .voucher-use:disabled{opacity:.6;cursor:wait}
@media(max-width:380px){#product-dialog #active-saving,#product-dialog .voucher-saving{font-size:24px}#product-dialog .voucher-stamp{width:42px;height:50px}#product-dialog .voucher-main{padding:14px;gap:12px}}

/* Each nominal group owns its heading and cards; no horizontal filters. */
#product-dialog .nominal-step-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px;min-width:0}
#product-dialog .nominal-step-header .topup-step{flex:none;margin:0;white-space:nowrap}
#product-dialog .nominal-search-field{display:flex;align-items:center;gap:8px;flex:0 1 220px;min-width:0;min-height:40px;margin:0;padding:0 10px;border:1px solid #d4deed;border-radius:10px;background:#fff;color:#72809a}
#product-dialog .nominal-search-field:focus-within{border-color:var(--brand-blue);box-shadow:0 0 0 3px #e8efff}
#product-dialog .nominal-search-field input{width:100%;min-width:0;height:38px;border:0;outline:0;background:transparent;color:var(--topup-ink);font:inherit;font-size:12px}
#product-dialog .nominal-search-field input::placeholder{color:#788399}
#product-dialog .nominal-search-symbol{width:15px;height:15px;flex:none;border:2px solid currentColor;border-radius:50%;position:relative;transform:scale(.8)}
#product-dialog .nominal-search-symbol:after{content:"";position:absolute;right:-5px;bottom:-3px;width:7px;height:2px;border-radius:2px;background:currentColor;transform:rotate(45deg)}
#product-dialog .nominal-search-status{margin:0 0 10px;color:var(--topup-muted);font-size:12px;line-height:1.4}
#product-dialog .nominal-empty{margin:0;padding:20px 14px;border:1px dashed #d4deed;border-radius:10px;background:#f8fafc;color:var(--topup-muted);font-size:13px;text-align:center}
@media(max-width:340px){#product-dialog .nominal-step-header{gap:8px}#product-dialog .nominal-search-field{padding:0 8px}#product-dialog .nominal-search-field input{font-size:11px}}
#product-dialog .nominal-list{display:grid;gap:14px;min-width:0}
#product-dialog .nominal-group{min-width:0;border:0;border-radius:0;overflow:visible;background:transparent}
#product-dialog .nominal-group-heading{display:flex;align-items:center;gap:8px;min-height:42px;margin-bottom:8px;padding:9px 11px;border-radius:10px;background:linear-gradient(100deg,#f5f8ff,#ffffff);color:var(--topup-ink);line-height:1.4}
#product-dialog .nominal-group-name{flex:1;min-width:0;overflow-wrap:anywhere;margin:0;font-size:13px;font-weight:700}
#product-dialog .nominal-group-heading small{font-size:12px;font-weight:500;color:var(--topup-muted);white-space:nowrap}
#product-dialog .nominal-group>.options{padding:0;gap:8px}
#product-dialog .nominal-group .option{border-color:#dce5f2;border-radius:10px}
#product-dialog .nominal-group .option:has(input:checked){border-color:var(--topup-green)}
#product-dialog .nominal-group.nominal-flash-group{padding:14px;border:1px solid #dce5f2;border-radius:16px;background:#f8fafc}
#product-dialog .nominal-flash-group .nominal-group-heading{background:transparent;padding:0 2px;margin-bottom:10px;min-height:28px;color:var(--topup-ink)}
#product-dialog .nominal-flash-group .nominal-group-heading small{color:#626b79}
#product-dialog .nominal-flash-group .option{background:#fff;border-color:#dce5f2}
#product-dialog .nominal-flash-group .option:has(input:checked){background:#f5f8ff;border-color:var(--topup-green)}
#product-dialog .nominal-flash-group .nominal-compare b{background:#e7efff;color:#0645ad}

/* Denser nominal cards on phones; the checked border marks the selection. */
@media(max-width:480px){#product-dialog .options .option:not(.payment-option){min-height:52px;padding:8px 10px;font-size:13px;line-height:1.45}#product-dialog .options .option:not(.payment-option) small{font-size:12px;margin-top:2px}#product-dialog .nominal-group>.options{padding:0;gap:6px}}
#product-dialog .topup-footer:has(#order-result:not(:empty))>.topup-hint{display:none}

/* Brand pages render the top-up sheet inline: steps flow with the page, total and checkout stay pinned above the bottom nav. */
.brand-checkout{margin-top:18px}.brand-checkout-note{font-size:13px;color:#626b79;margin:0}.brand-checkout:has(#product-dialog[open]) .brand-checkout-note{display:none}
#product-dialog.inline-checkout{position:static;inset:auto;display:none;width:auto;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent;overflow:visible;transform:none}
#product-dialog.inline-checkout[open]{display:block}
body:has(#product-dialog.inline-checkout[open]){overflow:auto}
#product-dialog.inline-checkout #order-form{display:block;max-height:none}
#product-dialog.inline-checkout .topup-header{display:none}
#product-dialog.inline-checkout .topup-body{padding:0;overflow:visible;scroll-padding:0}
#product-dialog.inline-checkout #payment-step,#product-dialog.inline-checkout [aria-invalid=true]{scroll-margin-top:16px}
#product-dialog.inline-checkout .topup-footer{position:sticky;bottom:calc(57px + max(13px,env(safe-area-inset-bottom)));z-index:4;margin:6px -20px 0;padding:10px 20px;box-shadow:0 -6px 18px #0818330d}
#product-dialog.inline-checkout #voucher-detail-view{padding:0}
.brand-store-view:has(#product-dialog.inline-checkout[open]){padding-bottom:24px}
.brand-store-view:has(#product-dialog.inline-checkout[open]) .brand-back{margin-bottom:16px}
.brand-store-view:has(#product-dialog.inline-checkout[open]) .brand-store-heading>img,.brand-store-view:has(#product-dialog.inline-checkout[open]) .brand-store-heading>.product-letter{width:60px;height:60px;border-radius:14px}
.brand-store-view:has(#product-dialog.inline-checkout[open]) .brand-store-heading h1{font-size:21px;margin:2px 0 0}
.brand-back{display:inline-flex;align-items:center;min-height:44px}
#product-dialog .password-count{display:block;font-size:12px;font-weight:500;color:var(--topup-muted);margin-top:2px}#product-dialog .password-count[data-state=ok]{color:var(--topup-green);font-weight:700}
#product-dialog .topup-help{display:block;margin:2px auto 0;min-height:36px;padding:6px 10px;border:0;background:none;font:inherit;font-size:12px;font-weight:600;color:var(--topup-green);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.options .option.is-unavailable{background:#f1f2f2!important;border-color:#d5d8d7!important;color:#737a77!important;box-shadow:none!important;cursor:not-allowed;filter:grayscale(1);opacity:.65}
.options .option.is-unavailable small{color:#737a77!important}
.options .option .availability-label{font-size:11px;line-height:1.4;margin-top:5px}

#product-dialog #nominal-flash-title{display:flex;align-items:center;gap:6px}#product-dialog #nominal-flash-title .domigo-icon{width:18px;height:18px;color:var(--brand-blue)}
