:root {
  --mv-navy: #0d3b66;
  --mv-navy-deep: #072847;
  --mv-night: #061827;
  --mv-coral: #e76f51;
  --mv-gold: #e9c46a;
  --mv-gold-soft: #f7e8ac;
  --mv-cream: #fffaf0;
  --mv-paper: #ffffff;
  --mv-ink: #123047;
  --mv-muted: #587081;
  --mv-line: #dce5ea;
  --mv-success: #16825d;
  --mv-shadow: 0 14px 34px rgba(7, 40, 71, 0.09);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--mv-cream);
  color-scheme: light;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-text-size-adjust: 100%;
}

body.payment-checkout-page {
  width: 100%;
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  color: var(--mv-ink);
  background: var(--mv-cream);
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.checkout-site-header {
  position: relative;
  z-index: 2;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  border-top: 5px solid var(--mv-navy-deep);
  border-bottom: 1px solid var(--mv-line);
}

.checkout-site-header-inner {
  display: flex;
  width: min(100% - 30px, 1120px);
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 auto;
}

.checkout-brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  color: var(--mv-navy-deep);
  text-decoration: none;
}

.checkout-brand img {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  object-fit: contain;
}

.checkout-brand div {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.checkout-brand strong {
  overflow: hidden;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkout-brand span {
  color: var(--mv-muted);
  font-size: 0.58rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.checkout-header-nav {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
}

.checkout-header-nav a {
  display: grid;
  min-height: 40px;
  padding: 8px 10px;
  place-items: center;
  border-radius: 10px;
  font-size: 0.69rem;
  font-weight: 800;
  text-decoration: none;
  transition: color 170ms ease, background-color 170ms ease, transform 170ms ease;
}

.checkout-home-link {
  color: var(--mv-navy);
}

.checkout-help-link {
  color: #fff;
  background: var(--mv-navy);
}

.checkout-page-main {
  width: 100%;
  padding: 30px 0 54px;
  background:
    radial-gradient(circle at 100% 0, rgba(233, 196, 106, 0.18), transparent 31rem),
    linear-gradient(180deg, #fff 0, var(--mv-cream) 40rem, #fffdf7 100%);
}

.checkout-page-container {
  width: min(100% - 30px, 1120px);
  margin: 0 auto;
}

.payment-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 570px;
  padding: 0;
  margin: 0 auto 30px;
  list-style: none;
}

.payment-progress li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: #899aa7;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.payment-progress li:not(:last-child)::after {
  position: absolute;
  top: 14px;
  left: calc(50% + 19px);
  z-index: 0;
  width: calc(100% - 38px);
  height: 2px;
  background: #d9e1e5;
  content: "";
}

.payment-progress li span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #718794;
  background: #edf1f3;
  border-radius: 50%;
  font-size: 0.76rem;
}

.payment-progress li.is-current,
.payment-progress li.is-complete {
  color: var(--mv-navy);
}

.payment-progress li.is-current span {
  color: #fff;
  background: var(--mv-navy);
  box-shadow: 0 0 0 5px rgba(13, 59, 102, 0.1);
}

.payment-progress li.is-complete span {
  color: var(--mv-navy-deep);
  background: var(--mv-gold);
}

.payment-progress li.is-complete::after {
  background: var(--mv-gold);
}

.payment-eyebrow {
  margin: 0 0 8px;
  color: var(--mv-coral);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.13em;
}

.payment-chooser-heading {
  max-width: 900px;
  margin-bottom: 24px;
}

.payment-chooser-heading h1,
.payment-panel-heading h2 {
  margin: 0;
  color: var(--mv-navy);
  font-size: clamp(2.15rem, 10vw, 3rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.payment-chooser-heading > p:last-child,
.payment-panel-heading > div > p:last-child {
  max-width: 780px;
  margin: 14px 0 0;
  color: var(--mv-muted);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.6;
}

.payment-method-grid,
.payment-secondary-grid {
  display: grid;
  gap: 13px;
}

.payment-method-card {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 28px;
  min-height: 102px;
  align-items: center;
  gap: 12px;
  padding: 16px;
  overflow: hidden;
  color: var(--mv-navy-deep);
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--mv-line);
  border-radius: 18px;
  box-shadow: var(--mv-shadow);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.payment-method-card-featured {
  grid-template-columns: 82px minmax(0, 1fr) 30px;
  min-height: 154px;
  padding: 43px 16px 18px;
  color: #fff;
  background:
    radial-gradient(circle at 86% 115%, rgba(233, 196, 106, 0.28), transparent 45%),
    linear-gradient(135deg, var(--mv-navy-deep), var(--mv-navy));
  border: 3px solid var(--mv-gold);
  box-shadow: 0 0 0 4px rgba(233, 196, 106, 0.26), 0 18px 38px rgba(7, 40, 71, 0.18);
}

.payment-method-card-featured::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-top: 54px solid var(--mv-coral);
  border-left: 54px solid transparent;
  content: "";
}

.payment-card-badge {
  position: absolute;
  top: 15px;
  left: 16px;
  color: var(--mv-gold-soft);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.payment-provider-logo,
.payment-panel-logo {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  background: #fff;
  border-radius: 15px;
}

.payment-provider-logo {
  width: 58px;
  height: 58px;
}

.payment-method-card-featured .payment-provider-logo-qris {
  width: 82px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 12px;
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.12);
}

.payment-provider-logo img {
  width: 74%;
  height: 74%;
  object-fit: contain;
}

.payment-provider-logo-wise img {
  width: 84%;
  height: 84%;
}

.payment-provider-logo-revolut img {
  width: 70%;
  height: 70%;
}

.payment-provider-logo-qris img {
  width: 88%;
  height: auto;
}

.payment-method-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.payment-method-copy strong {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.payment-method-card-featured .payment-method-copy strong {
  font-size: clamp(1.28rem, 6vw, 1.7rem);
}

.payment-method-copy small {
  color: var(--mv-muted);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.42;
}

.payment-method-card-featured .payment-method-copy small {
  color: rgba(255, 255, 255, 0.86);
}

.payment-method-copy em {
  margin-top: 2px;
  color: var(--mv-gold-soft);
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 700;
}

.payment-method-arrow {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--mv-coral);
  font-size: 1.35rem;
  font-weight: 800;
  transition: transform 180ms ease;
}

.payment-method-card-featured .payment-method-arrow {
  color: var(--mv-gold);
  font-size: 1.5rem;
}

.payment-trust-line {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  max-width: 760px;
  margin: 20px auto 0;
  color: #587181;
  text-align: center;
}

.payment-trust-line span {
  display: grid;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  place-items: center;
  color: var(--mv-success);
  background: #e6f2e9;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 800;
}

.payment-trust-line p {
  margin: 1px 0 0;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.5;
}

.payment-detail-panel {
  padding-top: 42px;
  margin-top: 42px;
  border-top: 1px solid rgba(13, 59, 102, 0.13);
}

.js .payment-detail-panel {
  display: none;
}

.js .payment-detail-panel.is-active {
  display: block;
  animation: payment-content-in 250ms ease both;
}

.payment-flow-ready .payment-detail-panel {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}

.payment-back-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  margin: 0 0 17px;
  color: var(--mv-navy);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.payment-back-link span {
  font-size: 1.05rem;
  transition: transform 180ms ease;
}

.payment-panel-heading {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}

.payment-panel-logo {
  width: 62px;
  height: 62px;
  border: 1px solid var(--mv-line);
  box-shadow: var(--mv-shadow);
}

.payment-panel-logo img {
  width: 76%;
  height: 76%;
  object-fit: contain;
}

.payment-panel-logo-wise img {
  width: 86%;
  height: 86%;
}

.payment-panel-logo-revolut img {
  width: 66%;
  height: 66%;
}

.payment-panel-logo-qris {
  width: 76px;
}

.payment-panel-logo-qris img {
  width: 88%;
  height: auto;
}

.payment-panel-heading > div {
  min-width: 0;
}

.payment-panel-heading h2 {
  font-size: clamp(1.85rem, 8vw, 2.55rem);
}

.payment-detail-grid,
.qris-payment-grid {
  display: grid;
  gap: 15px;
}

.payment-instruction-card,
.bank-details-card,
.qris-code-card,
.qris-country-card {
  margin: 0;
  background: #fff;
  border: 1px solid var(--mv-line);
  border-radius: 18px;
  box-shadow: var(--mv-shadow);
}

.payment-instruction-card,
.bank-details-card,
.qris-country-card {
  padding: 19px;
}

.payment-instruction-card h3,
.bank-details-card h3,
.qris-country-card h3,
.payment-confirm-card h3,
.checkout-support-strip h2 {
  margin: 0;
  color: var(--mv-navy-deep);
  font-size: 1.17rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.payment-steps {
  display: grid;
  gap: 13px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.payment-steps li {
  display: grid;
  grid-template-columns: 29px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
}

.payment-steps li > span {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  color: var(--mv-navy-deep);
  background: var(--mv-gold-soft);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 800;
}

.payment-steps p {
  margin: 2px 0 0;
  color: #465f70;
  font-size: 0.8rem;
  line-height: 1.58;
}

.payment-steps strong {
  color: var(--mv-navy-deep);
  font-weight: 700;
}

.payment-caution {
  padding: 13px 14px;
  margin-top: 18px;
  background: #fff7dd;
  border-left: 4px solid var(--mv-gold);
  border-radius: 5px 13px 13px 5px;
}

.payment-caution strong {
  color: var(--mv-navy-deep);
  font-size: 0.77rem;
  font-weight: 800;
}

.payment-caution p {
  margin: 4px 0 0;
  color: #5c6670;
  font-size: 0.72rem;
  line-height: 1.5;
}

.payment-caution-limit {
  background: #fff0ea;
  border-color: var(--mv-coral);
}

.bank-details-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--mv-line);
}

.copy-all-button,
.detail-copy-button {
  flex: 0 0 auto;
  color: var(--mv-navy);
  font-size: 0.7rem;
  font-weight: 800;
  cursor: pointer;
  background: #edf4f7;
  border: 1px solid #cfdee5;
  border-radius: 10px;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.copy-all-button {
  min-height: 40px;
  padding: 8px 12px;
}

.detail-copy-button {
  min-width: 54px;
  min-height: 36px;
  padding: 6px 8px;
}

.bank-detail-list {
  margin: 0;
}

.bank-detail-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #e8edef;
}

.bank-detail-row:last-child {
  border-bottom: 0;
}

.bank-detail-row dt {
  margin-bottom: 3px;
  color: #718391;
  font-size: 0.61rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.bank-detail-row dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: #304c5e;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.5;
}

.bank-detail-row.bank-detail-primary dd {
  color: var(--mv-navy-deep);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.025em;
}

.copy-status {
  min-height: 20px;
  margin: 7px 0 -7px;
  color: var(--mv-success);
  font-size: 0.67rem;
  font-weight: 700;
}

.qris-country-card {
  margin-bottom: 15px;
  background:
    radial-gradient(circle at 100% 0, rgba(233, 196, 106, 0.24), transparent 34%),
    #fff;
}

.qris-country-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 15px;
}

.qris-country-list span {
  padding: 7px 10px;
  color: var(--mv-navy-deep);
  background: #edf4f7;
  border: 1px solid #d5e2e8;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 700;
}

.qris-country-note {
  margin: 14px 0 0;
  color: var(--mv-muted);
  font-size: 0.7rem;
  line-height: 1.58;
}

.qris-country-note a {
  color: var(--mv-navy);
  font-weight: 700;
}

.qris-code-card {
  padding: 13px;
  text-align: center;
}

.qris-code-frame {
  max-width: 340px;
  padding: 7px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e4e9eb;
  border-radius: 14px;
}

.qris-code-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 1170 / 1750;
  object-fit: contain;
  border-radius: 9px;
}

