/* Genetiq Thailand 6.0 customer cart / checkout. Scoped: no global theme resets. */
.nxpbd-th-wrap{--th-ink:#173550;--th-muted:#697c90;--th-line:#e0e9f1;--th-surface:#fff;--th-accent:#127355;max-width:1220px;margin:0 auto;padding:22px 14px 56px;color:var(--th-ink);font-size:14px;line-height:1.48}.nxpbd-th-wrap *{box-sizing:border-box}.nxpbd-th-wrap a{text-decoration:none}.nxpbd-th-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:18px}.nxpbd-th-top small,.nxpbd-th-receipt small{color:#257f78;font-size:11px;font-weight:800;letter-spacing:.12em}.nxpbd-th-top h1,.nxpbd-th-receipt h1{font-size:clamp(24px,3vw,33px);margin:3px 0 4px;line-height:1.2;color:var(--th-ink)}.nxpbd-th-top p{margin:0;color:var(--th-muted)}.nxpbd-th-top>a{color:var(--th-ink);font-weight:700;white-space:nowrap}.nxpbd-th-columns{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:14px;align-items:start}.nxpbd-th-card{border:1px solid var(--th-line);border-radius:15px;background:var(--th-surface);padding:18px;box-shadow:0 8px 25px rgba(20,48,80,.045)}.nxpbd-th-card h2{font-size:19px;line-height:1.25;margin:0 0 12px;color:var(--th-ink)}.nxpbd-th-summary{position:sticky;top:18px}.nxpbd-th-line{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--th-line)}.nxpbd-th-line:last-child{border-bottom:0}.nxpbd-th-line-image{flex:0 0 57px;width:57px;height:57px;border-radius:8px;background:#f1f6f9;overflow:hidden}.nxpbd-th-line-image img{display:block;width:100%;height:100%;object-fit:cover}.nxpbd-th-line-info{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}.nxpbd-th-line-info strong{font-size:14px;overflow-wrap:anywhere}.nxpbd-th-muted{color:var(--th-muted);font-size:12px}.nxpbd-th-line-side{display:flex;flex-direction:column;align-items:flex-end;gap:7px;min-width:120px}.nxpbd-th-line-side>b{font-size:14px;white-space:nowrap}.nxpbd-th-line-actions{display:flex;align-items:center;gap:8px}.nxpbd-th-small{border:1px solid var(--th-line);background:white;color:var(--th-ink);border-radius:7px;padding:3px 10px;cursor:pointer;min-height:30px}.nxpbd-th-remove{border:0;color:#b03535;background:transparent;font-size:12px;cursor:pointer;padding:2px}.nxpbd-th-total-row{display:flex;justify-content:space-between;gap:14px;padding:7px 0}.nxpbd-th-total-row.is-total{border-top:1px solid var(--th-line);margin-top:7px;padding-top:12px;font-size:18px}.nxpbd-th-actions{display:grid;gap:9px;margin-top:16px}.nxpbd-th-button{display:flex;align-items:center;justify-content:center;text-align:center;width:100%;background:var(--th-ink);color:white!important;border:none;border-radius:9px;padding:12px 16px;font-weight:750;font-size:14px;line-height:1.3;cursor:pointer;min-height:43px}.nxpbd-th-button--whatsapp{background:#13865c}.nxpbd-th-button.is-disabled{pointer-events:none;opacity:.45}.nxpbd-th-payment{margin-top:16px;background:#edf9f3;border:1px solid #d3efde;border-radius:10px;padding:11px 14px;display:flex;gap:10px;justify-content:space-between}.nxpbd-th-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.nxpbd-th-field{display:flex;flex-direction:column;gap:5px;font-weight:600;font-size:13px;min-width:0}.nxpbd-th-field b{color:#bd3d36}.nxpbd-th-field input,.nxpbd-th-field textarea{display:block;width:100%;border:1px solid #ccd9e4;border-radius:8px;padding:9px 10px;color:var(--th-ink);background:#fff;font:inherit;font-weight:400;min-height:40px}.nxpbd-th-field textarea{resize:vertical}.nxpbd-th-field:has(textarea){grid-column:1/-1}.nxpbd-th-error,[data-nxpbd-message]{color:#ae3535;font-size:13px}.nxpbd-th-receipt{margin:38px auto;text-align:center;max-width:580px}.nxpbd-th-receipt>strong{display:block;font-size:24px;margin:16px 0}.nxpbd-th-success{width:56px;height:56px;display:grid;place-items:center;border-radius:50%;background:#e8f8f0;color:#00865e;font-size:34px;margin:0 auto 16px}.nxpbd-th-toast{position:fixed;bottom:20px;left:50%;transform:translate(-50%,15px);opacity:0;pointer-events:none;z-index:99999;border-radius:10px;padding:10px 17px;background:#173550;color:white;box-shadow:0 10px 26px #0c233344;transition:opacity .2s,transform .2s;max-width:calc(100vw - 26px);text-align:center}.nxpbd-th-toast.is-open{transform:translate(-50%,0);opacity:1}.nxpbd-th-toast.is-error{background:#a32b2b}.nexpbd-thailand-products__actions .nexpbd-thailand-products__add-to-cart,.nexpbd-thailand-single-product__add-to-cart{background:#173550;color:#fff}.nxpbd-th-cart-link{display:inline-flex;gap:6px;align-items:center;padding:9px 12px;background:#173550;border-radius:9px;color:white!important;font-size:13px}.nxpbd-th-cart-link span{background:#fff;color:#173550;border-radius:16px;padding:1px 6px;font-size:11px}
/* Cart and checkout follow the surrounding theme container width. */
.nxpbd-th-wrap[data-nxpbd-page="cart"],
.nxpbd-th-wrap[data-nxpbd-page="checkout"] {width:100%;max-width:none;min-width:0;box-sizing:border-box;flex:1 1 auto}
.nxpbd-th-columns > .nxpbd-th-card {min-width:0}

@media(max-width:920px){.nxpbd-th-columns{grid-template-columns:minmax(0,1fr)}.nxpbd-th-summary{position:static}}@media(max-width:600px){.nxpbd-th-wrap{padding:13px 9px 28px;font-size:13px}.nxpbd-th-top{align-items:flex-start;margin-bottom:12px}.nxpbd-th-top h1{font-size:24px}.nxpbd-th-top p{font-size:12px}.nxpbd-th-top>a{font-size:12px;white-space:normal;text-align:right}.nxpbd-th-card{padding:12px;border-radius:12px}.nxpbd-th-card h2{font-size:17px;margin-bottom:8px}.nxpbd-th-line{gap:9px;padding:10px 0;flex-wrap:wrap}.nxpbd-th-line-image{flex-basis:46px;width:46px;height:46px}.nxpbd-th-line-info strong,.nxpbd-th-line-side>b{font-size:13px}.nxpbd-th-line-side{flex:1 0 100%;flex-direction:row;align-items:center;justify-content:space-between;padding-left:55px}.nxpbd-th-fields{grid-template-columns:minmax(0,1fr);gap:9px}.nxpbd-th-payment{flex-direction:column;gap:5px}.nxpbd-th-toast{bottom:11px}}@media(prefers-reduced-motion:reduce){.nxpbd-th-toast{transition:none}}

/* Always-visible Thailand cart launcher and recoverable cart errors. */
.nxpbd-th-floating-cart{position:fixed;z-index:9992;right:18px;bottom:20px;display:inline-flex;align-items:center;gap:11px;border-radius:999px;background:#173550;color:#fff!important;text-decoration:none!important;font-size:13px;font-weight:750;padding:11px 14px;box-shadow:0 8px 28px rgba(12,40,70,.2);line-height:1.2}
.nxpbd-th-floating-cart:hover,.nxpbd-th-floating-cart:focus-visible{background:#0d5c65;color:#fff!important}
.nxpbd-th-floating-cart b{display:inline-grid;place-items:center;min-width:25px;height:25px;background:#fff;color:#173550;border-radius:50%;font-size:12px}
.nxpbd-th-recover{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:8px 0}
.nxpbd-th-recover button{cursor:pointer;border:1px solid #d2dce5;background:#fff;color:#173550;border-radius:8px;padding:8px 11px}
@media(max-width:600px){.nxpbd-th-floating-cart{right:10px;bottom:10px;padding:9px 12px}.nxpbd-th-floating-cart span{font-size:12px}.nxpbd-th-floating-cart b{min-width:22px;height:22px}.nxpbd-th-actions{gap:8px}}

.nxpbd-th-product-qty{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:650;margin:10px 0;color:#173550}.nxpbd-th-product-qty input{max-width:85px;min-width:70px;min-height:36px;padding:5px 9px;border:1px solid #cbd9e6;border-radius:8px;font-size:14px;background:white;color:#173550}.nxpbd-th-line-side .nxpbd-th-small:focus-visible,.nxpbd-th-button:focus-visible{outline:3px solid #1c947b;outline-offset:2px}

/* NexproBD Thailand coupon entry. */
.nxpbd-th-coupon{border-top:1px solid #e0e7ef;margin:16px 0;padding-top:14px}.nxpbd-th-coupon label{display:block;font-weight:600;margin-bottom:7px}.nxpbd-th-coupon-entry{display:flex;gap:8px}.nxpbd-th-coupon-entry input{flex:1;min-width:0;border:1px solid #ccd8dc;border-radius:7px;padding:9px;text-transform:uppercase}.nxpbd-th-coupon-entry button{white-space:nowrap}.nxpbd-th-coupon [hidden]{display:none!important}.nxpbd-th-coupon p{font-size:13px;line-height:1.5;margin:7px 0}.nxpbd-th-coupon button:disabled{opacity:.6;cursor:wait}
