:root{--purple:#6952ed;--ink:#282334;--muted:#858091;--line:#e9e4f3;--tint:#f6f3fc;--green:#07965d}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:linear-gradient(130deg,#f6f2ff,#fcfbff 70%);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-size:15px;line-height:1.65}a{color:var(--purple);text-decoration:none}button,input,textarea{font:inherit}button,a.button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #ad9fff;outline-offset:3px}button{border:0}h1,h2,h3,p{margin-top:0}h1{font-size:34px;line-height:1.3;letter-spacing:-1px;margin-bottom:12px}h2{font-size:23px;line-height:1.45;margin-bottom:12px}h3{font-size:18px;margin-bottom:12px}p{color:var(--muted)}hr{border:0;border-top:1px solid var(--line);margin:26px 0}.topbar{max-width:1300px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:24px;gap:24px}.brand{display:inline-flex;align-items:center;gap:10px;color:var(--ink);white-space:nowrap}.brand img{display:block;width:150px;height:auto}.brand b{font-size:12px;display:inline-block;background:var(--purple);color:white;padding:1px 7px;border-radius:6px;vertical-align:middle}.topbar nav{display:flex;gap:26px;align-items:center;font-size:14px}.topbar nav a{color:#6c657c}.topbar .login{background:white;border:1px solid var(--line);border-radius:9px;padding:7px 18px}main{max-width:1300px;padding:22px 24px 70px;margin:auto;min-height:75vh}.hero{padding:36px 0 42px;max-width:900px}.eyebrow{letter-spacing:2px;color:var(--purple);font-size:12px;font-weight:700;margin-bottom:18px}.hero h1{font-size:46px;font-weight:750}.hero p{font-size:17px}.flow{display:flex;gap:28px;margin-top:26px;color:#776e8c;font-size:13px}.catalog-tools{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-bottom:26px}.filters{display:flex;flex-wrap:wrap;gap:8px}.filters button,.secondary{color:#75678f;background:white;border:1px solid var(--line);border-radius:9px;padding:9px 15px}.filters .active{background:var(--purple);color:white;border-color:var(--purple)}input[type=search],input:not([type]),input[type=email]{border:1px solid var(--line);border-radius:10px;padding:13px 15px;background:#faf8ff;color:var(--ink);min-width:0}#search{width:250px;background:white}.catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.product-card{background:white;border:1px solid var(--line);border-radius:18px;padding:26px;display:flex;flex-direction:column;transition:border-color .15s,transform .15s}.product-card:hover{border-color:#b6a9ed;transform:translateY(-2px)}.card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.symbol{display:inline-grid;place-items:center;background:var(--tint);border:1px solid var(--line);color:var(--purple);font-size:23px;width:53px;height:53px;border-radius:13px;margin-bottom:10px}.card-top .symbol{margin:0}.tag{display:inline-block;color:#847694;background:var(--tint);border-radius:6px;padding:3px 10px;font-size:12px}.product-card h2{font-size:20px;min-height:58px;overflow-wrap:anywhere}.subtitle{font-size:14px;margin-bottom:22px}.delivery-label{font-size:12px;color:#8a8398;border-top:1px solid var(--line);padding-top:16px;margin-top:auto}.card-bottom{margin-top:16px;display:flex;align-items:center;gap:10px;justify-content:space-between}.price{font-size:26px;font-weight:700;letter-spacing:-1px;color:var(--purple);white-space:nowrap}.price.large{font-size:38px;margin:24px 0}.button{display:inline-flex;align-items:center;justify-content:center;border:0;background:var(--purple);color:white;border-radius:9px;padding:12px 20px;font-weight:600;line-height:1.5}.card-bottom .button{font-size:13px;padding:10px 13px}.full{width:100%}.catalog-note{font-size:12px;margin-top:30px}.breadcrumb{font-size:13px;color:var(--muted);margin:8px 0 30px}.page-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:26px}.page-heading p{margin-bottom:0}.steps{display:flex;gap:23px;color:var(--muted);font-size:13px}.steps b{color:var(--purple)}.checkout-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(350px,1fr);gap:26px;align-items:start}.panel{background:white;border:1px solid var(--line);border-radius:20px;padding:30px}.product-detail>.tag{margin-bottom:14px}.notice{border:1px solid var(--line);background:var(--tint);border-radius:11px;padding:18px;color:#82788e;margin:18px 0 24px;line-height:1.85}.supplier-notes{font-size:14px;overflow-wrap:anywhere}.supplier-notes p{color:#817a8d;margin-bottom:20px}.source-image{max-width:100%;height:auto;border-radius:7px;margin:10px 0}.muted,.help{font-size:13px;color:var(--muted)}.order-link{display:block;margin-bottom:26px;font-size:14px}.purchase label:not(.payment-choice):not(.agreement){display:block;font-weight:600;margin:15px 0 8px}.purchase #contact{display:block;width:100%;padding:15px;background:var(--tint);border:1px solid #cbc0f0;border-radius:10px}.help{margin-top:7px}.purchase em{color:#e05d65;font-style:normal}fieldset{margin:0;padding:0;border:0}legend{font-weight:600;padding:0;margin-bottom:12px}.payment-choice{display:flex;gap:15px;align-items:center;border:1px solid var(--line);border-radius:12px;margin-bottom:10px;padding:14px;cursor:pointer}.payment-choice:has(input:checked){background:#f8f5ff;border:2px solid var(--purple);padding:13px}.payment-choice input{margin-left:auto;width:21px;height:21px;accent-color:var(--purple)}.payment-choice small{display:block;font-size:12px;color:var(--muted);margin-top:3px}.payment-icon{border:1px solid var(--line);border-radius:8px;display:inline-grid;place-items:center;width:96px;height:44px;flex-shrink:0;background:white;padding:5px}.payment-icon img{display:block;width:100%;height:100%;object-fit:contain}.pay-box .payment-brand img{display:block;width:128px;height:48px;object-fit:contain}.wechat{background:#089e62}.alipay{background:#1678e9}.total{background:var(--tint);border:1px solid var(--line);border-radius:12px;padding:18px;margin:26px 0}.total>div{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:6px 0}.total span{color:var(--muted);font-size:14px}.total hr{margin:15px 0}.agreement{display:flex;gap:10px;font-size:13px;color:#81768e;align-items:start;margin:20px 0}.agreement input{margin-top:5px;accent-color:var(--purple);width:16px;height:16px;flex-shrink:0}.error{color:#c13e55;font-size:14px;min-height:10px}.narrow{max-width:600px;margin:70px auto;text-align:center;padding:50px 35px}.payment-panel{max-width:650px;margin:12px auto;text-align:center;padding:35px}.payment-panel .order-link{text-align:right}.payment-panel h1{font-size:30px}.countdown{display:inline-block;padding:8px 18px;border-radius:30px;background:#fffaf1;border:1px solid #f9e7c6;color:#9e6d23;margin-bottom:25px}.countdown b{font-size:20px;margin-left:7px}.pay-box{border-radius:25px;padding:24px 34px 20px;color:white;margin:25px auto;max-width:440px}.pay-box.wechat{background:linear-gradient(140deg,#04a66a,#07824f)}.pay-box.alipay{background:linear-gradient(140deg,#1999ef,#1264d9)}.pay-box>strong{display:inline-block;background:white;color:#333;border-radius:12px;padding:8px 24px;font-size:21px;margin-bottom:18px}.pay-box p{color:white;margin:13px 0 0;font-size:14px}.pay-amount{font-size:48px;font-weight:700;line-height:1.3;margin:12px 0 22px}.qr,.qr-placeholder{display:block;width:100%;max-width:340px;margin:auto;background:white;border-radius:15px;padding:16px;aspect-ratio:1;object-fit:contain}.qr-placeholder{display:grid;place-items:center;color:var(--muted);font-size:14px}.order-meta{text-align:left;font-size:14px;overflow-wrap:anywhere}.order-meta dt{color:var(--muted);margin-top:15px}.order-meta dd{margin:5px 0;color:var(--ink)}#delivery-content{text-align:left}#cdk{background:var(--tint);border:1px solid var(--line);border-radius:10px;padding:20px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px}.order-row{display:flex;justify-content:space-between;align-items:center;gap:25px;color:var(--ink);margin-bottom:16px}.order-row h2{font-size:18px;margin:12px 0 7px}.order-row p{font-size:12px;margin:0;overflow-wrap:anywhere}.order-row>strong{white-space:nowrap}.pagination{display:flex;gap:20px;margin-top:25px}footer{text-align:center;padding:30px 20px;color:#8b829a;font-size:12px;border-top:1px solid var(--line)}[hidden]{display:none!important}@media(max-width:1050px){.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.steps{gap:10px}.checkout-layout{grid-template-columns:minmax(0,1.1fr) minmax(330px,1fr)}.panel{padding:24px}}@media(max-width:720px){.topbar{padding:18px 16px;flex-wrap:wrap;gap:14px}.topbar nav{gap:18px;font-size:13px}.brand{font-size:20px}main{padding:12px 16px 40px}.hero{padding:26px 0}.hero h1{font-size:33px}.hero p{font-size:15px}.flow{gap:14px;font-size:12px}.catalog-grid{grid-template-columns:1fr}.catalog-tools{display:block}#search{width:100%;margin-top:16px}.filters{gap:7px}.filters button{padding:7px 12px;font-size:13px}.product-card h2{min-height:0}.checkout-layout{display:flex;flex-direction:column}.checkout-layout>section{width:100%}.product-detail{order:1}.purchase{order:0}.page-heading{display:block}.steps{margin-top:20px;gap:20px}.panel{border-radius:15px;padding:22px}.payment-panel{padding:23px 18px}.payment-panel h1{font-size:25px}.pay-box{padding:22px}.pay-amount{font-size:40px}.qr{padding:12px}.order-row{display:block}.order-row>strong{display:block;margin-top:16px}.page-heading h1{font-size:30px}.supplier-notes{font-size:13px}}
.redemption{text-align:left}.redemption textarea{width:100%;border:1px solid var(--line);border-radius:10px;padding:14px;color:var(--ink);background:var(--tint);resize:vertical;min-height:180px}.redemption .notice p{margin:6px 0 0}.support{border-top:1px solid var(--line);padding-top:24px;margin-top:25px}.support-qr{display:block;width:190px;max-width:100%;height:auto;border:1px solid var(--line);border-radius:10px;padding:10px;margin-top:16px}.product-card .price{font-size:24px}

.order-actions{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:16px;margin:24px 0}.order-actions:empty{display:none}.order-actions>form{margin:0}.order-actions .button.secondary{background:#fff;color:var(--muted);border:1px solid var(--line)}.order-actions .button.secondary:hover{background:var(--tint);color:var(--ink)}@media(max-width:480px){.order-actions{flex-direction:column;align-items:stretch}.order-actions .button{width:100%}}

/* Product information and the purchase controls share one live selection. */
.rfj-storefront .product-purchase-layout{display:grid;grid-template-columns:minmax(0,3fr) minmax(300px,2fr);gap:40px;align-items:start}
.rfj-storefront .product-purchase-info{min-width:0;overflow-wrap:anywhere}
.rfj-storefront .product-purchase-image{display:block;width:100%;max-height:260px;object-fit:contain;margin:0 0 24px;border-radius:12px;background:var(--tint)}
.rfj-storefront .product-purchase-selector{min-width:0;padding:24px;background:var(--tint);border:1px solid var(--line);border-radius:14px}
.rfj-storefront .product-purchase-choice{min-width:0;scroll-margin-top:90px}
.rfj-storefront .product-purchase-price{font-size:34px;font-weight:700;color:var(--purple);font-variant-numeric:tabular-nums;margin-bottom:20px}
.rfj-storefront .product-purchase-options{border:0;padding:0;margin:0 0 18px;min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.rfj-storefront .product-purchase-options legend{font-size:13px;color:var(--muted);padding:0;margin-bottom:10px;width:100%}
.rfj-storefront .product-purchase-option{padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);min-height:52px;max-width:100%;overflow-wrap:anywhere;text-align:left;cursor:pointer;font-size:14px}
.rfj-storefront .product-purchase-option[aria-pressed=true]{border-color:var(--purple);box-shadow:inset 0 0 0 1px var(--purple);color:var(--purple)}
.rfj-storefront .product-purchase-option small{display:block;font-size:12px;color:var(--muted)}
.rfj-storefront .product-purchase-details{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.85;margin-bottom:0}
.rfj-storefront .product-purchase-notes{margin-top:24px;padding-top:24px;border-top:1px solid var(--line)}
.rfj-storefront .product-purchase-notes h2{font-size:18px;margin-bottom:14px}
.rfj-storefront .product-purchase-notes h3{font-size:15px;margin-bottom:10px}
.rfj-storefront .product-purchase-selected{color:var(--ink);font-size:14px;margin-bottom:12px}
.rfj-storefront .product-purchase-delivery{display:flex;gap:10px;align-items:baseline;font-size:13px;margin-bottom:0}
.rfj-storefront .product-purchase-delivery span{flex-shrink:0}
.rfj-storefront .product-purchase-delivery strong{font-weight:500;color:var(--ink)}
.rfj-storefront [data-selected-stock]:empty{display:none}
.rfj-storefront .product-purchase-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:20px}
.rfj-storefront .product-purchase-actions .button{flex:1;min-height:46px;padding:12px 16px;text-align:center;white-space:nowrap}
.rfj-storefront .product-purchase-policy-links{font-size:12px;margin:14px 0 0}
.rfj-storefront .product-purchase-unavailable{color:var(--muted);padding:12px 0}
.rfj-storefront .product-purchase-actions [hidden]{display:none!important}
@media(min-width:901px) and (min-height:760px){.rfj-storefront .product-purchase-selector{position:sticky;top:24px}}
@media(max-width:900px){
 .rfj-storefront .product-purchase-layout{display:flex;flex-direction:column;gap:20px}
 .rfj-storefront .product-purchase-info,.rfj-storefront .product-purchase-selector{display:contents}
 .rfj-storefront .product-purchase-overview{order:0;width:100%}
 .rfj-storefront .product-purchase-choice{order:1;width:100%;padding:20px;background:var(--tint);border:1px solid var(--line);border-radius:12px}
 .rfj-storefront .product-purchase-guidance{order:2;width:100%}
 .rfj-storefront .product-purchase-notes{order:3;width:100%;margin-top:0;padding-top:0;border-top:0}
 .rfj-storefront .product-purchase-action-group{order:4;width:100%;padding:18px 20px;background:var(--tint);border:1px solid var(--line);border-radius:12px}
 .rfj-storefront .product-purchase-actions{margin-top:0}
 .rfj-storefront .product-purchase-price{font-size:30px}
}

/* Recharge results retain their text and add a distinct visual status marker. */
.redemption .recharge-status-heading{display:flex;align-items:center;gap:10px}
.redemption .recharge-status-icon{display:inline-grid;place-items:center;flex-shrink:0;width:28px;height:28px;border-radius:50%;background:#e9e7f3;color:#62677c;font:700 18px/1 system-ui,sans-serif}
.redemption .recharge-status-icon::before{content:"−"}
.redemption .recharge-status[data-state="queued"] .recharge-status-icon::before{content:"◷"}
.redemption .recharge-status[data-state="polling"] .recharge-status-icon{background:#e7efff;color:#3566b8}
.redemption .recharge-status[data-state="polling"] .recharge-status-icon::before{content:"↻"}
.redemption .recharge-status:is([data-state="success"],[data-state="manual_completed"]){border-color:#cce6d7;background:#f2faf5}
.redemption .recharge-status:is([data-state="success"],[data-state="manual_completed"]) .recharge-status-icon{background:#dcefe3;color:#16764a}
.redemption .recharge-status:is([data-state="success"],[data-state="manual_completed"]) .recharge-status-icon::before{content:"✓"}
.redemption .recharge-status[data-state="failed"]{border-color:#efd4d4;background:#fff6f6}
.redemption .recharge-status[data-state="failed"] .recharge-status-icon{background:#f8e1e1;color:#b64747}
.redemption .recharge-status[data-state="failed"] .recharge-status-icon::before{content:"×"}
.redemption .recharge-status:is([data-state="review"],[data-state="blocked"],[data-state="unknown"],[data-state="verify_retry"]) .recharge-status-icon{background:#fff0d4;color:#94651d}
.redemption .recharge-status:is([data-state="review"],[data-state="blocked"]) .recharge-status-icon::before{content:"!"}
.redemption .recharge-status:is([data-state="unknown"],[data-state="verify_retry"]) .recharge-status-icon::before{content:"?"}

/* Alipay renders its own order code; the mobile page opens the mobile cashier. */
/* The provider renders a 240px square; reserve the same 12px quiet zone on every side. */
.alipay-payment-frame{display:block;box-sizing:border-box;width:264px;max-width:100%;height:264px;border:12px solid #fff;border-radius:12px;margin:auto;background:#fff}
.alipay-mobile-hint,.alipay-mobile-link{display:none!important}
@media(max-width:720px){.alipay-payment-frame,.alipay-desktop-hint{display:none!important}.alipay-mobile-hint{display:block!important}.alipay-mobile-link{display:flex!important}.alipay-mobile-link[hidden]{display:none!important}}

.payment-panel[data-payment-mobile="1"] .alipay-mobile-hint{display:block!important}
.payment-panel[data-payment-mobile="1"] .alipay-mobile-link{display:flex!important}
.payment-panel[data-payment-mobile="1"] .alipay-mobile-link[hidden]{display:none!important}

/* Bank details and declarations share the order panel, without a gateway handoff. */
.bank-payment-symbol{display:inline-flex;align-items:center;justify-content:center;width:60px;height:34px;border:1px solid #cbd5e1;border-radius:6px;color:#475569;font-size:15px;font-weight:600}
.bank-transfer-account{margin:24px 0;padding:20px;text-align:left;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px}
.bank-transfer-account dl{display:grid;grid-template-columns:80px minmax(0,1fr);gap:14px 12px;align-items:start}
.bank-transfer-account dt{color:#64748b;font-size:14px}
.bank-transfer-account dd{margin:0;overflow-wrap:anywhere;font-size:14px}
.bank-transfer-account .bank-copy{display:inline-block;min-height:28px;margin-left:10px;padding:3px 8px;border:1px solid #e2e8f0;border-radius:5px;background:white;color:#475569;font-size:12px;cursor:pointer}
.bank-transfer-claim{text-align:left;margin:20px 0;padding:16px;border:1px solid #e2e8f0;border-radius:10px}
.bank-transfer-claim summary{cursor:pointer;font-size:15px;font-weight:600;color:#334155}
#bank-transfer-form{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;margin-top:20px}
#bank-transfer-form label{display:block;margin:10px 0 0;font-size:14px;font-weight:600;line-height:1.6;color:#334155}
#bank-transfer-form input,#bank-transfer-form textarea{display:block;box-sizing:border-box;width:100%;max-width:100%;min-width:0;min-height:44px;margin:0;padding:11px 12px;border:1px solid #cbd5e1;border-radius:8px;background:#faf8ff;color:var(--ink);font:inherit;line-height:1.5}
#bank-transfer-form textarea{min-height:96px;resize:vertical}
#bank-transfer-form .help{margin:8px 0;font-size:13px;line-height:1.7}
#bank-transfer-form .error{margin:0;overflow-wrap:anywhere}
#bank-transfer-form .error:empty{display:none}
#bank-transfer-form button[type=submit]{justify-self:start;width:auto;margin:8px 0 0;min-height:40px}
@media(max-width:640px){.bank-transfer-account{padding:14px}.bank-transfer-account dl{grid-template-columns:70px minmax(0,1fr);gap:12px 8px}.bank-transfer-claim input,.bank-transfer-claim textarea{font-size:16px}}

/* Presales procurement contact is independent from order support. */
.store-sales-contact{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 24px;padding:20px 24px;border:1px solid #e2e8f0;border-radius:14px;background:#fff;text-align:left}
.store-sales-contact__text{min-width:0}.store-sales-contact h2{margin:0 0 8px;font-size:20px;color:#1e293b}.store-sales-contact p{margin:0 0 12px;font-size:14px;line-height:1.7;color:#64748b}
.store-sales-contact__wechat{font-size:14px;line-height:1.8;color:#475569}.store-sales-contact__wechat strong{color:#1e293b;overflow-wrap:anywhere}.store-sales-contact__wechat button{display:inline-block;margin-left:8px;padding:3px 8px;min-height:28px;border:1px solid #e2e8f0;border-radius:5px;background:#f8fafc;color:#475569;font-size:12px;cursor:pointer}
.store-sales-contact__qr{display:flex;flex:0 0 116px;flex-direction:column;align-items:center;gap:6px;color:#64748b;font-size:12px}.store-sales-contact__qr img{display:block;width:104px;height:104px;max-width:none;object-fit:contain;border-radius:0;background:white}
.store-sales-contact--compact{flex-wrap:wrap;gap:12px;margin:20px 0;padding:16px;background:#f8fafc}.store-sales-contact--compact h2{font-size:17px}.store-sales-contact--compact .store-sales-contact__text{flex:1 1 160px}.store-sales-contact--compact .store-sales-contact__qr{flex:0 0 104px}
.checkout-contact{padding-bottom:22px;margin-bottom:22px;border-bottom:1px solid var(--line)}.checkout-summary{display:none}.checkout-account-note{margin:20px 0 8px}.checkout-orders-link{margin-bottom:0}.checkout-layout>.purchase>.store-sales-contact{margin-bottom:0}
@media(max-width:720px){.rfj-storefront .checkout-breadcrumb{margin-bottom:16px}.rfj-storefront .checkout-heading{margin-bottom:18px}.rfj-storefront .checkout-heading p{display:none}.rfj-storefront .checkout-heading .steps{margin-top:12px;gap:14px}.rfj-storefront .purchase>h2{margin-bottom:16px}.rfj-storefront #checkout-form{display:flex;flex-direction:column}.rfj-storefront #checkout-form>.total{order:-3;margin:0 0 20px;padding:16px}.rfj-storefront .checkout-summary{display:flex;flex-direction:column;gap:5px;margin:0 0 12px;padding-bottom:12px;border-bottom:1px solid var(--line);color:var(--ink);line-height:1.5}.rfj-storefront .checkout-summary strong{font-size:16px}.rfj-storefront .checkout-summary small{color:var(--muted);font-size:12px}.rfj-storefront .checkout-payment{order:-2;margin-bottom:10px}.rfj-storefront .checkout-contact{order:-1;margin:0;padding:0;border:0}.rfj-storefront .checkout-contact>label{margin-top:8px}.rfj-storefront .checkout-confirmation .agreement{margin-top:16px}.rfj-storefront .checkout-layout>.purchase>.store-sales-contact{margin-top:24px}}
@media(max-width:640px){.store-sales-contact{padding:16px;gap:12px;flex-wrap:wrap}.store-sales-contact h2{font-size:18px}.store-sales-contact__qr{flex-basis:100%}}

.source-catalog + .store-sales-contact{margin-top:32px}
.checkout-auth{border:0;padding:0;margin:0 0 24px;min-width:0}
.checkout-auth[hidden]{display:none}
.checkout-auth legend{font-size:18px;font-weight:700;margin-bottom:16px}
.checkout-auth label{display:block;margin:14px 0 8px}
.checkout-auth input{display:block;width:100%;min-height:46px;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:var(--tint);color:var(--ink);font-size:16px}
.checkout-code-row{display:flex;align-items:stretch;gap:10px}
.checkout-code-row input{flex:1;min-width:0}
.checkout-code-row button{flex:0 0 auto;white-space:nowrap;padding:10px 14px}
.payment-method-switch{margin:24px 0;text-align:left;border:1px solid var(--line);border-radius:12px;background:var(--tint);padding:16px 18px}
.payment-method-switch summary{cursor:pointer;font-weight:600;line-height:1.6}
.payment-panel #delivery-message:empty{display:none}
#payment-method-form{margin-top:18px}
#payment-method-form>label{display:block;margin-bottom:8px;font-size:14px;font-weight:600}
.payment-method-row{display:flex;align-items:stretch;gap:12px}
.payment-method-row select{flex:1;min-width:0;width:100%;min-height:46px;padding:10px 36px 10px 12px;border:1px solid #cbc0f0;border-radius:9px;background:#fff;color:var(--ink);font:inherit;font-size:16px}
.payment-method-row button{flex:0 0 auto;min-height:46px;white-space:nowrap}
#payment-method-form .error:empty{display:none}
@media(max-width:420px){.payment-method-row{flex-direction:column}.payment-method-row button{width:100%}.payment-method-switch{padding:14px}}
@media(max-width:640px){.source-catalog + .store-sales-contact{margin-top:24px}}
.order-row>div:first-child{min-width:0}.order-row h2 a{color:inherit}.order-history-side{display:flex;flex-direction:column;align-items:flex-end;gap:10px;flex-shrink:0}.order-history-side>strong{white-space:nowrap}.order-history-side>a{font-size:13px}.order-history-actions{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px;margin-top:10px}.order-history-actions form{margin:0}.order-history-actions .button,.order-history-actions button{padding:7px 12px;font-size:13px;font-weight:400;min-height:34px}.order-history-actions [data-history-error]{display:block;max-width:260px;min-height:0;font-size:12px;margin-top:4px}.order-history-actions [data-history-error]:empty{display:none}@media(max-width:720px){.order-history-side{align-items:flex-start;margin-top:16px}.order-history-side .order-history-actions{justify-content:flex-start}}
.order-history-more{position:relative}.order-history-more>[data-order-menu-toggle]{list-style:none;cursor:pointer;background:transparent;border:0;color:var(--muted);font-size:13px;padding:7px 10px}.order-history-more>[data-order-menu-toggle]::after{content:' ▾'}.order-history-menu{position:absolute;top:100%;right:0;z-index:20;min-width:130px;padding:4px;background:#fff;border:1px solid var(--line);border-radius:6px;box-shadow:0 4px 12px #0000001a}.order-history-menu[hidden]{display:none!important}.order-history-menu button.secondary{width:100%;background:transparent;border:0;color:#b42318;text-align:left}.order-history-menu [data-history-error]{white-space:normal;padding:0 8px}
.rfj-storefront .product-purchase-guidance{margin:24px 0 0;padding:20px;background:var(--tint);border:1px solid var(--line);border-radius:12px}
.rfj-storefront .product-purchase-guidance h2{font-size:18px;margin:0 0 14px}
.rfj-storefront .product-purchase-guidance dl{margin:0;font-size:14px;line-height:1.8}
.rfj-storefront .product-purchase-guidance dl>div{display:grid;grid-template-columns:84px minmax(0,1fr);gap:12px;margin-top:14px}
.rfj-storefront .product-purchase-guidance dt{color:var(--muted)}
.rfj-storefront .product-purchase-guidance dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--ink)}
.rfj-storefront .product-purchase-guidance p{font-size:12px;margin:16px 0 0}
@media(max-width:900px){.rfj-storefront .product-purchase-guidance{margin:0}}
@media(max-width:480px){.rfj-storefront .product-purchase-guidance dl>div{grid-template-columns:minmax(0,1fr);gap:4px}}

/* Keep checkout decisions and the payment action together. */
.rfj-storefront .checkout-layout>.purchase{padding:20px}
.rfj-storefront .checkout-layout>.purchase>h2{font-size:20px;margin:0 0 12px}
.rfj-storefront .checkout-contact{padding:0;margin:0 0 12px;border:0}
.rfj-storefront .purchase .checkout-contact>label{font-size:14px;margin:0 0 6px}
.rfj-storefront .purchase #contact{min-height:42px;padding:9px 12px;font-size:16px;line-height:1.4}
.rfj-storefront .checkout-contact>.help{font-size:12px;margin:4px 0 0}
.rfj-storefront .checkout-payment{margin:0}
.rfj-storefront .checkout-payment fieldset{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;min-width:0;border:0;padding:0;margin:0}
.rfj-storefront .checkout-payment legend{font-size:14px;font-weight:600;margin:0 0 8px;padding:0}
.rfj-storefront .checkout-payment .payment-choice{position:relative;display:flex;flex-direction:column;justify-content:center;gap:0;min-width:0;min-height:68px;margin:0;padding:8px 20px 8px 6px;border:1px solid var(--line);border-radius:9px;text-align:center}
.rfj-storefront .checkout-payment .payment-choice:has(input:checked){border-color:var(--purple);box-shadow:inset 0 0 0 1px var(--purple);background:var(--tint)}
.rfj-storefront .checkout-payment .payment-choice input{position:absolute;right:5px;top:7px;margin:0;width:15px;height:15px}
.rfj-storefront .checkout-payment .payment-icon{border:0;background:transparent;padding:0;width:76px;max-width:100%;height:32px}
.rfj-storefront .checkout-payment .payment-choice:not(.payment-choice--bank) .payment-choice-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.rfj-storefront .checkout-payment .payment-choice--bank .payment-icon{display:none}
.rfj-storefront .checkout-payment .payment-choice-label strong{font-size:14px;font-weight:600}
.rfj-storefront .checkout-payment .payment-choice-label small{font-size:12px;line-height:1.4;margin-top:2px}
.rfj-storefront #checkout-form>.total{margin:12px 0;padding:8px 12px}
.rfj-storefront #checkout-form>.total>div{margin:0}
.rfj-storefront #checkout-form>.total .price{font-size:26px;line-height:1.4}
.rfj-storefront .checkout-confirmation .agreement{font-size:13px;line-height:1.6;margin:10px 0 12px;gap:8px}
.rfj-storefront .checkout-confirmation .agreement input{margin-top:3px}
.rfj-storefront .checkout-confirmation .error:empty{display:none}
.rfj-storefront .checkout-submit-bar .button{min-height:44px;margin:0;padding:10px 14px}
.rfj-storefront .checkout-submit-price{display:none}
.rfj-storefront .checkout-account-note{font-size:12px;margin:10px 0 0}
.rfj-storefront .checkout-auth{margin:0 0 12px}
.rfj-storefront .checkout-auth legend{font-size:15px;margin-bottom:8px}
.rfj-storefront .purchase .checkout-auth label{font-size:14px;margin:8px 0 4px}
.rfj-storefront .checkout-auth input{min-height:42px;padding:9px 12px}
.rfj-storefront .checkout-auth .help{font-size:12px;line-height:1.5;margin:6px 0 0}
.rfj-storefront.store-checkout-page .checkout-breadcrumb{font-size:13px;margin-bottom:12px}
.rfj-storefront.store-checkout-page .checkout-heading{margin-bottom:16px}
.rfj-storefront.store-checkout-page .checkout-heading h1{font-size:26px;margin-bottom:4px}
.rfj-storefront.store-checkout-page .checkout-heading p{margin-bottom:0}
@media(max-width:720px){
 .rfj-storefront .checkout-layout>.purchase{padding:16px}
 .rfj-storefront #checkout-form>.total{margin:0 0 12px;padding:0;border:0;background:transparent}
 .rfj-storefront .checkout-summary{margin:0;padding:0;border:0}
 .rfj-storefront .checkout-payment{margin-bottom:12px}
}
@media(max-width:720px),(max-height:800px){
 .rfj-storefront.store-checkout-page{padding-bottom:calc(80px + env(safe-area-inset-bottom,0px))}
 .rfj-storefront #checkout-form>.total>div{display:none}
 .rfj-storefront .checkout-submit-bar{position:fixed;inset:auto 0 0;z-index:100;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px max(16px,calc((100vw - 1392px)/2)) calc(12px + env(safe-area-inset-bottom,0px));background:#fff;border-top:1px solid var(--line);box-shadow:0 -4px 16px #2823340a}
 .rfj-storefront .checkout-submit-price{display:flex;align-items:baseline;gap:6px;white-space:nowrap;color:var(--purple)}
 .rfj-storefront .checkout-submit-price small{font-size:12px;color:var(--muted)}
 .rfj-storefront .checkout-submit-price strong{font-size:24px;line-height:1.4}
 .rfj-storefront .checkout-submit-bar .button{width:auto;flex:1;max-width:260px}
}
@media(min-width:721px) and (max-height:800px){
 .rfj-storefront #checkout-form>.total{display:none}
}