.qris-code-card figcaption {
  display: grid;
  gap: 2px;
  margin: 12px 0;
}

.qris-code-card figcaption strong {
  color: var(--mv-navy-deep);
  font-size: 0.84rem;
  font-weight: 800;
}

.qris-code-card figcaption span {
  color: var(--mv-muted);
  font-size: 0.66rem;
}

.qris-code-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.qris-code-actions a {
  display: grid;
  min-height: 44px;
  padding: 8px;
  place-items: center;
  color: var(--mv-navy);
  background: #edf4f7;
  border: 1px solid #cfdee5;
  border-radius: 11px;
  font-size: 0.68rem;
  font-weight: 800;
  text-decoration: none;
}

.payment-confirm-card {
  display: grid;
  gap: 15px;
  padding: 19px;
  margin-top: 15px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 0, rgba(233, 196, 106, 0.22), transparent 36%),
    linear-gradient(135deg, var(--mv-navy-deep), var(--mv-navy));
  border: 1px solid rgba(233, 196, 106, 0.5);
  border-radius: 18px;
  box-shadow: 0 14px 32px rgba(7, 40, 71, 0.15);
}

.payment-confirm-card .payment-eyebrow {
  color: var(--mv-gold-soft);
}

.payment-confirm-card h3 {
  color: #fff;
  font-size: 1.3rem;
}

