	body #payment_option{
		padding-right: 0 !important;
	}
	body #payment_option .modal-dialog{
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		width: 100%;
		max-width: 760px;
		margin: 0 auto;
		transform: translateY(100%);
		transition: transform .28s ease-out;
	}
	body #payment_option.show .modal-dialog{
		transform: translateY(0);
	}
	body #payment_option .modal-content{
		max-height: 72vh !important;
		border: 0;
		border-radius: 18px 18px 0 0;
		overflow: hidden;
		background: #ffffff !important;
	}
	body #payment_option .modal-header{
		border: 0;
		padding: 18px 18px 8px;
		align-items: center;
	}
	body #payment_option .modal-title{
		color: #1d1d1f;
		font-size: 20px;
		font-weight: 800;
		line-height: 1.2;
	}
	body #payment_option .close{
		margin: -6px -4px 0 auto;
		color: #777;
		font-size: 36px;
		line-height: 1;
		opacity: 1;
	}
	body #payment_option .modal-header,
    body #payment_option .modal-footer { flex-shrink: 0; }
    body #payment_option .modal-body{
        min-height: 0;
        overflow-y: auto;
		padding: 8px 18px;
	}
	body #payment_option .payment_option_errmsg{
		padding-top: 0;
	}
	body #payment_option .invoice-payment-error-state{
		min-height: 190px;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 12px;
		text-align: center;
	}
	body #payment_option .invoice-payment-error-state img{
		width: 300px;
		max-width: 42vw;
		height: auto;
		display: block;
	}
	body #payment_option .invoice-payment-error-text{
		color: #1d1d1f;
		font-size: 16px;
		font-weight: 700;
		line-height: 1.4;
	}
	body #payment_option .alert{
		border: 0;
		border-radius: 10px;
		margin-bottom: 0;
		font-size: 14px;
		font-weight: 700;
	}
	body #payment_option_html{
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}
	body #payment_option .invoice-voucher-wrap{
		margin-bottom: 14px;
		padding: 14px;
		border-radius: 12px;
		background: #f6f7f8;
	}
	body #payment_option .invoice-voucher-row{
		display: flex !important;
		align-items: flex-end !important;
		gap: 8px;
		flex-wrap: nowrap;
	}
	body #payment_option .invoice-voucher-main{
		flex: 1 1 auto;
		min-width: 0;
	}
	body #payment_option .invoice-voucher-title{
		color: #1d1d1f;
		font-size: 16px;
		margin-bottom: 10px;
	}
	body #payment_option .invoice-voucher-input{
		height: 40px !important;
		border: 0 !important;
		border-radius: 9px !important;
		background: #ffffff !important;
		color: #1d1d1f !important;
		-webkit-text-fill-color: #1d1d1f !important;
		font-size: 22px !important;
		font-weight: 800 !important;
		line-height: 40px !important;
		opacity: 1 !important;
		padding: 0 12px !important;
		text-align: right !important;
		caret-color: #1d1d1f !important;
	}
	body #payment_option .invoice-voucher-use-btn{
		flex: 0 0 72px;
		min-width: 72px;
		width: 72px;
		height: 40px;
		border-radius: 9px !important;
		background: var(--storebgVar, #ffb900) !important;
		color: var(--storecolorVar, #111) !important;
		font-size: 17px;
		line-height: 1;
	}
	body #payment_option .invoice-voucher-links{
		display: flex;
		flex-wrap: wrap;
		gap: 8px 12px;
		margin-top: 8px;
		line-height: 1.25;
	}
	body #payment_option .invoice-voucher-links a{
		color: #1d1d1f !important;
		font-size: 13px;
	}
	body #payment_option #use_invoice_voucher_btn_all_payment_option{
		color: var(--storebgVar, #ffb900) !important;
	}
	body #payment_option .invoice-voucher-hint{
		text-align: right;
	}
	body #payment_option .invoice-voucher-hint b{
		color: #1d1d1f;
		font-size: 16px;
		font-weight: 800;
	}
	body #payment_option #invoice_payment_option_wrap_payment_option{
		padding: 14px;
		border-radius: 12px;
		background: #f6f7f8;
	}
	body #payment_option .invoice-payment-select{
		height: 46px;
		border: 0;
		border-radius: 10px;
		background: #ffffff;
		color: #1d1d1f;
		font-size: 16px;
		font-weight: 700;
		padding: 0 12px;
		outline: none;
		box-shadow: none;
	}
	body #payment_option .modal-footer{
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 10px;
		border: 0;
		padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
		background: #ffffff;
	}
	body #payment_option .modal-footer .btn{
		width: 100% !important;
		min-height: 44px;
		margin: 0;
		border: 0;
		border-radius: 10px;
		font-size: 16px;
		font-weight: 800;
	}
	body #payment_option .modal-footer .btn-primary{
		background: var(--storebgVar, #ffb900);
		color: var(--storecolorVar, #111);
	}
	body #payment_option .modal-footer .btn-secondary{
		background: #eef0f2;
		color: #1d1d1f;
	}

@media (max-width: 767.98px){
		body #payment_option .modal-dialog{
			max-width: 100%;
		}
		body #payment_option .modal-content{
			position: fixed;
			right: 0;
			bottom: 0;
			left: 0;
			width: 100%;
			max-height: 76vh !important;
		}
}

@media (prefers-reduced-motion: reduce) {
    body #payment_option .modal-dialog { transition: none; }
}

#payment_info_type_status[hidden] { display: none !important; }

#orderhistory-modal .order-balance-payment {
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid currentColor;
    border-radius: 999px;
    background: #fff;
    color: #212529;
    font-size: 14px;
    font-weight: 700;
}

.order-balance-documents {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin-top: 6px;
}
.order-balance-documents:empty { display: none; }
