/* Payment-only presentation. Other theme pages are untouched. */
body.sgd-payment-page {
	background: #fff;
	color: #07111f;
	font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 14px;
	line-height: 1.5;
	margin: 0;
}
body.sgd-payment-page * { box-sizing: border-box; }
.sgd-payment { border-top: 3px solid #f0f3f8; min-height: 100vh; padding: 32px 20px 24px; }
.sgd-payment__container { margin: 0 auto; max-width: 640px; width: 100%; }
.sgd-payment__breadcrumb { align-items: center; display: flex; flex-wrap: wrap; font-size: 11px; gap: 9px; margin-bottom: 20px; }
.sgd-payment__breadcrumb a { color: #0b1727; text-decoration: none; }
.sgd-payment__title { color: #07111f; font-size: 28px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; margin: 0 0 7px; }
.sgd-payment__subtitle { color: #5a687b; font-size: 13px; margin: 0 0 20px; }
.sgd-payment-summary { background: #f6f8fb; border-radius: 10px; margin-bottom: 22px; overflow: hidden; }
.sgd-payment-summary > div { align-items: center; border-bottom: 1px solid #e8edf3; display: flex; gap: 20px; justify-content: space-between; padding: 14px 16px; }
.sgd-payment-summary > div:last-child { border-bottom: 0; }
.sgd-payment-summary span { color: #526075; font-size: 11px; }
.sgd-payment-summary strong { font-size: 12px; text-align: right; }
.sgd-payment-summary__total strong { color: #2554e8; font-size: 19px; }
.sgd-payment-form { margin: 0; }
.sgd-payment-methods,
.sgd-payment-details { background: #f6f8fb; border-radius: 10px; margin-bottom: 18px; padding: 16px; }
.sgd-payment-section-head h2 { font-size: 15px; margin: 0 0 4px; }
.sgd-payment-section-head p { color: #5a687b; font-size: 11px; margin: 0 0 14px; }
.sgd-payment-method-grid { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sgd-payment-method { align-items: center; background: #fff; border: 1px solid #e2e8f0; border-radius: 9px; cursor: pointer; display: flex; gap: 10px; min-height: 72px; padding: 11px; position: relative; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.sgd-payment-method:first-child { grid-column: 1 / -1; }
.sgd-payment-method:hover { border-color: #b8c7ef; transform: translateY(-1px); }
.sgd-payment-method:has(input:checked) { border-color: #2554e8; box-shadow: 0 0 0 3px rgba(37,84,232,.09); }
.sgd-payment-method input { height: 15px; margin: 0; width: 15px; }
.sgd-payment-method__mark { align-items: center; background: #edf2ff; border-radius: 7px; color: #2554e8; display: flex; flex: 0 0 42px; font-size: 11px; font-weight: 800; height: 38px; justify-content: center; }
.sgd-payment-method--primary .sgd-payment-method__mark { background: #2554e8; color: #fff; }
.sgd-payment-method__copy { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.sgd-payment-method__copy strong { font-size: 12px; }
.sgd-payment-method__copy small { color: #68768a; font-size: 9px; line-height: 1.45; margin-top: 2px; }
.sgd-payment-method__recommended { background: #e8f0ff; border-radius: 999px; color: #2554e8; font-size: 9px; font-weight: 700; padding: 4px 8px; }
.sgd-payment-detail[hidden] { display: none !important; }
.sgd-payment-qris { align-items: center; display: grid; gap: 22px; grid-template-columns: minmax(190px, 230px) 1fr; }
.sgd-payment-qris__image { align-items: center; aspect-ratio: 1; background: #fff; border: 1px dashed #c8d2df; border-radius: 10px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 14px; text-align: center; }
.sgd-payment-qris__image img { display: block; height: 100%; object-fit: contain; width: 100%; }
.sgd-payment-qris__image > span { color: #2554e8; font-size: 24px; font-weight: 800; }
.sgd-payment-qris__image small { color: #7a8798; font-size: 9px; margin-top: 8px; }
.sgd-payment-qris__copy h3,
.sgd-payment-bank__data h3 { font-size: 17px; margin: 0 0 8px; }
.sgd-payment-qris__copy p { font-size: 13px; font-weight: 600; margin: 0 0 8px; }
.sgd-payment-qris__copy small,
.sgd-payment-bank__data small { color: #5c6a7d; display: block; font-size: 10px; line-height: 1.6; margin-top: 12px; }
.sgd-payment-bank { align-items: flex-start; display: flex; gap: 16px; }
.sgd-payment-bank__logo { align-items: center; background: #2554e8; border-radius: 10px; color: #fff; display: flex; flex: 0 0 72px; font-size: 15px; font-weight: 800; height: 56px; justify-content: center; }
.sgd-payment-bank__data { flex: 1; min-width: 0; }
.sgd-payment-bank__data > span { color: #6a7789; display: block; font-size: 9px; margin-top: 8px; }
.sgd-payment-bank__data > strong { display: block; font-size: 13px; margin-top: 2px; }
.sgd-payment-copy-row { align-items: center; display: flex; gap: 10px; justify-content: space-between; margin-top: 2px; }
.sgd-payment-copy-row strong { font-size: 18px; letter-spacing: .03em; overflow-wrap: anywhere; }
.sgd-payment-copy { background: #edf2ff; border: 0; border-radius: 6px; color: #2554e8; cursor: pointer; font-size: 10px; font-weight: 700; padding: 7px 10px; }
.sgd-payment__button,
.sgd-payment-confirm { align-items: center; border: 0; border-radius: 6px; cursor: pointer; display: flex; font: inherit; font-size: 13px; font-weight: 700; justify-content: center; min-height: 45px; padding: 12px 18px; text-align: center; text-decoration: none; width: 100%; }
.sgd-payment__button { background: #2554e8; color: #fff; }
.sgd-payment__button:hover { background: #1945d6; color: #fff; }
.sgd-payment-confirm { background: #16a66a; color: #fff; margin-top: 12px; }
.sgd-payment-confirm:hover { background: #118757; color: #fff; }
.sgd-payment-help { color: #657286; font-size: 10px; margin: 12px 0 0; text-align: center; }
.sgd-payment-error { background: #fff1f2; border: 1px solid #fecdd3; border-radius: 8px; color: #9f1239; font-size: 12px; margin: 0 0 18px; padding: 13px 15px; }
.sgd-payment-empty { background: #f6f8fb; border-radius: 12px; padding: 32px 24px; text-align: center; }
.sgd-payment-empty h2 { font-size: 22px; margin: 0 0 8px; }
.sgd-payment-empty p { color: #536176; margin: 0 0 22px; }
.sgd-payment-footer { color: #172238; font-size: 10px; margin-top: 45px; text-align: center; }
@media (max-width: 640px) {
	.sgd-payment { padding: 24px 15px; }
	.sgd-payment__title { font-size: 26px; }
	.sgd-payment-method-grid { grid-template-columns: 1fr; }
	.sgd-payment-method:first-child { grid-column: auto; }
	.sgd-payment-qris { grid-template-columns: 1fr; }
	.sgd-payment-qris__image { margin: 0 auto; max-width: 260px; width: 100%; }
}
@media (max-width: 420px) {
	.sgd-payment-method__recommended { display: none; }
	.sgd-payment-bank__logo { flex-basis: 58px; height: 48px; }
	.sgd-payment-summary > div { align-items: flex-start; flex-direction: column; gap: 3px; }
	.sgd-payment-summary strong { text-align: left; }
}
.sgd-payment-method.is-selected { border-color: #2554e8; box-shadow: 0 0 0 3px rgba(37,84,232,.09); }


/* Screenshot reminder before opening WhatsApp. */
body.sgd-payment-modal-open { overflow: hidden; }
.sgd-payment-modal[hidden] { display: none !important; }
.sgd-payment-modal {
	align-items: center;
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 20px;
	position: fixed;
	z-index: 99999;
}
.sgd-payment-modal__backdrop {
	background: rgba(7, 17, 31, .68);
	inset: 0;
	opacity: 0;
	position: absolute;
	transition: opacity .18s ease;
}
.sgd-payment-modal__dialog {
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 24px 80px rgba(7, 17, 31, .26);
	max-width: 430px;
	opacity: 0;
	outline: 0;
	padding: 26px;
	position: relative;
	text-align: center;
	transform: translateY(10px) scale(.98);
	transition: opacity .18s ease, transform .18s ease;
	width: 100%;
	z-index: 1;
}
.sgd-payment-modal.is-open .sgd-payment-modal__backdrop { opacity: 1; }
.sgd-payment-modal.is-open .sgd-payment-modal__dialog { opacity: 1; transform: translateY(0) scale(1); }
.sgd-payment-modal__icon {
	align-items: center;
	background: #fff4d9;
	border-radius: 999px;
	color: #c97800;
	display: flex;
	font-size: 24px;
	font-weight: 800;
	height: 52px;
	justify-content: center;
	margin: 0 auto 14px;
	width: 52px;
}
.sgd-payment-modal__dialog h2 { color: #07111f; font-size: 20px; margin: 0 0 9px; }
.sgd-payment-modal__dialog p { color: #5a687b; font-size: 13px; line-height: 1.65; margin: 0; }
.sgd-payment-modal__actions { display: grid; gap: 10px; grid-template-columns: 1fr 1.45fr; margin-top: 22px; }
.sgd-payment-modal__cancel,
.sgd-payment-modal__continue {
	align-items: center;
	border: 0;
	border-radius: 8px;
	cursor: pointer;
	display: flex;
	font: inherit;
	font-size: 12px;
	font-weight: 700;
	justify-content: center;
	min-height: 44px;
	padding: 11px 14px;
	text-decoration: none;
}
.sgd-payment-modal__cancel { background: #eef2f7; color: #27364b; }
.sgd-payment-modal__continue { background: #16a66a; color: #fff; }
.sgd-payment-modal__cancel:hover { background: #e2e8f0; }
.sgd-payment-modal__continue:hover { background: #118757; color: #fff; }
@media (max-width: 480px) {
	.sgd-payment-modal { padding: 14px; }
	.sgd-payment-modal__dialog { border-radius: 12px; padding: 22px 18px; }
	.sgd-payment-modal__actions { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	.sgd-payment-modal__backdrop,
	.sgd-payment-modal__dialog { transition: none; }
}