.payment-confirm-card > div > p:last-child {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.76rem;
  line-height: 1.58;
}

.payment-confirm-actions {
  display: grid;
  gap: 8px;
}

.confirm-button {
  display: grid;
  min-height: 50px;
  padding: 10px 14px;
  place-items: center;
  border-radius: 12px;
  font-size: 0.76rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: transform 170ms ease, box-shadow 170ms ease, background-color 170ms ease;
}

.confirm-whatsapp {
  color: var(--mv-navy-deep);
  background: var(--mv-gold);
}

.confirm-email {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.verification-note {
  padding-top: 12px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.63rem;
  line-height: 1.55;
}

.checkout-support-strip {
  display: grid;
  gap: 16px;
  padding: 22px 0 0;
  margin-top: 42px;
  border-top: 1px solid rgba(13, 59, 102, 0.13);
}

.checkout-support-strip > div > p:last-child {
  margin: 7px 0 0;
  color: var(--mv-muted);
  font-size: 0.76rem;
  line-height: 1.58;
}

.checkout-support-actions {
  display: grid;
  gap: 8px;
}

.checkout-support-actions a {
  display: grid;
  min-height: 48px;
  padding: 10px 14px;
  place-items: center;
  color: var(--mv-navy);
  background: #fff;
  border: 1px solid #cfdee5;
  border-radius: 12px;
  font-size: 0.73rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.checkout-site-footer {
  width: 100%;
  color: rgba(255, 255, 255, 0.76);
  background: var(--mv-night);
}

.checkout-site-footer-inner {
  display: grid;
  width: min(100% - 30px, 1120px);
  gap: 7px;
  padding: 28px 0 max(28px, env(safe-area-inset-bottom));
  margin: 0 auto;
  font-size: 0.66rem;
  line-height: 1.5;
  text-align: center;
}

.checkout-site-footer p {
  margin: 0;
}

.checkout-site-footer strong {
  color: #fff;
}

.payment-noscript {
  width: min(100% - 30px, 780px);
  padding: 11px 14px;
  margin: 16px auto;
  color: var(--mv-navy-deep);
  background: var(--mv-gold-soft);
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
}

.checkout-header-nav a:hover,
.checkout-header-nav a:focus-visible {
  transform: translateY(-1px);
}

.checkout-home-link:hover,
.checkout-home-link:focus-visible {
  background: #edf4f7;
}

.checkout-help-link:hover,
.checkout-help-link:focus-visible {
  color: var(--mv-navy-deep);
  background: var(--mv-gold);
}

.payment-method-card:hover,
.payment-method-card:focus-visible {
  z-index: 1;
  border-color: var(--mv-gold);
  box-shadow: 0 18px 38px rgba(7, 40, 71, 0.14);
  transform: translateY(-2px);
}

.payment-method-card-featured:hover,
.payment-method-card-featured:focus-visible {
  border-color: #f6d571;
  box-shadow: 0 0 0 5px rgba(233, 196, 106, 0.3), 0 20px 40px rgba(7, 40, 71, 0.23);
}

.payment-method-card:hover .payment-method-arrow,
.payment-method-card:focus-visible .payment-method-arrow {
  transform: translateX(4px);
}

.payment-back-link:hover span,
.payment-back-link:focus-visible span {
  transform: translateX(-3px);
}

.copy-all-button:hover,
.copy-all-button:focus-visible,
.detail-copy-button:hover,
.detail-copy-button:focus-visible,
.qris-code-actions a:hover,
.qris-code-actions a:focus-visible,
.checkout-support-actions a:hover,
.checkout-support-actions a:focus-visible {
  color: #fff;
  background: var(--mv-navy);
  border-color: var(--mv-navy);
}

.confirm-button:hover,
.confirm-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.16);
}

