/* Database values are emitted as validated CSS variables in brand-head.php. */
body, button, input, select, textarea { font-family: var(--brand-font); }
.btn-submit { background: var(--brand-primary); }
.btn-submit:hover { background: var(--brand-secondary); }
.receipt-hero-icon, .receipt-hero p strong, .payment-expiry svg, .important-item p strong, .summary-icon.primary, .bank-panel > h2 svg, .bank-row button[data-copy-value] strong, .bank-row .copy-ico, .upload-text strong { color: var(--brand-primary); }
.receipt-hero-icon, .summary-icon.primary, .upload-icon, .payment-expiry { background: var(--brand-soft); }
.upload-zone:hover, .upload-zone.is-dragging { border-color: var(--brand-primary); background: var(--brand-soft); }
.upload-icon svg { color: var(--brand-primary); }
.brand-custom { background: #f5f6f8; color: #172434; display: block; padding: 0; }
.brand-custom::before { display: none; }
.checkout-shell { margin: auto; max-width: 1200px; padding: 28px 32px 16px; width: 100%; }
.checkout-top { align-items: center; border-bottom: 1px solid #dfe4e9; display: flex; gap: 18px; justify-content: space-between; padding-bottom: 24px; }
.checkout-brand { align-items: center; display: flex; font-size: 18px; gap: 11px; }
.checkout-brand img, .checkout-mark { align-items: center; background: var(--brand-primary); border-radius: 11px; color: #fff; display: inline-flex; height: 40px; justify-content: center; object-fit: contain; width: 40px; }
.checkout-label { color: #718093; font-size: 10px; font-weight: 600; letter-spacing: .16em; }
.checkout-grid { align-items: start; display: grid; gap: 55px; grid-template-columns: minmax(250px, .8fr) minmax(0, 1.3fr); padding-top: 34px; }
.checkout-summary { padding: 14px 0; position: sticky; top: 24px; }
.checkout-summary h1 { color: var(--brand-secondary); font-size: clamp(30px, 3.5vw, 46px); font-weight: 600; letter-spacing: -.055em; line-height: 1.14; margin: 18px 0; }
.checkout-summary > p { color: #6e7b8c; font-size: 13px; line-height: 1.8; max-width: 320px; }
.checkout-total { border-bottom: 1px solid #dfe4e9; border-top: 1px solid #dfe4e9; margin: 28px 0 20px; padding: 20px 0; }
.checkout-total > span { color: #6e7b8c; font-size: 11px; }
.checkout-total strong { color: #172434; display: block; font-size: 36px; font-weight: 600; letter-spacing: -.04em; margin-top: 6px; }
.checkout-total small { color: #718093; font-size: 14px; font-weight: 500; }
.checkout-summary dl { display: grid; font-size: 11px; gap: 12px; grid-template-columns: auto 1fr; }
.checkout-summary dt { color: #718093; }
.checkout-summary dd { margin: 0; overflow-wrap: anywhere; text-align: right; }
.checkout-steps { list-style: none; margin: 28px 0; padding: 0; }
.checkout-steps li { align-items: center; display: flex; font-size: 12px; gap: 12px; margin: 15px 0; }
.checkout-steps span { align-items: center; background: var(--brand-soft); border: 1px solid #dce3e7; border-radius: 50%; color: var(--brand-primary); display: flex; font-size: 10px; height: 27px; justify-content: center; width: 27px; }
.checkout-summary p.checkout-note { border-left: 2px solid var(--brand-primary); font-size: 11px; padding-left: 13px; }
.brand-custom .card { border: 1px solid #e1e6eb; border-radius: 16px; box-shadow: 0 8px 32px #17243405; max-width: none; width: 100%; }
.brand-custom #formView.receipt-page { padding: 26px 22px; }
.brand-custom .receipt-hero { text-align: left; }
.brand-custom .receipt-hero-icon { border-radius: 10px; height: 40px; width: 40px; }
.brand-custom .receipt-hero h1 { font-size: 23px; letter-spacing: -.04em; margin-top: 14px; }
.brand-custom .receipt-hero p { color: #718093; font-size: 11px; line-height: 1.7; margin-top: 8px; }
.brand-custom .payment-expiry { border: 0; border-radius: 7px; margin-top: 12px; padding: 7px 10px; }
.brand-custom .important-panel { background: #f8f9fb; border: 1px solid #e7ebef; border-radius: 10px; padding: 16px 12px; }
.brand-custom .important-grid { gap: 15px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.brand-custom .important-item { border: 0 !important; padding: 0 6px; }
.brand-custom .important-item h3 { font-size: 10px; }
.brand-custom .important-item p { font-size: 11px; line-height: 1.6; }
.brand-custom .important-icon { color: var(--brand-primary); }
.brand-custom .summary-grid { display: none; }
.brand-custom .bank-panel { background: #fff; border: 0; border-radius: 0; margin-top: 24px; padding: 0; }
.brand-custom .bank-panel > h2 { font-size: 14px; }
.brand-custom .bank-layout { grid-template-columns: 1fr; margin-top: 13px; }
.brand-custom .bank-details { background: #f8f9fb; border: 1px solid #e4e9ee; border-radius: 10px; padding: 5px 15px; }
.brand-custom .bank-row { min-height: 42px; }
.brand-custom .bank-row + .bank-row { border-color: #e4e9ee; }
.brand-custom .bank-visual { display: none; }
.brand-custom .receipt-upload-section { margin: 24px 0 0; }
.brand-custom .upload-zone { background: #fcfdfd; border-color: #ccd5dd; min-height: 130px; }
.brand-custom .upload-icon { border-radius: 10px; }
.brand-custom .btn-submit { background: var(--brand-primary); border-radius: 9px; box-shadow: none; margin: 18px 0 0; width: 100%; }
.brand-custom .btn-submit:hover { background: var(--brand-secondary); }
.brand-custom #processingView, .brand-custom #successView { padding: 35px 24px; }
.checkout-footer { color: #83909f; font-size: 10px; padding: 28px 0 10px; text-align: center; }
@media (max-width: 850px) {
  .checkout-shell { padding: 20px 16px 12px; }
  .checkout-top { padding-bottom: 18px; }
  .checkout-top > .checkout-label { display: none; }
  .checkout-grid { gap: 22px; grid-template-columns: 1fr; padding-top: 22px; }
  .checkout-summary { padding: 0; position: static; }
  .checkout-summary h1 { font-size: 30px; }
  .checkout-summary > p, .checkout-steps, .checkout-summary p.checkout-note { display: none; }
  .checkout-total { margin: 20px 0 14px; padding: 14px 0; }
  .checkout-total strong { font-size: 30px; }
  .brand-custom #formView.receipt-page { padding: 22px 16px; }
}
