/* =====================================================================
   xUmp checkout  (.xc-)  — matches header (.xh-), login (.xl-), footer (.xf-)
   Palette: navy #2e2e63 · gold #f0b429/#ffd766 · green #1a6b2f · text #33414a
   Mobile-first; the two-column layout starts at 900px.
   ===================================================================== */
.xc{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:#33414a;margin:14px 0 26px;line-height:1.45;}
.xc *{box-sizing:border-box;}
.xc h1{font-size:24px;font-weight:700;color:#2e2e63;margin:4px 0 14px;}
.xc h2{font-size:18px;font-weight:700;color:#2e2e63;margin:0 0 12px;display:flex;align-items:center;gap:10px;}
.xc h2 .xc-step{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:#2e2e63;color:#fff;font-size:13px;font-weight:700;flex:0 0 auto;}
.xc h2 .xc-step.done{background:#1a6b2f;}
.xc-layout{display:grid;grid-template-columns:1fr;gap:18px;}
@media (min-width:900px){.xc-layout{grid-template-columns:minmax(0,1fr) 380px;gap:32px;align-items:start;}.xc-aside{position:sticky;top:12px;}}

/* ---- sections ---- */
.xc-card{background:#fff;border:1px solid #e6e8ee;border-radius:10px;padding:20px 22px;margin:0 0 16px;}
.xc-card.collapsed .xc-body{display:none;}
.xc-body{margin-top:4px;}
.xc-sub{font-size:13.5px;color:#5a6270;margin:-4px 0 14px;}

/* ---- express ---- */
.xc-express{border:1px solid #e6e8ee;border-radius:10px;padding:14px 18px 10px;margin:0 0 16px;background:#fafbfd;}
.xc-express p{margin:0 0 8px;font-size:13.5px;color:#5a6270;text-align:center;}
.xc-express__btns{max-width:420px;margin:0 auto;}
.xc-or{display:flex;align-items:center;gap:12px;color:#8a919c;font-size:13px;margin:14px 0 16px;}
.xc-or:before,.xc-or:after{content:"";flex:1;height:1px;background:#e6e8ee;}

/* ---- fields ---- */
.xc-grid{display:grid;grid-template-columns:1fr;gap:0 14px;}
@media (min-width:600px){.xc-grid{grid-template-columns:1fr 1fr;}.xc-span2{grid-column:1 / -1;}}
.xc-field{margin:0 0 13px;}
.xc-field label{display:block;font-size:13px;font-weight:600;color:#33414a;margin:0 0 5px;}
.xc-field label .opt{font-weight:400;color:#8a919c;}
.xc-field input[type=text],.xc-field input[type=email],.xc-field input[type=tel],.xc-field input[type=password],.xc-field select,.xc-field textarea{width:100%;border:2px solid #d6d6d6;border-radius:8px;padding:10px 12px;font-size:16px;color:#333;outline:none;background:#fff;font-family:inherit;-webkit-appearance:none;appearance:none;}
.xc-field select{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%2333414a' d='M1 1l5 5 5-5'/></svg>");background-repeat:no-repeat;background-position:right 12px center;padding-right:34px;}
.xc-field textarea{min-height:72px;resize:vertical;}
.xc-field input:focus,.xc-field select:focus,.xc-field textarea:focus{border-color:#2e2e63;box-shadow:0 0 0 3px #ffd766;}
.xc-field.err input,.xc-field.err select{border-color:#b3261e;}
.xc-field .xc-err{display:none;color:#b3261e;font-size:12.5px;margin:5px 0 0;}
.xc-field.err .xc-err{display:block;}
.xc-hint{font-size:12.5px;color:#7a7a7a;margin:5px 0 0;}
.xc-check{display:flex;align-items:flex-start;gap:9px;font-size:13.5px;color:#3f4756;margin:4px 0 12px;line-height:1.4;cursor:pointer;}
.xc-check input{margin-top:3px;width:16px;height:16px;flex:0 0 auto;}
.xc-readonly{background:#f6f7fb;border:1px solid #e6e8ee;border-radius:8px;padding:12px 14px;font-size:14px;line-height:1.5;}
.xc-readonly a{color:#2e2e63;font-weight:600;}

/* ---- choice lists (shipping, payment) ---- */
.xc-choices{display:flex;flex-direction:column;gap:8px;}
/* .xc prefix on these: the legacy stylesheet styles bare `label` with enough specificity to override a single class */
.xc .xc-choice{display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;column-gap:14px;border:2px solid #e6e8ee;border-radius:10px;padding:12px 16px;cursor:pointer;background:#fff;margin:0;font-weight:400;}
.xc .xc-choice:has(input:checked){border-color:#2e2e63;background:#f8f8fd;}
.xc .xc-choice input{width:18px;height:18px;margin:0;}
.xc .xc-choice__main{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:12px;row-gap:1px;min-width:0;}
.xc .xc-choice__title{font-size:15px;font-weight:600;color:#2e2e63;line-height:1.35;}
.xc .xc-choice__sub{font-size:12.5px;color:#6a7280;line-height:1.35;white-space:nowrap;}
.xc .xc-choice__price{text-align:right;font-size:15px;font-weight:700;white-space:nowrap;}
.xc .xc-choice__price.free{color:#1a6b2f;}
@media (max-width:480px){.xc .xc-choice__sub{white-space:normal;}}
.xc-choices--empty{font-size:13.5px;color:#6a7280;background:#f6f7fb;border-radius:8px;padding:12px 14px;}
.xc-note{font-size:12.5px;color:#6a7280;margin:10px 0 0;}
.xc-note b{color:#33414a;}

/* ---- card form ---- */
.xc-cardwrap{border:1px solid #e6e8ee;border-radius:10px;padding:14px 14px 4px;background:#fafbfd;margin:6px 0 4px;}
.xc-cardnum{position:relative;}
.xc-brand{position:absolute;right:10px;top:50%;transform:translateY(-50%);font-size:12px;font-weight:700;color:#5a6270;letter-spacing:.02em;}
.xc-secure{display:flex;align-items:center;gap:8px;font-size:12.5px;color:#6a7280;margin:8px 0 10px;}
.xc-secure svg{width:14px;height:14px;flex:0 0 auto;}
.xc-paypal{margin:8px 0 4px;max-width:420px;}

/* ---- messages ---- */
.xc-msg{border-radius:8px;padding:10px 12px;font-size:14px;margin:0 0 14px;line-height:1.45;display:none;}
.xc-msg.show{display:block;}
.xc-msg.err{background:#fbeceb;color:#b3261e;border:1px solid #f0cfcc;}
.xc-msg.ok{background:#eef6e8;color:#236a00;border:1px solid #d5e8c6;}
.xc-msg.info{background:#f6f7fb;color:#33414a;border:1px solid #e6e8ee;}

/* ---- buttons ---- */
.xc-btn{display:inline-flex;align-items:center;justify-content:center;background:#1a6b2f;color:#fff;border:0;border-radius:8px;padding:14px 26px;font-size:16px;font-weight:700;cursor:pointer;width:100%;font-family:inherit;}
.xc-btn:hover{background:#155b28;}
.xc-btn:focus-visible{outline:3px solid #ffd766;outline-offset:2px;}
.xc-btn[disabled]{opacity:.6;cursor:default;}
.xc-btn--ghost{background:#fff;color:#2e2e63;border:2px solid #d6d6d6;font-weight:600;width:auto;padding:9px 16px;font-size:14px;}
.xc-btn--ghost:hover{background:#f6f7fb;}
.xc-link{color:#2e2e63;font-weight:600;text-decoration:none;font-size:14px;}
.xc-link:hover{text-decoration:underline;}
.xc-place{margin-top:6px;}
.xc-place .xc-legal{font-size:12px;color:#8a919c;margin:10px 0 0;text-align:center;line-height:1.45;}
.xc-place .xc-legal a{color:#7a7a7a;}
.xc-spinner{display:none;width:18px;height:18px;border:3px solid rgba(255,255,255,.4);border-top-color:#fff;border-radius:50%;margin-left:10px;animation:xcspin .8s linear infinite;}
.xc-btn.busy .xc-spinner{display:inline-block;}
@keyframes xcspin{to{transform:rotate(360deg);}}
@media (prefers-reduced-motion:reduce){.xc-spinner{animation:none;}}

/* ---- order summary ---- */
.xc-summary{background:#fff;border:1px solid #e6e8ee;border-radius:10px;padding:0;overflow:hidden;}
.xc-summary__head{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;background:#f6f7fb;border-bottom:1px solid #e6e8ee;cursor:pointer;font-weight:700;color:#2e2e63;font-size:15px;}
.xc-summary__head .xc-total{font-size:17px;}
.xc-summary__head .xc-caret{font-size:12px;margin-left:8px;color:#6a7280;}
.xc-summary__body{padding:14px 18px 16px;}
@media (max-width:899px){.xc-summary.collapsed .xc-summary__body{display:none;}}
@media (min-width:900px){.xc-summary__head{cursor:default;}.xc-summary__head .xc-caret{display:none;}}
.xc-item{display:flex;gap:12px;align-items:flex-start;padding:9px 0;border-bottom:1px solid #f0f1f5;}
.xc-item:last-of-type{border-bottom:0;}
.xc-item img{width:56px;height:56px;object-fit:contain;border:1px solid #e6e8ee;border-radius:8px;background:#fff;flex:0 0 auto;}
.xc-item__name{font-size:13.5px;font-weight:600;color:#33414a;line-height:1.3;}
.xc-item__meta{font-size:12px;color:#6a7280;margin-top:2px;}
.xc-item__price{margin-left:auto;font-size:13.5px;font-weight:600;white-space:nowrap;}
.xc-item__qty{display:flex;align-items:center;gap:7px;margin-top:6px;}
.xc-item__qty button{width:26px;height:26px;border:1px solid #d6d6d6;background:#fff;border-radius:6px;font-size:16px;font-weight:700;color:#2e2e63;cursor:pointer;line-height:1;padding:0;}
.xc-item__qty button:hover{border-color:#2e2e63;}
.xc-item__qty button:disabled{opacity:.35;cursor:default;border-color:#d6d6d6;}
.xc-item__qty .q{min-width:22px;text-align:center;font-size:13.5px;font-weight:600;}
.xc-item__remove{border:0;background:none;color:#8a919c;cursor:pointer;padding:2px;margin-left:4px;line-height:0;}
.xc-item__remove:hover{color:#b3261e;}
.xc-item__remove svg{width:15px;height:15px;}
.xc-gift{display:flex;gap:12px;align-items:center;padding:10px 12px;margin:10px 0 0;background:#fff8e3;border:1px solid #f4dc9c;border-radius:8px;font-size:13px;}
.xc-gift img{width:44px;height:44px;object-fit:contain;border-radius:6px;background:#fff;}
.xc-gift b{color:#2e2e63;}
.xc-coupon{display:flex;gap:8px;margin:14px 0 4px;}
.xc-coupon input{flex:1;border:2px solid #d6d6d6;border-radius:8px;padding:9px 12px;font-size:15px;outline:none;min-width:0;}
.xc-coupon input:focus{border-color:#2e2e63;box-shadow:0 0 0 3px #ffd766;}
.xc-coupon .xc-btn--ghost{white-space:nowrap;}
.xc-coupon-msg{font-size:12.5px;margin:4px 0 0;}
.xc-coupon-msg.err{color:#b3261e;}.xc-coupon-msg.ok{color:#236a00;}
.xc-totals{margin:12px 0 0;border-top:1px solid #e6e8ee;padding-top:10px;font-size:14px;}
.xc-totals div{display:flex;justify-content:space-between;padding:4px 0;}
.xc-totals .xc-muted{color:#6a7280;}
.xc-totals .xc-grand{border-top:1px solid #e6e8ee;margin-top:6px;padding-top:10px;font-size:18px;font-weight:700;color:#2e2e63;}
.xc-totals .xc-disc{color:#236a00;}
.xc-freeship{font-size:12.5px;color:#236a00;background:#eef6e8;border-radius:8px;padding:9px 11px;margin:12px 0 0;}
/* namespaced modifier: the legacy allinone stylesheet has a global .progress (height:20px, overflow:hidden) that clipped this box */
.xc-freeship--progress{color:#33414a;background:#f6f7fb;}
.xc-bar{height:6px;background:#e6e8ee;border-radius:3px;margin-top:6px;overflow:hidden;}
.xc-bar i{display:block;height:100%;background:#f0b429;border-radius:3px;}
.xc-trust{font-size:12.5px;color:#6a7280;margin:14px 0 0;line-height:1.5;}
.xc-trust a{color:#2e2e63;}

/* ---- receipt ---- */
.xc-thanks{text-align:center;padding:10px 0 6px;}
.xc-thanks h1{font-size:28px;margin:6px 0 4px;}
.xc-thanks .xc-orderno{font-size:18px;color:#33414a;}
.xc-thanks .xc-orderno b{color:#2e2e63;font-size:22px;}
.xc-thanks p{color:#5a6270;font-size:14.5px;margin:8px auto 0;max-width:560px;}
.xc-check-icon{width:56px;height:56px;border-radius:50%;background:#1a6b2f;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:30px;margin:0 auto 6px;}
.xc-recgrid{display:grid;grid-template-columns:1fr;gap:16px;margin-top:18px;}
@media (min-width:768px){.xc-recgrid{grid-template-columns:1fr 1fr;}}
.xc-recgrid h3{font-size:14px;font-weight:700;color:#2e2e63;margin:0 0 6px;}
.xc-recgrid p{margin:0;font-size:14px;line-height:1.5;}
.xc-rectable{width:100%;border-collapse:collapse;font-size:14px;margin-top:8px;}
.xc-rectable th{text-align:left;font-size:12.5px;color:#6a7280;font-weight:600;padding:6px 6px;border-bottom:1px solid #e6e8ee;}
.xc-rectable td{padding:8px 6px;border-bottom:1px solid #f0f1f5;vertical-align:middle;}
.xc-rectable td.r,.xc-rectable th.r{text-align:right;white-space:nowrap;}
.xc-rectable img{width:44px;height:44px;object-fit:contain;border:1px solid #e6e8ee;border-radius:6px;vertical-align:middle;margin-right:8px;}
.xc-register{margin-top:18px;}
.xc-register .xc-grid{max-width:640px;}
.xc-hp{position:absolute;left:-9999px;top:-9999px;height:1px;width:1px;overflow:hidden;}
.xc-pw{position:relative;}
.xc-pw input{padding-right:64px;}
.xc-eye{position:absolute;right:8px;top:50%;transform:translateY(-50%);border:0;background:none;color:#1a6b2f;font-size:12px;font-weight:700;cursor:pointer;padding:6px;}
.xc-empty{text-align:center;padding:40px 10px;}
.xc-empty p{color:#5a6270;}
