/* Quick-purchase actions are siblings of product links, never nested controls. */
.sf-quick-buy { display:inline-flex; align-items:center; justify-content:center; box-sizing:border-box; min-width:0; min-height:44px; padding:10px 20px; border:1px solid #182c49; border-radius:999px; background:#182c49; color:#fff; font:650 14px/1.45 'Noto Sans TC',system-ui,sans-serif; text-align:center; text-decoration:none; cursor:pointer; }
.sf-quick-buy:disabled { border-color:#e2e5e9; background:#eef0f3; color:#6b7280; cursor:default; }
.sf-quick-buy:focus-visible { outline:3px solid #357bd5; outline-offset:3px; }
.sf-quick-card-actions,.sf-quick-store-actions { display:flex; min-width:0; }
.sf-quick-card-actions .sf-quick-buy,.sf-quick-store-actions .sf-quick-buy { width:100%; }
#popular-products .sf-quick-recommendation { display:flex; flex:0 0 clamp(280px,22.6vw,390px); flex-direction:column; min-width:0; overflow:hidden; border-radius:22px; background:#fff; scroll-snap-align:start; box-shadow:0 6px 18px #1b263a0b; }
#popular-products .sf-quick-recommendation>.sp-card { flex:1 1 auto; width:100%; border-radius:0; box-shadow:none; scroll-snap-align:none; }
#popular-products .sf-quick-card-actions { padding:0 26px 24px; }
.sf-store .sf-quick-store-actions { margin-top:16px; }
.product-page .product-detail-actions>.sf-quick-buy { min-height:48px; }
@media(hover:hover) { .sf-quick-buy:not(:disabled):hover { background:#25456e; border-color:#25456e; } }
@media(max-width:760px) {
  #popular-products .sf-quick-recommendation { flex-basis:calc(100vw - 72px); max-width:370px; border-radius:20px; }
  #popular-products .sf-quick-card-actions { padding:0 24px 22px; }
  .sf-store .sf-quick-store-actions { margin-top:12px; }
  .sf-store .sf-quick-buy { padding-inline:8px; font-size:13px; }
  .product-page .product-detail-actions>.sf-quick-buy { width:100%; }
}

.quick-checkout-eyebrow{font-size:10px!important;letter-spacing:.15em;color:#657f9a!important;margin:0 0 9px!important}.quick-checkout-account{padding:12px 14px;background:#f5f8fc;border-radius:8px;margin:0!important;font-size:12px}.quick-checkout-result strong{overflow-wrap:anywhere}.quick-checkout-result #checkout-result-title:focus{outline:0}.quick-checkout-result .member-actions{margin-bottom:22px}.quick-checkout-dialog-open{overflow:hidden}.quick-checkout-dialog{box-sizing:border-box;width:calc(100% - 32px);max-width:480px;max-height:calc(100dvh - 32px);margin:auto;padding:34px 30px 28px;overflow:auto;border:1px solid #dce5ef;border-radius:20px;background:#fff;color:#183454;box-shadow:0 24px 90px #0b24444d;font:14px/1.8 "Noto Sans TC",system-ui,sans-serif}.quick-checkout-dialog::backdrop{background:#0b203b99}.quick-checkout-dialog h2{font-size:25px;line-height:1.4;margin:12px 0 18px}.quick-checkout-dialog p{color:#65758b}.quick-checkout-dialog-icon{display:grid;place-items:center;width:52px;height:52px;margin-bottom:20px;border-radius:16px;background:#e9f2ed;color:#316149;font-size:26px}.quick-checkout-dialog button{font:inherit;cursor:pointer}.quick-checkout-dialog button:focus-visible,.quick-checkout-dialog a:focus-visible{outline:3px solid #537fb8;outline-offset:3px}.quick-checkout-dialog-close{position:absolute;right:12px;top:12px;width:44px;height:44px;border:0;border-radius:50%;color:#526983;background:#f3f6fa;font-size:26px!important}.quick-checkout-dialog-confirm{width:100%;min-height:48px;padding:12px 18px;margin:12px 0;border:1px solid #17365a;border-radius:9px;background:#17365a;color:#fff;font-weight:600!important}.quick-checkout-dialog .member-button{display:flex}.quick-checkout-dialog .quick-checkout-payment-note{padding:12px;background:#f0f5fc;border-radius:8px;font-size:12px;color:#193b66}.quick-checkout-captcha{margin-bottom:20px;padding-inline:0}.quick-checkout-result .cart-receipt{display:block;margin-top:12px}.email-login-explanation{padding:14px 16px;border-radius:10px;background:#edf3fb;color:#214363!important}.email-login-actions{margin-top:18px}.email-login-actions button{font-size:13px}.quick-checkout-captcha #member-captcha-badge{max-width:100%}@media(max-width:480px){.quick-checkout-dialog{padding:28px 22px 22px;border-radius:16px}.quick-checkout-dialog h2{font-size:23px}.quick-checkout-dialog p{font-size:13px}.cart-page .cart-summary .member-form>button{width:100%}.cart-page .cart-summary .member-form{gap:16px}}
