/* BN Checkout v2.1 — mobile-first, professional, no emojis */
.bnchk-wrap{max-width:1180px;margin:18px auto;padding:0 16px;font-family:-apple-system,BlinkMacSystemFont,'Hind Siliguri','Noto Sans Bengali',sans-serif;color:#0f172a}
@media(max-width:640px){.bnchk-wrap{padding:0 10px;margin:10px auto}}
.bnchk-empty{padding:60px 20px;text-align:center;color:#666}
.bnchk-page-title{display:flex;align-items:center;gap:10px;font-size:20px;font-weight:800;margin:0 0 14px;color:#0f172a}
.bnchk-dot{width:8px;height:22px;background:var(--bnchk-theme,#f16e22);border-radius:4px;display:inline-block}

.bnchk-grid{display:grid;grid-template-columns:1fr;gap:14px}
@media(min-width:900px){.bnchk-grid{grid-template-columns:1.4fr 1fr;gap:22px}}
.bnchk-card{background:#fff;border:1px solid #eef0f3;border-radius:18px;padding:18px;box-shadow:0 1px 2px rgba(0,0,0,.02)}
@media(max-width:640px){.bnchk-card{padding:14px;border-radius:14px}}

.bnchk-h3{font-size:15px;font-weight:800;margin:0 0 14px;color:#0f172a;padding-bottom:10px;border-bottom:1px solid #f1f2f5;display:flex;align-items:center;gap:8px}
.bnchk-h3 .bnchk-i{color:var(--bnchk-theme)}
.bnchk-pill-mini{margin-left:auto;background:#f1f5f9;color:#475569;font-size:12px;padding:2px 10px;border-radius:999px;font-weight:700}

.bnchk-form{display:flex;flex-direction:column;gap:14px}
.bnchk-field{display:flex;flex-direction:column;gap:6px}
.bnchk-field label{font-size:13px;font-weight:700;color:#334155;display:inline-flex;align-items:center;gap:6px}
.bnchk-field label .bnchk-i{color:var(--bnchk-theme)}
.bnchk-field label span{color:#ef4444}

.bnchk-field input,.bnchk-field textarea,.bnchk-select select{
	width:100%;
	height:var(--bnchk-fh,52px);
	padding:0 14px;
	border:1.5px solid #e5e7eb;
	border-radius:12px;
	font-size:var(--bnchk-fs,16px);
	background:#fafbfc;
	font-family:inherit;outline:none;box-sizing:border-box;
	transition:.15s;
	color:#0f172a;
}
.bnchk-field textarea{height:auto;min-height:80px;padding:12px 14px;resize:vertical}
.bnchk-field input:focus,.bnchk-field textarea:focus,.bnchk-select select:focus{border-color:var(--bnchk-theme,#f16e22);background:#fff;box-shadow:0 0 0 3px rgba(241,110,34,.1)}

.bnchk-select{position:relative}
.bnchk-select:after{content:"";position:absolute;right:14px;top:50%;width:8px;height:8px;border-right:2px solid #6b7280;border-bottom:2px solid #6b7280;transform:translateY(-70%) rotate(45deg);pointer-events:none}
.bnchk-select select{appearance:none;-webkit-appearance:none;padding-right:38px;text-overflow:ellipsis;white-space:nowrap}

.bnchk-2col{display:grid;grid-template-columns:1fr;gap:14px}
@media(min-width:520px){.bnchk-2col{grid-template-columns:1fr 1fr}}

.bnchk-pay-grid{display:grid;grid-template-columns:1fr;gap:10px}
@media(min-width:520px){.bnchk-pay-grid{grid-template-columns:1fr 1fr}}
.bnchk-pay{display:flex;align-items:center;gap:12px;padding:14px;border:1.5px solid #e5e7eb;border-radius:14px;cursor:pointer;transition:.15s;background:#fff;position:relative}
.bnchk-pay input{display:none}
.bnchk-pay.active{border-color:var(--bnchk-theme,#f16e22);background:rgba(241,110,34,.05)}
.bnchk-pay-icon{width:42px;height:42px;border-radius:10px;background:#f3f4f6;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:14px;flex-shrink:0;color:#374151}
.bnchk-cod-bg{background:#dcfce7;color:#15803d}
.bnchk-bkash-bg{background:#e2136e;color:#fff}
.bnchk-pay-name{flex:1;font-weight:700;font-size:14px;color:#0f172a;display:flex;flex-direction:column;gap:2px}
.bnchk-pay-name small{color:#64748b;font-size:11px;font-weight:600}
.bnchk-pay.active .bnchk-pay-name small{color:#15803d}
.bnchk-pay-dot{width:20px;height:20px;border:2px solid #cbd5e1;border-radius:50%;flex-shrink:0}
.bnchk-pay.active .bnchk-pay-dot{background:var(--bnchk-theme);border-color:var(--bnchk-theme);box-shadow:inset 0 0 0 3px #fff}
.bnchk-bkash-info{margin-top:12px;padding:12px;background:#fdf2f8;border:1px dashed #f9a8d4;border-radius:12px;font-size:13px;color:#831843}

.bnchk-items{display:flex;flex-direction:column;gap:10px;max-height:340px;overflow:auto;margin-bottom:12px}
.bnchk-item{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid #f1f2f5;border-radius:12px;background:#fafbfc}
.bnchk-item img{width:54px;height:54px;object-fit:cover;border-radius:10px;background:#fff;flex-shrink:0}
.bnchk-item-info{flex:1;min-width:0}
.bnchk-item-name{font-weight:700;font-size:13px;color:#0f172a;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.3}
.bnchk-item-price{font-size:13px;color:var(--bnchk-theme);font-weight:800;margin-top:3px}
.bnchk-item-actions{display:flex;align-items:center;gap:6px;flex-shrink:0}
.bnchk-mini-qty{display:inline-flex;align-items:center;background:var(--bnchk-theme,#1f7ae0);border-radius:999px;padding:3px;gap:0}
.bnchk-mini-qty button{width:26px;height:24px;border:0;background:transparent;cursor:pointer;color:#fff;display:flex;align-items:center;justify-content:center;border-radius:999px;padding:0}
.bnchk-mini-qty button:hover{background:rgba(255,255,255,.2)}
.bnchk-mini-qty button svg{pointer-events:none}
.bnchk-mini-qty span{min-width:22px;text-align:center;font-weight:800;font-size:13px;color:#fff;padding:0 4px}
.bnchk-item-trash{width:32px;height:32px;border:0;background:#fef2f2;color:#dc2626;border-radius:8px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:.15s}
.bnchk-item-trash:hover{background:#dc2626;color:#fff}

.bnchk-summary .bnchk-row{display:flex;justify-content:space-between;padding:8px 0;font-size:14px;color:#374151}
.bnchk-summary .bnchk-total{border-top:1.5px dashed #e5e7eb;margin-top:6px;padding-top:14px;font-size:17px;font-weight:800;color:#0f172a}
.bnchk-summary .bnchk-total span:last-child{color:var(--bnchk-theme)}

.bnchk-btn{width:100%;margin-top:14px;height:var(--bnchk-bh,56px);background:var(--bnchk-theme,#f16e22);color:#fff;border:0;border-radius:14px;font-weight:800;font-size:16px;cursor:pointer;letter-spacing:.3px;box-shadow:0 8px 20px -8px rgba(241,110,34,.5);transition:.15s;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-family:inherit}
.bnchk-btn:hover{transform:translateY(-1px);filter:brightness(1.05)}
.bnchk-btn:disabled{opacity:.7;cursor:wait}
.bnchk-msg{margin-top:10px;font-size:13px;text-align:center;min-height:18px}
.bnchk-msg.err{color:#dc2626}
.bnchk-msg.ok{color:#059669}

/* Loading overlay shown for ~2s on order submit */
.bnchk-loading{position:fixed;inset:0;background:rgba(15,23,42,.55);backdrop-filter:blur(4px);z-index:99999;display:none;align-items:center;justify-content:center}
.bnchk-loading.show{display:flex;animation:bnchk-fade .2s ease}
.bnchk-loading-card{background:#fff;border-radius:20px;padding:30px 36px;text-align:center;box-shadow:0 20px 60px -10px rgba(0,0,0,.3);display:flex;flex-direction:column;align-items:center;gap:14px;min-width:260px}
.bnchk-loading-ring{width:54px;height:54px;border:4px solid #f1f5f9;border-top-color:var(--bnchk-theme,#f16e22);border-radius:50%;animation:bnchk-spin 1s linear infinite}
.bnchk-loading-text{font-size:14px;color:#0f172a;font-weight:700}
@keyframes bnchk-spin{to{transform:rotate(360deg)}}
@keyframes bnchk-fade{from{opacity:0}to{opacity:1}}

/* Success page */
.bnchk-success-wrap{max-width:560px;margin:60px auto;padding:0 16px;font-family:-apple-system,'Hind Siliguri',sans-serif}
.bnchk-success-card{background:#fff;border-radius:24px;padding:40px 28px;text-align:center;box-shadow:0 10px 40px -10px rgba(0,0,0,.1)}
.bnchk-success-icon{width:76px;height:76px;margin:0 auto 20px;border-radius:50%;background:#10b981;color:#fff;display:flex;align-items:center;justify-content:center}
.bnchk-success-card h2{font-size:24px;margin:0 0 14px;color:#0f172a}
.bnchk-success-card p{margin:6px 0;color:#374151}
.bnchk-success-note{color:#6b7280;font-size:13px;margin:14px 0 22px!important}
.bnchk-success-card .bnchk-btn{display:inline-flex;width:auto;padding:0 26px;text-decoration:none}
