/* Wartip Shop Checkout V25 — same visual language as donation checkout. */
#orderForm{--shop-border:var(--wt-border,#3b3145);--shop-muted:var(--wt-muted,#b7afc0);display:block;font-size:15px;line-height:1.6}
#orderForm .shop-stage[hidden]{display:none!important}
#orderForm .shop-stage{animation:shopStageIn .22s ease both}
@keyframes shopStageIn{from{opacity:.55;transform:translateY(6px)}to{opacity:1;transform:none}}
#orderForm .shop-step-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:18px}
#orderForm .shop-step-head h3{margin:0;font-size:1.42rem;line-height:1.35;color:var(--wt-text,#fff)}
#orderForm .shop-step-head p{margin:4px 0 0;color:var(--shop-muted);font-size:.88rem}
#orderForm .shop-step-badge{display:inline-flex;align-items:center;gap:6px;border:1px solid rgb(var(--wt-accent-rgb,155 77 255)/.25);background:rgb(var(--wt-accent-rgb,155 77 255)/.10);color:var(--wt-accent-light,#c9a5ff);border-radius:999px;padding:6px 10px;font-size:.72rem;font-weight:700;white-space:nowrap}
#orderForm .shop-details-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#orderForm .shop-details-grid .field{margin:0}
#orderForm .shop-details-grid .shop-wide{grid-column:1/-1}
#orderForm .input,#orderForm textarea,#orderForm select{background:var(--wt-field,#211b29)!important;border-color:var(--wt-border,#39313f)!important;color:var(--wt-text,#fff)!important}
#orderForm textarea{min-height:108px}
#orderForm .shop-total-card{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:17px 0 0;padding:15px 17px;border:1px solid var(--wt-border);border-radius:17px;background:linear-gradient(120deg,var(--wt-surface-2),var(--wt-surface))}
#orderForm .shop-total-card small{display:block;color:var(--wt-muted);font-size:.76rem}
#orderForm .shop-total-card b{font-size:1rem;color:var(--wt-text)}
#orderForm .shop-total-card strong{font-size:1.75rem;color:var(--wt-accent-light);white-space:nowrap;font-variant-numeric:tabular-nums}
#orderForm .shop-next{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:52px;margin-top:16px;background:linear-gradient(120deg,var(--wt-accent-2),var(--wt-accent));border:1px solid rgb(var(--wt-accent-rgb)/.6);color:var(--wt-accent-contrast,#fff);border-radius:14px;font-weight:750;box-shadow:0 10px 28px rgb(var(--wt-accent-rgb)/.16)}
#orderForm .shop-next:hover{transform:translateY(-1px);box-shadow:0 14px 34px rgb(var(--wt-accent-rgb)/.22)}
#orderForm .shop-helper{margin:10px 0 0;text-align:center;color:var(--wt-muted);font-size:.76rem}
#orderForm .shop-method-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 17px;border:1px solid var(--wt-border);border-radius:17px;background:var(--wt-surface-2);margin-bottom:17px}
#orderForm .shop-method-summary small{display:block;color:var(--wt-muted);font-size:.75rem}
#orderForm .shop-method-summary b{color:var(--wt-text)}
#orderForm .shop-method-summary strong{font-size:1.6rem;color:var(--wt-accent-light);white-space:nowrap}
#orderForm .shop-methods{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
#orderForm .shop-method{position:relative;display:flex;align-items:center;gap:11px;min-height:78px;padding:13px;border:1px solid var(--wt-border);border-radius:16px;background:var(--wt-surface-2);cursor:pointer;transition:.18s ease}
#orderForm .shop-method:hover{border-color:rgb(var(--wt-accent-rgb)/.5);background:var(--wt-surface-3);transform:translateY(-1px)}
#orderForm .shop-method:has(input:checked){border-color:var(--wt-accent);background:rgb(var(--wt-accent-rgb)/.11);box-shadow:0 0 0 3px rgb(var(--wt-accent-rgb)/.08)}
#orderForm .shop-method input{position:absolute;opacity:0;pointer-events:none}
#orderForm .shop-method-icon{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:13px;background:rgb(var(--wt-accent-rgb)/.13);color:var(--wt-accent-light);font-size:1.1rem}
#orderForm .shop-method-copy{display:grid;gap:2px;min-width:0;flex:1}
#orderForm .shop-method-copy b{font-size:.95rem;color:var(--wt-text)}
#orderForm .shop-method-copy small{font-size:.72rem;color:var(--wt-muted);font-weight:400;line-height:1.35}
#orderForm .shop-method-check{opacity:.18;color:var(--wt-accent-light);margin-left:auto}
#orderForm .shop-method:has(input:checked) .shop-method-check{opacity:1}
#orderForm .shop-method-actions{display:grid;gap:9px;margin-top:16px}
#orderForm .shop-method-back,#orderForm .shop-text-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;background:transparent;border:1px solid var(--wt-border);color:var(--wt-muted);border-radius:12px;padding:9px 12px;font:inherit;font-weight:650;cursor:pointer}
#orderForm .shop-method-back:hover,#orderForm .shop-text-btn:hover{border-color:rgb(var(--wt-accent-rgb)/.4);color:var(--wt-text);background:var(--wt-surface-2)}
#orderForm .shop-pay-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:13px}
#orderForm .shop-pay-head h3{margin:0;font-size:1.4rem;color:var(--wt-text)}
#orderForm .shop-pay-head p{margin:4px 0 0;color:var(--wt-muted);font-size:.84rem}
#orderForm .shop-summary{border:1px solid var(--wt-border);border-radius:17px;background:var(--wt-surface-2);overflow:hidden;margin-bottom:12px}
#orderForm .shop-summary-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px}
#orderForm .shop-summary-meta{display:grid;gap:1px;min-width:0}
#orderForm .shop-summary-meta small{color:var(--wt-muted);font-size:.72rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#orderForm .shop-summary-meta b{color:var(--wt-text)}
#orderForm .shop-summary-top>strong{font-size:1.75rem;color:var(--wt-accent-light);white-space:nowrap}
#orderForm .shop-timer{display:flex;align-items:center;gap:10px;padding:10px 14px;border-top:1px solid var(--wt-border);background:color-mix(in srgb,var(--wt-warning,#f6c453) 9%,var(--wt-surface-2))}
#orderForm .shop-timer span{flex:1;font-weight:700;color:color-mix(in srgb,var(--wt-warning,#f6c453) 78%,var(--wt-text));font-size:.8rem}
#orderForm .shop-timer strong{font-size:1.2rem;color:var(--wt-warning,#f6c453);font-variant-numeric:tabular-nums}
#orderForm .shop-cancel{border:1px solid color-mix(in srgb,var(--wt-danger,#ff6b7d) 35%,var(--wt-border));background:color-mix(in srgb,var(--wt-danger,#ff6b7d) 9%,var(--wt-surface));color:color-mix(in srgb,var(--wt-danger,#ff6b7d) 78%,var(--wt-text));border-radius:10px;padding:7px 10px;font:inherit;font-size:.75rem;font-weight:700;cursor:pointer}
#orderForm .shop-payment-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:stretch}
#orderForm .shop-payment-grid.is-wallet{grid-template-columns:1fr}
#orderForm .shop-receiver{min-width:0}
#orderForm .shop-payment-detail{height:100%;min-height:250px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:16px;border:1px solid var(--wt-border);border-radius:17px;background:var(--wt-surface-2);text-align:center}
#orderForm .shop-payment-detail[hidden]{display:none!important}
#orderForm .shop-payment-detail .shop-section-title{margin:0;font-size:.84rem;font-weight:750;color:var(--wt-text)}
#orderForm .shop-payment-detail strong{color:var(--wt-text);font-size:1rem;overflow-wrap:anywhere}
#orderForm .shop-payment-detail p{margin:0;color:var(--wt-muted)}
#orderForm .shop-pay-qr{width:clamp(142px,16vw,190px);height:clamp(142px,16vw,190px);object-fit:contain;background:#fff;border-radius:13px;padding:7px;margin:3px auto}
#orderForm .shop-copy{margin-top:7px;border:1px solid var(--wt-border);background:var(--wt-surface-3);color:var(--wt-text);border-radius:11px;padding:8px 11px}
#orderForm .shop-slip-side{display:flex;flex-direction:column;gap:9px;min-width:0}
#orderForm .shop-slip-picker{min-height:146px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px dashed var(--wt-border-strong);border-radius:17px;background:var(--wt-surface-2);cursor:pointer;padding:15px;text-align:center;transition:.18s ease}
#orderForm .shop-slip-picker:hover{border-color:var(--wt-accent);background:rgb(var(--wt-accent-rgb)/.08)}
#orderForm .shop-slip-picker input{position:absolute;opacity:0;width:1px;height:1px}
#orderForm .shop-slip-icon{font-size:1.55rem;color:var(--wt-accent-light)}
#orderForm .shop-slip-picker strong{color:var(--wt-text)}
#orderForm .shop-slip-picker small{color:var(--wt-muted);font-size:.73rem}
#orderForm .shop-submit{min-height:46px;margin:0;background:linear-gradient(120deg,var(--wt-accent-2),var(--wt-accent));color:var(--wt-accent-contrast);border-color:rgb(var(--wt-accent-rgb)/.55)}
#orderForm .shop-mobile-open{display:flex;align-items:center;gap:11px;width:100%;min-height:58px;padding:10px 12px;border:1px solid rgb(var(--wt-accent-rgb)/.25);border-radius:14px;background:rgb(var(--wt-accent-rgb)/.08);color:var(--wt-text);cursor:pointer;text-align:left}
#orderForm .shop-mobile-open>i{font-size:1.35rem;color:var(--wt-accent-light)}
#orderForm .shop-mobile-open span{display:grid;gap:1px}.shop-mobile-open b{font-size:.86rem}.shop-mobile-open small{font-size:.72rem;color:var(--wt-muted)}
#orderForm .shop-wallet{align-items:stretch;text-align:left;min-height:0}
#orderForm .shop-wallet-head{display:flex;align-items:center;gap:12px}
#orderForm .shop-wallet-head>i{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:rgb(var(--wt-accent-rgb)/.13);color:var(--wt-accent-light);font-size:1.15rem}
#orderForm .shop-wallet label{display:grid;gap:7px;color:var(--wt-text);font-weight:650}
#orderForm .shop-wallet input{width:100%;padding:12px 13px;border-radius:12px;border:1px solid var(--wt-border);background:var(--wt-field);color:var(--wt-text)}
#orderForm .shop-result{margin-top:11px;padding:10px 12px;border:1px solid var(--wt-border);border-radius:12px;background:var(--wt-surface-2);color:var(--wt-muted);font-size:.8rem}
#orderForm .shop-result[hidden],#orderForm .note[hidden]{display:none!important}
#orderForm .shop-confirm[hidden],#orderForm .shop-finish[hidden]{display:none!important}
#orderForm .shop-confirm,#orderForm .shop-finish{max-width:500px;margin:8px auto 0;padding:27px 18px;border:1px solid var(--wt-border);border-radius:20px;background:radial-gradient(320px 140px at 50% 0%,rgb(var(--wt-accent-rgb)/.14),transparent 90%),var(--wt-surface-2);display:grid;justify-items:center;text-align:center;gap:9px}
#orderForm .shop-state-icon{display:grid;place-items:center;width:58px;height:58px;border-radius:18px;background:color-mix(in srgb,var(--wt-success,#41d893) 16%,var(--wt-surface));color:var(--wt-success,#41d893);font-size:1.7rem}
#orderForm .shop-confirm .shop-state-icon{background:color-mix(in srgb,var(--wt-warning,#f6c453) 16%,var(--wt-surface));color:var(--wt-warning,#f6c453)}
#orderForm .shop-confirm h3,#orderForm .shop-finish h3{margin:2px 0 0;color:var(--wt-text);font-size:1.3rem}
#orderForm .shop-confirm p,#orderForm .shop-finish p{margin:0;color:var(--wt-muted);max-width:44ch}
#orderForm .shop-confirm-actions{display:flex;gap:9px;flex-wrap:wrap;justify-content:center;margin-top:5px}
#orderForm .shop-danger{background:color-mix(in srgb,var(--wt-danger,#ff6b7d) 74%,#000);border-color:var(--wt-danger,#ff6b7d);color:#fff}
#shopMobileSlipDialog{border:1px solid var(--wt-border);border-radius:24px;padding:0;width:min(390px,calc(100vw - 26px));background:var(--wt-surface);color:var(--wt-text);box-shadow:0 28px 90px rgba(0,0,0,.42)}
#shopMobileSlipDialog::backdrop{background:rgba(5,3,12,.78);backdrop-filter:blur(6px)}
#shopMobileSlipDialog .shop-mobile-dialog-inner{padding:24px;display:grid;gap:12px;text-align:center;position:relative}
#shopMobileSlipDialog .shop-mobile-close{position:absolute;right:13px;top:13px;border:1px solid var(--wt-border);background:var(--wt-surface-2);color:var(--wt-text);border-radius:10px;width:34px;height:34px}
#shopMobileSlipDialog h3{margin:4px 0 0;font-size:1.25rem}#shopMobileSlipDialog p{margin:0;color:var(--wt-muted);font-size:.84rem}
#shopMobileSlipDialog .shop-mobile-qr{display:grid;place-items:center;width:max-content;max-width:100%;margin:4px auto;background:#fff;padding:11px;border-radius:14px}
#shopMobileSlipDialog .shop-mobile-link{display:flex;gap:7px}#shopMobileSlipDialog .shop-mobile-link input{min-width:0;flex:1;padding:9px;border:1px solid var(--wt-border);border-radius:10px;background:var(--wt-field);color:var(--wt-text)}
#shopMobileSlipDialog .shop-mobile-link button{border:1px solid var(--wt-border);border-radius:10px;background:var(--wt-surface-2);color:var(--wt-text);padding:8px 10px}
html.wt-donate-night[data-channel-theme="white"] #orderForm .shop-next,html.wt-donate-night[data-channel-theme="white"] #orderForm .shop-submit{background:linear-gradient(120deg,#d4d4d8,#fff);color:#18181b;border-color:#a1a1aa;box-shadow:0 8px 22px rgba(24,24,27,.10)}
html.wt-donate-night[data-channel-theme="white"] #orderForm .shop-method:has(input:checked){background:#f4f4f5;border-color:#a1a1aa;box-shadow:0 0 0 3px rgba(39,39,42,.06)}
@media(max-width:850px){#orderForm .shop-methods{grid-template-columns:1fr}#orderForm .shop-mobile-open{display:none}#orderForm .shop-payment-grid{grid-template-columns:1fr}#orderForm .shop-payment-detail{min-height:0}#orderForm .shop-slip-picker{min-height:96px}}
@media(max-width:620px){#orderForm .shop-details-grid{grid-template-columns:1fr}#orderForm .shop-details-grid .shop-wide{grid-column:auto}#orderForm .shop-step-head{display:block}#orderForm .shop-step-badge{margin-top:8px}#orderForm .shop-method-summary,#orderForm .shop-summary-top{align-items:flex-start}#orderForm .shop-method-summary strong,#orderForm .shop-summary-top>strong{font-size:1.4rem}#orderForm .shop-pay-head{display:grid}#orderForm .shop-text-btn{justify-self:start}}
@media(prefers-reduced-motion:reduce){#orderForm .shop-stage{animation:none}#orderForm .shop-method,#orderForm .shop-next{transition:none}}

/* V28: make the Shop payment flow behave like Donate and give every verified sale a clear terminal state. */
#orderForm .shop-slip-picker.is-selected{border-style:solid;border-color:var(--wt-accent);background:rgb(var(--wt-accent-rgb)/.10);box-shadow:0 0 0 3px rgb(var(--wt-accent-rgb)/.06)}
#orderForm .shop-finish-wait{display:block;min-height:1.1em;color:var(--wt-muted);font-size:.76rem;margin-top:-2px}
#orderForm .shop-finish[data-status="verified"]{border-color:color-mix(in srgb,var(--wt-success,#41d893) 42%,var(--wt-border))}
#orderForm .shop-finish[data-status="pending"] .shop-state-icon{background:color-mix(in srgb,var(--wt-warning,#f6c453) 16%,var(--wt-surface));color:var(--wt-warning,#f6c453)}
#orderForm .shop-result[data-status="processing"]{border-color:rgb(var(--wt-accent-rgb)/.28);color:var(--wt-text)}

/* V99: A TrueMoney gift voucher is redeemed from its link, not a slip. */
#orderForm .shop-payment-grid.is-wallet > .shop-slip-side,
#orderForm .shop-payment-grid[data-shop-voucher-only="true"] > .shop-slip-side,
#orderForm .shop-slip-side[hidden]{display:none!important;}
#orderForm .shop-payment-grid.is-wallet > .shop-receiver{grid-column:1/-1;}

/* Checkout V116 — address book integration and visual harmony in both channel themes. */
.shop-checkout-card .wsa-checkout-picker{display:flex;flex-direction:column;gap:9px;min-width:0;margin-top:3px;padding:17px;border:1px solid var(--wt-border,#403748);border-radius:17px;background:var(--wt-surface-2,#17131b)}
.shop-checkout-card .wsa-picker-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.shop-checkout-card .wsa-picker-head label{display:inline-flex;align-items:center;gap:9px;margin:0;font-weight:750;color:var(--wt-text,#fff);font-size:14px}
.shop-checkout-card .wsa-picker-head label i{color:var(--wt-accent-light,#b586ff)}
.shop-checkout-card .wsa-manage-link{display:inline-flex;align-items:center;gap:6px;color:var(--wt-accent-light,#bd8eff);font-size:12px;font-weight:650;text-decoration:none;white-space:nowrap;padding:6px 2px}
.shop-checkout-card .wsa-manage-link:hover{text-decoration:underline}
#orderForm .wsa-checkout-picker select{width:100%;min-height:47px;margin:0;border-radius:11px;font-size:13px;padding:11px 13px;white-space:normal}
.shop-checkout-card .wsa-selected-preview{display:flex;align-items:flex-start;gap:12px;min-width:0;margin-top:2px;padding:13px 14px;border:1px solid var(--wt-border,#343039);border-radius:13px;background:var(--wt-surface,#111);color:var(--wt-text,#f8f8f8)}
.shop-checkout-card .wsa-preview-icon{display:grid;place-items:center;flex:0 0 35px;width:35px;height:35px;border-radius:11px;background:rgb(var(--wt-accent-rgb,155 77 255)/.12);color:var(--wt-accent-light,#b98bff)}
.shop-checkout-card .wsa-preview-copy{display:grid;gap:2px;min-width:0;flex:1}
.shop-checkout-card .wsa-preview-copy b{color:var(--wt-text,#fff);font-size:13px;line-height:1.5}
.shop-checkout-card .wsa-preview-copy span{color:var(--wt-muted,#b9b1c5);font-size:12px;line-height:1.5}
.shop-checkout-card .wsa-preview-copy p{color:var(--wt-muted,#b9b1c5);margin:4px 0 0;line-height:1.6;font-size:12px;overflow-wrap:anywhere}
.shop-checkout-card .wsa-picker-note{display:flex;align-items:flex-start;gap:7px;margin:0;color:var(--wt-muted,#aca3b8);font-size:11px;line-height:1.5}
.shop-checkout-card .wsa-picker-note i{margin-top:2px;color:var(--wt-accent-light,#b98bff)}
.shop-checkout-card .wsa-shop-return-success{display:flex;align-items:center;gap:8px;margin:0 0 15px;padding:11px 13px;border:1px solid color-mix(in srgb,var(--wt-success,#42d69a) 32%,var(--wt-border,#333));border-radius:11px;background:color-mix(in srgb,var(--wt-success,#42d69a) 8%,var(--wt-surface-2,#111));color:var(--wt-text,#fff);font-size:12px;line-height:1.5}
.shop-checkout-card .wsa-shop-return-success i{color:var(--wt-success,#42d69a)}
.shop-checkout-card .wsa-checkout-required{display:grid;justify-items:center;gap:11px;text-align:center;padding:28px 20px;border-radius:17px;background:var(--wt-surface-2,#141217);border:1px solid var(--wt-border,#39323c)}
.shop-checkout-card .wsa-required-icon{display:grid;place-items:center;width:56px;height:56px;border-radius:17px;background:rgb(var(--wt-accent-rgb,155 77 255)/.12);color:var(--wt-accent-light,#b98bff);font-size:24px}
.shop-checkout-card .wsa-checkout-required h3{margin:2px 0 0;font-size:18px;color:var(--wt-text,#fff)}
.shop-checkout-card .wsa-checkout-required p{max-width:45ch;margin:0;color:var(--wt-muted,#b8adbf);font-size:13px;line-height:1.7}
.shop-checkout-card .wsa-checkout-required .wsa-add-address-cta{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;max-width:370px;min-height:47px;margin:5px 0 0;border-radius:12px}
.shop-checkout-card .wsa-checkout-required small{display:flex;align-items:center;justify-content:center;gap:7px;max-width:43ch;color:var(--wt-muted,#b8adbf);font-size:11px;line-height:1.6}
@media(max-width:620px){.shop-checkout-card .wsa-checkout-picker{padding:13px}.shop-checkout-card .wsa-selected-preview{padding:12px}.shop-checkout-card .wsa-checkout-required{padding:22px 15px}}


/* Checkout V117 — custom address picker. Native select is preserved as fallback. */
#orderForm .wsa-checkout-picker.wsa-has-enhanced-select>select#shopAddressId{
 position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;
 overflow:hidden!important;padding:0!important;margin:0!important;border:0!important;
 opacity:0!important;pointer-events:none!important;clip-path:inset(50%)!important;
}
#orderForm .wsa-custom-select{position:relative;min-width:0;width:100%;isolation:isolate}
#orderForm .wsa-address-trigger{
 display:flex;align-items:center;text-align:left;gap:12px;width:100%;min-height:62px;
 border:1px solid var(--wt-border,#3a3543);border-radius:14px;padding:11px 14px;
 background:var(--wt-surface,#111);color:var(--wt-text,#fff);
 font:inherit;cursor:pointer;transition:border-color .18s,background .18s,box-shadow .18s;
}
#orderForm .wsa-address-trigger:hover,#orderForm .wsa-custom-select.is-open .wsa-address-trigger{
 border-color:rgb(var(--wt-accent-rgb,155 77 255)/.62);
 background:var(--wt-surface-2,#1a171e);
}
#orderForm .wsa-address-trigger:focus-visible{
 outline:2px solid var(--wt-accent,#9949fa);outline-offset:2px;
}
#orderForm .wsa-address-trigger-icon{
 display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;
 border-radius:12px;color:var(--wt-accent-light,#c39bff);
 background:rgb(var(--wt-accent-rgb,155 77 255)/.12);font-size:16px;
}
#orderForm .wsa-address-trigger-text{min-width:0;flex:1;display:grid;gap:0}
#orderForm .wsa-address-trigger-text b{color:var(--wt-text,#fff);font-size:14px;font-weight:750;line-height:1.45;overflow-wrap:anywhere}
#orderForm .wsa-address-trigger-text small{color:var(--wt-muted,#bcb5c7);font-size:12px;font-weight:400;line-height:1.6;overflow-wrap:anywhere}
#orderForm .wsa-address-chevron{font-size:12px;color:var(--wt-muted,#bab2c3);transition:transform .18s ease}
#orderForm .wsa-custom-select.is-open .wsa-address-chevron{transform:rotate(180deg);color:var(--wt-accent-light,#be93ff)}
#orderForm .wsa-address-menu{
 position:absolute;top:calc(100% + 7px);left:0;right:0;z-index:999;
 padding:7px;max-height:min(340px,52vh);overflow:auto;overscroll-behavior:contain;
 background:var(--wt-surface,#111);border:1px solid var(--wt-border-strong,var(--wt-border,#403849));
 border-radius:15px;box-shadow:0 18px 45px rgba(0,0,0,.30),0 0 0 1px rgb(var(--wt-accent-rgb,155 77 255)/.06);
 animation:wsaAddressMenuIn .15s ease-out both;
}
#orderForm .wsa-address-menu[hidden]{display:none!important}
#orderForm .wsa-custom-select.wsa-drop-up .wsa-address-menu{top:auto;bottom:calc(100% + 7px)}
@keyframes wsaAddressMenuIn{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}
#orderForm .wsa-address-option{
 display:flex;align-items:flex-start;text-align:left;gap:10px;width:100%;margin:0;
 border:1px solid transparent;border-radius:11px;background:transparent;
 color:var(--wt-text,#fff);padding:12px 10px;font:inherit;cursor:pointer;
 transition:background .14s,border-color .14s;
}
#orderForm .wsa-address-option+.wsa-address-option{margin-top:4px}
#orderForm .wsa-address-option:hover,#orderForm .wsa-address-option:focus-visible{
 outline:none;background:var(--wt-surface-2,#211b2a);border-color:var(--wt-border,#403849);
}
#orderForm .wsa-address-option.is-selected{
 border-color:rgb(var(--wt-accent-rgb,155 77 255)/.45);
 background:rgb(var(--wt-accent-rgb,155 77 255)/.10);
}
#orderForm .wsa-address-option-icon{
 display:grid;place-items:center;flex:0 0 33px;width:33px;height:33px;
 background:var(--wt-surface-2,#241d2b);color:var(--wt-muted,#bcb5c7);
 border-radius:10px;font-size:13px;
}
#orderForm .wsa-address-option.is-selected .wsa-address-option-icon{background:rgb(var(--wt-accent-rgb,155 77 255)/.15);color:var(--wt-accent-light,#be93ff)}
#orderForm .wsa-address-option-copy{display:grid;gap:2px;min-width:0;flex:1;line-height:1.5}
#orderForm .wsa-address-option-title{display:flex;gap:7px;align-items:center;flex-wrap:wrap}
#orderForm .wsa-address-option-title b{font-size:13px;font-weight:750;overflow-wrap:anywhere}
#orderForm .wsa-address-option-copy small,#orderForm .wsa-address-option-detail{font-size:11px;color:var(--wt-muted,#bcb5c7);font-weight:400;overflow-wrap:anywhere}
#orderForm .wsa-address-option-detail{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#orderForm .wsa-address-default-pill{border-radius:999px;padding:1px 7px;font-size:10px;font-weight:650;background:rgb(var(--wt-accent-rgb,155 77 255)/.14);color:var(--wt-accent-light,#bf92ff)}
#orderForm .wsa-address-option-check{align-self:center;margin-left:auto;font-size:15px;color:var(--wt-accent-light,#bf92ff);opacity:0}
#orderForm .wsa-address-option.is-selected .wsa-address-option-check{opacity:1}
@media(max-width:620px){
 #orderForm .wsa-address-trigger{padding:10px;min-height:58px;gap:9px}
 #orderForm .wsa-address-menu{max-height:min(285px,47vh)}
 #orderForm .wsa-address-option{padding:10px 8px}
 #orderForm .wsa-address-option-detail{-webkit-line-clamp:2}
}
@media(prefers-reduced-motion:reduce){#orderForm .wsa-address-menu{animation:none}#orderForm .wsa-address-chevron{transition:none}}

/* Checkout V118 — unified polished fields and size options (dark/light channel aware). */
#orderForm .shop-details-grid{gap:15px;align-items:start}
#orderForm .shop-details-grid>.field{position:relative;min-width:0}
#orderForm .shop-details-grid>.field:focus-within{z-index:8}
#orderForm .shop-details-grid>.field>label:not(.wsa-field){display:inline-flex;align-items:center;gap:7px;margin:0 0 8px;color:var(--wt-text,#fff);font-size:13px;font-weight:700;line-height:1.4}
#orderForm .shop-details-grid input.input:not([type=hidden]),
#orderForm .shop-details-grid select.input{
 box-sizing:border-box;min-height:51px;width:100%;padding:11px 14px;
 border-radius:13px!important;border:1px solid var(--wt-border,#39313f)!important;
 background:var(--wt-surface,#151318)!important;color:var(--wt-text,#f7f6f8)!important;
 font:inherit;font-size:14px;line-height:1.4;box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
 transition:border-color .18s,box-shadow .18s,background .18s;
}
#orderForm .shop-details-grid input.input:not([type=hidden]):hover,
#orderForm .shop-details-grid select.input:hover{border-color:var(--wt-border-strong,#64556a)!important}
#orderForm .shop-details-grid input.input:not([type=hidden]):focus,
#orderForm .shop-details-grid select.input:focus{
 outline:none!important;border-color:var(--wt-accent,#9b4dff)!important;
 box-shadow:0 0 0 3px rgb(var(--wt-accent-rgb,155 77 255)/.13)!important;
}
#orderForm input[type=number].input{font-variant-numeric:tabular-nums;appearance:textfield}
#orderForm input[type=number].input::-webkit-outer-spin-button,
#orderForm input[type=number].input::-webkit-inner-spin-button{opacity:1}
#orderForm select.wt-size-native{position:absolute!important;width:1px!important;height:1px!important;
 min-height:0!important;overflow:hidden!important;opacity:0!important;clip-path:inset(50%)!important;
 pointer-events:none!important;padding:0!important;margin:0!important;border:0!important}
#orderForm .wt-size-select{position:relative;min-width:0;width:100%;isolation:isolate}
#orderForm .wt-size-trigger{display:flex;align-items:center;justify-content:space-between;gap:9px;
 border:1px solid var(--wt-border,#39313f);border-radius:13px;padding:11px 14px;
 width:100%;min-height:51px;background:var(--wt-surface,#151318);color:var(--wt-text,#fff);
 cursor:pointer;font:inherit;text-align:left;font-size:14px;transition:border-color .18s,box-shadow .18s,background .18s}
#orderForm .wt-size-trigger.is-placeholder{color:var(--wt-muted,#aaa1b4)}
#orderForm .wt-size-trigger:hover,#orderForm .wt-size-select.is-open .wt-size-trigger{
 border-color:var(--wt-accent,#9b4dff);background:var(--wt-surface-2,#211b29)}
#orderForm .wt-size-trigger.is-invalid{border-color:#ef6868;box-shadow:0 0 0 3px rgba(239,104,104,.14)}
#orderForm .wt-size-trigger:focus-visible{outline:2px solid var(--wt-accent,#9b4dff);outline-offset:2px}
#orderForm .wt-size-chevron{font-size:12px;color:var(--wt-muted,#aaa);transition:transform .18s}
#orderForm .wt-size-select.is-open .wt-size-chevron{transform:rotate(180deg)}
#orderForm .wt-size-menu{position:absolute;top:calc(100% + 7px);left:0;right:0;z-index:1000;
 border:1px solid var(--wt-border-strong,var(--wt-border,#403849));border-radius:13px;
 background:var(--wt-surface,#121015);padding:6px;max-height:min(270px,40vh);overflow-y:auto;
 overscroll-behavior:contain;box-shadow:0 22px 42px rgba(0,0,0,.33)}
#orderForm .wt-size-menu[hidden]{display:none!important}
#orderForm .wt-size-select.wt-drop-up .wt-size-menu{top:auto;bottom:calc(100% + 7px)}
#orderForm .wt-size-option{display:flex;align-items:center;gap:8px;min-height:43px;padding:10px 12px;
 width:100%;margin:0;background:transparent;color:var(--wt-text,#fff);border:1px solid transparent;border-radius:9px;
 font:inherit;text-align:left;cursor:pointer}
#orderForm .wt-size-option b{font-size:13px;font-weight:700}
#orderForm .wt-size-option small{margin-left:auto;color:var(--wt-muted,#aaa1b4);font-size:11px}
#orderForm .wt-size-option i{font-size:13px;color:var(--wt-accent-light,#c79cff);opacity:0}
#orderForm .wt-size-option.is-selected i{opacity:1}
#orderForm .wt-size-option:hover,#orderForm .wt-size-option:focus-visible{outline:none;
 background:var(--wt-surface-2,#241f2a);border-color:var(--wt-border,#403849)}
#orderForm .wt-size-option.is-selected{background:rgb(var(--wt-accent-rgb,155 77 255)/.12);border-color:rgb(var(--wt-accent-rgb,155 77 255)/.3)}
#orderForm .wsa-checkout-picker{border-radius:16px}
#orderForm .wsa-address-trigger{min-height:60px;box-shadow:inset 0 1px 0 rgba(255,255,255,.02)}
#orderForm .wsa-custom-select:focus-within{z-index:11}
@media(max-width:620px){#orderForm .shop-details-grid{gap:13px}#orderForm .shop-details-grid input.input:not([type=hidden]),#orderForm .wt-size-trigger{min-height:49px}}
@media(prefers-reduced-motion:reduce){#orderForm .wt-size-trigger,#orderForm .wt-size-chevron{transition:none}}
