/* "দ্রুত অর্ডার" popup — shell only. All inner looks come from checkout.css (.mc-co-*). */
html.mc-qo-open, html.mc-qo-open body { overflow: hidden; }
.mc-qo[hidden] { display: none; }
.mc-qo { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 3vh 13px; }
.mc-qo__backdrop { position: absolute; inset: 0; background: rgba(10, 15, 40, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.mc-qo .mc-qo__sheet.mc-co {
	position: relative; width: 100%; max-width: 560px; max-height: 100%; margin: 0;
	display: flex; flex-direction: column; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch;
	box-shadow: 0 24px 60px rgba(10, 15, 40, .35);
}
.mc-qo .mc-co-hero { position: sticky; top: 0; z-index: 5; flex: none; }
.mc-qo .mc-co-hero__close { cursor: pointer; border: 0; padding: 0; }
.mc-qo__body { flex: none; }
.mc-qo__sheet.is-busy .mc-qo__body { opacity: .7; transition: opacity .15s; }
.mc-qo__loading { display: grid; place-items: center; min-height: 220px; color: #6b7388; font-size: 15px; }
.mc-qo .mc-co-form { padding-top: 22px; }
.mc-qo .mc-co-addmore { width: 100%; cursor: pointer; font-family: inherit; }
.mc-qo .mc-co-addmore { background: #fff !important; color: var(--co-green) !important; border: 1px dashed #b4dcae !important; box-shadow: none !important; }
.mc-qo .mc-co-hero__close { background: #e6e8ef !important; color: #3c4152 !important; }
.mc-qo .mc-co-item__media { display: block; }
.mc-qo .mc-co-submit:disabled { opacity: .6; cursor: wait; }
.mc-qo .mc-co-field.woocommerce-invalid input.input-text,
.mc-qo .mc-co-field.woocommerce-invalid textarea { border-color: var(--co-red); box-shadow: 0 0 0 3px rgba(239, 68, 68, .1); }
.mc-qo .mc-co-banner:empty { display: none; }
.mc-qo .payment_box { margin: 0; padding: 12px 14px; border: 1px solid var(--co-line); border-radius: 14px; background: #fff; color: var(--co-ink); font-size: 14px; line-height: 1.6; }
.mc-qo .payment_box p { margin: 0 0 8px; }
.mc-qo .payment_box .form-row { margin: 0; }
.mc-qo .payment_box .form-row label { font-size: 14px; font-weight: 600; }
.mc-qo .mc-co-row--coupon a { margin-left: 8px; font-size: 13px; color: #b42318; text-decoration: underline; }
.mc-qo .mc-co-summary.mc-co-card { margin-bottom: 0; }

/* Order done screen */
.mc-qo-done { padding: 32px 20px 24px; text-align: center; }
.mc-qo-done__tick { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--co-green-soft); color: var(--co-green); border: 2px solid var(--co-green-line); }
.mc-qo-done h3 { margin: 14px 0 4px; font-size: 20px; font-weight: 800; color: var(--co-ink); }
.mc-qo-done__no { margin: 0 0 12px; font-size: 16px; color: var(--co-muted); }
.mc-qo-done__no strong { color: var(--co-green); }
.mc-qo-done__items { list-style: none; margin: 0 0 12px; padding: 10px 14px; background: #fafafa; border: 1px solid var(--co-line); border-radius: 14px; text-align: left; font-size: 15px; }
.mc-qo-done__items li { margin: 3px 0; }
.mc-qo-done .mc-co-totals { text-align: left; }
.mc-qo-done__note { margin: 12px 0 14px; color: var(--co-muted); font-size: 14px; }
.mc-qo-done__link { display: inline-block; margin-top: 12px; color: var(--co-green); font-weight: 600; font-size: 14px; }

a[data-mc-quick].is-busy, .mc-buy-now-button.is-busy { opacity: .6; pointer-events: none; }
@media (max-width: 520px) { .mc-qo { padding: 0; align-items: flex-end; } .mc-qo .mc-qo__sheet.mc-co { max-height: 96%; border-radius: 24px 24px 0 0; } }
