/* Omoorjeeshaa Pay by QR */
.owa-pay.opq-on .owa-pay__grid { display: block !important; }
.owa-pay.opq-on .owa-pay__qr { max-width: 360px; margin: 0 auto; }

.opq-steps { list-style: none !important; margin: 4px 0 18px !important; padding: 0 !important; display: grid; gap: 10px; counter-reset: none; }
.opq-steps li { display: flex; gap: 12px; align-items: flex-start; margin: 0 !important; padding: 14px 16px; border-radius: 14px; background: var(--owa-soft, #e9f5ee); border: 1px solid var(--owa-line, #d6e6dc); color: var(--owa-ink, #1c2a22); font-size: 16px; line-height: 1.5; }
.opq-steps li::before, .opq-steps li::marker { content: none; }
.opq-steps li > div { flex: 1 1 auto; min-width: 0; }
.opq-n { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; background: var(--owa-p, #1d7a46); color: #fff; font-weight: 800; font-size: 15px; display: grid; place-items: center; margin-top: 1px; }
.opq-steps .opq-amt { color: #7a1d00; font-size: 17px; }
.opq-steps li:has(.opq-amt) { background: #fff7e0; border: 2px solid #f0c24a; }
.opq-steps li:has(.opq-amt) .opq-n { background: #7a1d00; }

.opq-steps .opq-save { display: flex !important; width: 100%; justify-content: center; align-items: center; gap: 8px; margin-top: 10px; min-height: 50px; font-size: 16px; }
.opq-save svg { flex: 0 0 auto; }
.opq-save.is-done { filter: saturate(.85); }

.opq-qrtools { margin-top: 12px; }
.opq-qrtools .opq-save { display: inline-flex !important; align-items: center; gap: 8px; }
.opq-saved { margin: 8px 0 0 !important; font-size: 14px; font-weight: 600; color: var(--owa-pt, #1d7a46); }

.opq-overlay { position: fixed; inset: 0; z-index: 999999; background: rgba(10, 25, 17, .82); display: grid; place-items: center; padding: 16px; }
.opq-overlay__card { background: #fff; border-radius: 18px; padding: 16px; max-width: 420px; width: 100%; max-height: 92vh; overflow: auto; text-align: center; }
.opq-overlay__card img { display: block; width: 100%; height: auto; margin: 10px 0 14px; border-radius: 10px; -webkit-touch-callout: default; }
.opq-overlay__hint { margin: 0 !important; font-size: 15px; line-height: 1.45; color: #1c2a22; }
.opq-overlay__close { width: 100%; justify-content: center; }

@media (max-width: 480px) {
	.opq-steps li { padding: 12px 13px; font-size: 15px; gap: 10px; }
}

/* Hide the floating "Book now" bar while the customer is paying. */
body:has(.owa-pay.opq-on:not([hidden])) .owa-sticky { display: none !important; }
