/* Techno X Bank Transfer Checkout */
.tbc{--tbc-accent:#009b3e;--tbc-text:#1d2433;--tbc-muted:#5b6475;--tbc-line:#e3e7ee;--tbc-bg:#f6f8fb;--tbc-card:#fff;--tbc-ok:#1a7f37;--tbc-err:#c62828;--tbc-warn-bg:#fff6e0;--tbc-warn-line:#f0c36d;--tbc-r:14px;
	max-width:760px;margin:0 auto 48px;color:var(--tbc-text);font-size:16px;line-height:1.5;box-sizing:border-box}
.tbc *,.tbc *::before,.tbc *::after{box-sizing:border-box}
.tbc h2,.tbc h3{margin:0;color:var(--tbc-text);letter-spacing:0;text-transform:none}
.tbc-h{font-size:1.35rem;font-weight:700;margin:0 0 14px!important}
.tbc-box{background:var(--tbc-card);border:1px solid var(--tbc-line);border-radius:var(--tbc-r);padding:28px 22px;text-align:center}
.tbc-box h2{font-size:1.3rem;margin-bottom:8px}
.tbc-box p{color:var(--tbc-muted);margin:0 0 18px}

/* Steps */
.tbc-steps{display:flex;gap:6px;list-style:none;margin:0 0 22px;padding:0;counter-reset:none}
.tbc-steps li{flex:1;display:flex;flex-direction:column;align-items:center;gap:6px;position:relative;margin:0;padding:0;font-size:.82rem;color:var(--tbc-muted);text-align:center}
.tbc-steps li::before{content:"";position:absolute;top:17px;left:calc(-50% + 22px);right:calc(50% + 22px);height:2px;background:var(--tbc-line)}
.tbc-steps li:first-child::before{display:none}
.tbc-steps li span{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-weight:700;background:var(--tbc-bg);border:2px solid var(--tbc-line);color:var(--tbc-muted);position:relative;z-index:1}
.tbc-steps li em{font-style:normal;font-weight:600}
.tbc-steps li.is-active{color:var(--tbc-text)}
.tbc-steps li.is-active span{background:var(--tbc-accent);border-color:var(--tbc-accent);color:#fff}
.tbc-steps li.is-done{cursor:pointer}
.tbc-steps li.is-done span{background:var(--tbc-ok);border-color:var(--tbc-ok);color:#fff}
.tbc-steps li.is-done::before,.tbc-steps li.is-active::before{background:var(--tbc-ok)}

/* Panels */
.tbc-js .tbc-panel{display:none}
.tbc-js .tbc-panel.is-active{display:block;animation:tbcIn .25s ease}
.tbc-panel{margin-bottom:26px}
@keyframes tbcIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}

.tbc-card{background:var(--tbc-card);border:1px solid var(--tbc-line);border-radius:var(--tbc-r);padding:18px;margin:0 0 16px;box-shadow:0 1px 2px rgba(16,24,40,.04)}
.tbc-card__title{font-size:1rem!important;font-weight:700;margin:0 0 12px!important}

/* Summary */
.tbc-items{list-style:none;margin:0;padding:0}
.tbc-item{display:flex;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid var(--tbc-line);margin:0}
.tbc-item:first-child{padding-top:0}
.tbc-item__img{flex:0 0 64px;width:64px;height:64px;border-radius:10px;overflow:hidden;background:var(--tbc-bg);border:1px solid var(--tbc-line)}
.tbc-item__img img{width:100%!important;height:100%!important;object-fit:contain;margin:0!important;display:block}
.tbc-item__info{flex:1;min-width:0;display:flex;flex-direction:column}
.tbc-item__name{font-weight:600;overflow-wrap:anywhere}
.tbc-item__meta,.tbc-item__qty{font-size:.85rem;color:var(--tbc-muted)}
.tbc-item__total{font-weight:600;white-space:nowrap}
.tbc-totals{margin:12px 0 0;padding:0}
.tbc-totals>div{display:flex;justify-content:space-between;gap:12px;padding:5px 0}
.tbc-totals dt{color:var(--tbc-muted);font-weight:400;margin:0}
.tbc-totals dd{margin:0;font-weight:600;text-align:right}
.tbc-totals .tbc-discount dd{color:var(--tbc-ok)}
.tbc-totals .tbc-grand{border-top:1px dashed var(--tbc-line);margin-top:6px;padding-top:12px}
.tbc-totals .tbc-grand dt{color:var(--tbc-text);font-weight:700}
.tbc-totals .tbc-grand dd{font-size:1.25rem;color:var(--tbc-accent);font-weight:800}
.tbc-summary--compact .tbc-item{padding:6px 0}

/* Notice & bank card */
.tbc-notice{background:var(--tbc-warn-bg);border:1px solid var(--tbc-warn-line);border-radius:var(--tbc-r);padding:14px 16px;margin:0 0 16px;font-size:.95rem}
.tbc-notice strong{display:block;margin-bottom:2px}
.tbc-bank{border:2px solid var(--tbc-accent);background:linear-gradient(180deg,color-mix(in srgb,var(--tbc-accent) 6%,#fff),#fff)}
.tbc-bank__rows{margin:0;padding:0}
.tbc-bank__row{display:flex;flex-direction:column;gap:4px;padding:10px 0;border-bottom:1px solid var(--tbc-line)}
.tbc-bank__row:last-child{border-bottom:0;padding-bottom:0}
.tbc-bank__row dt{font-size:.78rem;text-transform:uppercase;letter-spacing:.04em;color:var(--tbc-muted);font-weight:600;margin:0}
.tbc-bank__row dd{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0}
.tbc-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:1.02rem;font-weight:700;overflow-wrap:anywhere;letter-spacing:.02em}
.tbc-bank__row--amount .tbc-mono{color:var(--tbc-accent);font-size:1.15rem}
.tbc .tbc-copy{flex:0 0 auto;min-width:76px;min-height:38px;padding:6px 12px;border-radius:999px;border:1.5px solid var(--tbc-accent);background:#fff;color:var(--tbc-accent);font-family:inherit;font-weight:600;font-size:.85rem;line-height:1;cursor:pointer;transition:background .15s,color .15s}
.tbc .tbc-copy:hover,.tbc .tbc-copy:focus-visible{background:var(--tbc-accent);color:#fff}
.tbc .tbc-copy.is-copied{background:var(--tbc-ok);border-color:var(--tbc-ok);color:#fff}

.tbc-hint{font-size:.9rem;color:var(--tbc-muted);margin:0 0 14px}

/* Form */
.tbc-grid{display:grid;grid-template-columns:1fr;gap:14px}
.tbc-field{display:flex;flex-direction:column;gap:5px;margin:0}
.tbc-field>label{font-weight:600;font-size:.92rem;margin:0}
.tbc-req{color:var(--tbc-err)}
.tbc-opt{font-weight:400;color:var(--tbc-muted);font-size:.85rem}
.tbc .tbc-field input:not([type=file]),.tbc .tbc-field select,.tbc .tbc-field textarea{width:100%;min-height:48px;padding:11px 13px;border:1.5px solid #cfd6e1;border-radius:10px;background:#fff;color:var(--tbc-text);font-size:16px;line-height:1.4;box-shadow:none;margin:0;appearance:auto}
.tbc .tbc-field textarea{resize:vertical;min-height:80px}
.tbc .tbc-field input:focus,.tbc .tbc-field select:focus,.tbc .tbc-field textarea:focus{outline:none;border-color:var(--tbc-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--tbc-accent) 18%,transparent)}
.tbc-help{font-size:.8rem;color:var(--tbc-muted)}
.tbc-err{font-size:.82rem;color:var(--tbc-err);min-height:0}
.tbc-field.has-error input,.tbc-field.has-error select,.tbc-field.has-error textarea{border-color:var(--tbc-err)!important}
.tbc-field.has-error .tbc-drop{border-color:var(--tbc-err)}

/* Upload */
.tbc-drop{position:relative;display:block;border:2px dashed #b9c3d3;border-radius:var(--tbc-r);background:var(--tbc-bg);padding:22px;text-align:center;cursor:pointer;transition:border-color .15s,background .15s;font-weight:400!important}
.tbc-drop:hover,.tbc-drop:focus-within{border-color:var(--tbc-accent)}
.tbc-drop.has-file{border-style:solid;border-color:var(--tbc-ok);background:#f3fbf5}
.tbc-drop input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.tbc-drop__empty{display:flex;flex-direction:column;gap:4px}
.tbc-drop__empty strong{color:var(--tbc-accent)}
.tbc-drop__empty small,.tbc-drop__name{color:var(--tbc-muted);font-size:.82rem}
.tbc-drop__preview{display:flex;flex-direction:column;align-items:center;gap:6px}
.tbc-drop__preview[hidden],.tbc-drop__empty[hidden]{display:none}
.tbc-drop__preview img{max-height:220px;max-width:100%;border-radius:8px;border:1px solid var(--tbc-line);margin:0}
.tbc-drop__change{font-size:.85rem;font-weight:600;color:var(--tbc-accent);text-decoration:underline}
[data-field="txn_ref"]{margin-top:14px}

/* Buttons */
.tbc-actions{display:flex;gap:10px;margin-top:6px}
.tbc .tbc-btn{flex:1;display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:12px 20px;border-radius:12px;border:2px solid var(--tbc-accent);background:var(--tbc-accent);color:#fff;font-size:1rem;font-weight:700;text-decoration:none;cursor:pointer;transition:filter .15s,opacity .15s;text-transform:none;letter-spacing:0;line-height:1.2}
.tbc .tbc-btn:hover{filter:brightness(1.08);color:#fff}
.tbc .tbc-btn--ghost{flex:0 0 auto;background:#fff;color:var(--tbc-accent)}
.tbc .tbc-btn--ghost:hover{color:var(--tbc-accent);background:var(--tbc-bg)}
.tbc .tbc-btn--place{background:var(--tbc-ok);border-color:var(--tbc-ok)}
.tbc .tbc-btn:disabled{opacity:.45;cursor:not-allowed;filter:none}
.tbc .tbc-btn.is-busy{opacity:.8;cursor:progress}
.tbc .tbc-btn.is-busy::before{content:"";width:18px;height:18px;margin-right:10px;border:2.5px solid rgba(255,255,255,.5);border-top-color:#fff;border-radius:50%;animation:tbcSpin .8s linear infinite}
@keyframes tbcSpin{to{transform:rotate(360deg)}}
.tbc-place-hint{font-size:.85rem;color:var(--tbc-muted);text-align:center;margin:10px 0 0}
.tbc-place-hint[hidden]{display:none}
.tbc-empty .tbc-btn{max-width:260px}

/* Messages */
.tbc-msg{border-radius:12px;padding:12px 14px;margin:0 0 16px;font-weight:600;font-size:.95rem}
.tbc-msg[hidden]{display:none}
.tbc-msg--error{background:#fdecea;border:1px solid #f5c2c0;color:#8e1c1c}
.tbc-msg--warn{background:var(--tbc-warn-bg);border:1px solid var(--tbc-warn-line);color:#6b4b00}

/* Confirmation */
.tbc-confirm{text-align:center;padding-top:10px}
.tbc-confirm__icon{width:72px;height:72px;border-radius:50%;margin:0 auto 14px;display:grid;place-items:center;background:#e8f6ec;color:var(--tbc-ok)}
.tbc-confirm__title{font-size:1.45rem!important;font-weight:800;margin:0 0 10px!important}
.tbc-confirm__id{font-size:1.1rem;margin:0 0 10px}
.tbc-confirm__id strong{display:inline-block;padding:3px 12px;border-radius:8px;background:var(--tbc-bg);border:1px solid var(--tbc-line);font-family:ui-monospace,Menlo,Consolas,monospace}
.tbc-confirm__text{color:var(--tbc-muted);max-width:560px;margin:0 auto 22px}
.tbc-confirm__summary{text-align:left;margin-top:22px}
.tbc-badge{display:inline-block;padding:2px 10px;border-radius:999px;background:var(--tbc-warn-bg);border:1px solid var(--tbc-warn-line);color:#6b4b00;font-size:.85rem}

.tbc .tbc-call{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;max-width:440px;margin:0 auto;padding:14px 20px;border-radius:14px;background:var(--tbc-ok);color:#fff!important;text-decoration:none!important;box-shadow:0 6px 18px rgba(26,127,55,.28);transition:transform .15s}
.tbc .tbc-call:hover{transform:translateY(-1px)}
.tbc-call span{display:flex;flex-direction:column;text-align:left;line-height:1.25}
.tbc-call strong{font-size:1.08rem}
.tbc-call small{font-size:.9rem;opacity:.92}

@media (min-width:640px){
	.tbc-grid{grid-template-columns:1fr 1fr}
	.tbc-col-2{grid-column:1/-1}
	.tbc-card{padding:22px}
	.tbc-bank__row{flex-direction:row;align-items:center;justify-content:space-between}
	.tbc-bank__row dt{flex:0 0 150px}
	.tbc-bank__row dd{flex:1}
	.tbc-steps li{font-size:.9rem}
}
@media (max-width:420px){
	.tbc-steps li em{font-size:.74rem}
	.tbc-item__img{flex-basis:52px;width:52px;height:52px}
	.tbc-actions{flex-direction:column-reverse}
	.tbc .tbc-btn--ghost{flex:1}
}
@media (prefers-reduced-motion:reduce){.tbc *{animation:none!important;transition:none!important}}

/* Theme overrides: keep checkout UI in the body font (theme applies a display font to headings, labels and buttons) */
.tbc label,.tbc button,.tbc .tbc-btn,.tbc input,.tbc select,.tbc textarea,.tbc .tbc-card__title,.tbc .tbc-confirm__title,.tbc .tbc-call,.tbc .tbc-steps,.tbc .tbc-drop,.tbc .tbc-drop *{font-family:var(--tbc-font,inherit)!important;text-transform:none!important;letter-spacing:normal!important}
.tbc .tbc-h{font-size:clamp(1.35rem,4.2vw,1.9rem)!important;line-height:1.15!important;margin:0 0 16px!important}
.tbc .tbc-card__title{font-size:1.02rem!important;line-height:1.3!important;color:var(--tbc-text)!important;font-weight:700!important}
.tbc .tbc-field>label{font-size:.93rem!important;font-weight:600!important;color:var(--tbc-text)!important;line-height:1.3!important}
.tbc .tbc-opt{font-size:.82rem!important}
.tbc .tbc-confirm__title{font-size:clamp(1.25rem,3.8vw,1.6rem)!important;line-height:1.3!important;color:var(--tbc-text)!important;font-weight:800!important}
.tbc .tbc-bank__row--amount .tbc-mono{font-family:var(--tbc-font,inherit)!important;font-weight:800}
.tbc .tbc-btn,.tbc .tbc-copy{font-size:1rem!important}
.tbc .tbc-copy{font-size:.85rem!important}
.tbc .tbc-call strong{font-size:1.08rem!important}

/* Compact order summary bar – visible on every step */
.tbc-bar{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;border:1px solid var(--tbc-line);border-radius:12px;padding:10px 14px;margin:0 0 16px;box-shadow:0 2px 10px rgba(16,24,40,.06)}
body.admin-bar .tbc-bar{top:32px}
@media(max-width:782px){body.admin-bar .tbc-bar{top:46px}}
.tbc-bar__items{font-size:.88rem;color:var(--tbc-muted);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tbc-bar__total{white-space:nowrap;font-size:1.05rem}
.tbc-bar__total small{color:var(--tbc-muted);font-size:.8rem;margin-right:4px}
.tbc-bar__total b{color:var(--tbc-accent);font-weight:800}
.tbc-alert__list{text-align:left;max-width:520px;margin:0 auto 18px;padding-left:20px;color:var(--tbc-text)}
.tbc-confirm .tbc-store-link{font-family:var(--tbc-font,inherit)!important}