.checkout-brand:focus-visible,
.checkout-header-nav a:focus-visible,
.payment-method-card:focus-visible,
.payment-back-link:focus-visible,
.copy-all-button:focus-visible,
.detail-copy-button:focus-visible,
.qris-code-actions a:focus-visible,
.confirm-button:focus-visible,
.checkout-support-actions a:focus-visible,
.qris-country-note a:focus-visible,
h1:focus-visible,
h2:focus-visible {
  outline: 3px solid #ffbd59;
  outline-offset: 3px;
}

@media (min-width: 480px) {
  .checkout-site-header-inner,
  .checkout-page-container,
  .checkout-site-footer-inner {
    width: min(100% - 40px, 1120px);
  }

  .checkout-brand img {
    width: 48px;
    height: 48px;
  }

  .checkout-brand strong {
    font-size: 0.96rem;
  }

  .checkout-brand span {
    font-size: 0.64rem;
  }

  .checkout-header-nav a {
    padding-right: 13px;
    padding-left: 13px;
    font-size: 0.72rem;
  }

  .payment-confirm-actions,
  .checkout-support-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 720px) {
  .checkout-site-header-inner {
    min-height: 92px;
  }

  .checkout-page-main {
    padding-top: 44px;
    padding-bottom: 72px;
  }

  .payment-progress {
    margin-bottom: 40px;
  }

  .payment-chooser-heading {
    margin-bottom: 30px;
  }

  .payment-chooser-heading h1 {
    max-width: 980px;
    font-size: clamp(3rem, 6.5vw, 4.4rem);
  }

  .payment-chooser-heading > p:last-child {
    font-size: 1.02rem;
  }

  .payment-method-card-featured {
    grid-template-columns: 104px minmax(0, 1fr) 40px;
    min-height: 190px;
    padding: 54px 26px 22px;
  }

  .payment-method-card-featured > .payment-provider-logo,
  .payment-method-card-featured > .payment-method-copy,
  .payment-method-card-featured > .payment-method-arrow {
    margin-top: 16px;
  }

  .payment-method-card-featured .payment-provider-logo-qris {
    width: 104px;
    height: 68px;
  }

  .payment-method-card-featured .payment-method-copy strong {
    font-size: 1.85rem;
  }

  .payment-method-card-featured .payment-method-copy small {
    font-size: 0.88rem;
  }

  .payment-card-badge {
    top: 19px;
    left: 26px;
    font-size: 0.69rem;
  }

  .payment-secondary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
  }

  .payment-method-card {
    min-height: 116px;
    padding: 19px;
  }

  .payment-method-copy strong {
    font-size: 1.3rem;
  }

  .payment-panel-heading {
    align-items: center;
    gap: 18px;
    margin-bottom: 26px;
  }

  .payment-panel-logo {
    width: 76px;
    height: 76px;
    border-radius: 18px;
  }

  .payment-panel-logo-qris {
    width: 94px;
  }

  .payment-panel-heading h2 {
    font-size: 2.75rem;
  }

  .payment-panel-heading > div > p:last-child {
    font-size: 0.95rem;
  }

  .payment-detail-grid {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    align-items: start;
  }

  .qris-payment-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.68fr);
    align-items: start;
  }

  .payment-instruction-card,
  .bank-details-card,
  .qris-country-card {
    padding: 24px;
  }

  .payment-confirm-card {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.78fr);
    align-items: center;
    padding: 24px 26px;
  }

  .verification-note {
    grid-column: 1 / -1;
  }

  .checkout-support-strip {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.85fr);
    align-items: center;
    padding-top: 30px;
    margin-top: 58px;
  }

  .checkout-site-footer-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: 20px;
    padding-top: 32px;
    padding-bottom: 32px;
    text-align: left;
  }

  .checkout-site-footer-inner p:nth-child(2) {
    text-align: center;
  }

  .checkout-site-footer-inner p:last-child {
    text-align: right;
  }
}

@media (min-width: 1100px) {
  .checkout-page-main {
    padding-top: 54px;
    padding-bottom: 84px;
  }

  .payment-progress {
    margin-bottom: 48px;
  }

  .payment-chooser-heading h1 {
    font-size: 4.7rem;
  }
}

@media (max-width: 359px) {
  .checkout-site-header-inner,
  .checkout-page-container,
  .checkout-site-footer-inner {
    width: min(100% - 24px, 1120px);
  }

  .checkout-site-header-inner {
    min-height: 76px;
  }

  .checkout-brand img {
    width: 37px;
    height: 37px;
  }

  .checkout-brand strong {
    font-size: 0.8rem;
  }

  .checkout-brand span {
    font-size: 0.52rem;
  }

  .checkout-header-nav a {
    min-height: 38px;
    padding: 7px 8px;
    font-size: 0.62rem;
  }

  .payment-method-card {
    grid-template-columns: 52px minmax(0, 1fr) 22px;
    gap: 9px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .payment-method-card-featured {
    grid-template-columns: 64px minmax(0, 1fr) 22px;
  }

  .payment-provider-logo {
    width: 52px;
    height: 52px;
  }

  .payment-method-card-featured .payment-provider-logo-qris {
    width: 64px;
    height: 48px;
  }

  .payment-method-copy strong {
    font-size: 1.02rem;
  }

  .payment-method-card-featured .payment-method-copy strong {
    font-size: 1.16rem;
  }

  .payment-method-copy small {
    font-size: 0.68rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@keyframes payment-content-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Frontend polish: preserve the dedicated checkout, with consistent target sizes. */
.payment-checkout-page :is(a, button, input):focus-visible { outline: 3px solid #0d3b66; outline-offset: 4px; }
.payment-checkout-page :is(.checkout-home-link, .checkout-help-link, .payment-back-link, .copy-all-button, .detail-copy-button, .confirm-button, .qris-code-actions a) { min-height: 44px; }
.payment-checkout-page .detail-copy-button { min-width: 44px; }
.payment-checkout-page :is(.payment-detail-grid, .payment-method-grid, .payment-secondary-grid, .qris-payment-grid) > * { min-width: 0; }
.payment-checkout-page :is(.bank-detail-row, .payment-confirm-actions) { gap: .75rem; }
.payment-checkout-page .bank-detail-row :is(dd, span, strong) { overflow-wrap: anywhere; }
.payment-checkout-page .payment-panel-heading h2 { line-height: 1.25; text-wrap: balance; }
.payment-checkout-page .payment-chooser-heading h1 { text-wrap: balance; }
@media (max-width: 359px) {
  .payment-checkout-page .checkout-brand strong { font-size: .95rem; }
  .payment-checkout-page .checkout-brand span { font-size: .65rem; }
  .payment-checkout-page .checkout-header-nav { gap: .4rem; }
}
