.vpaygate-active {
  background: #f4f8fb;
}

body.vpaygate-active #website-header,
body.vpaygate-active .bottom-nav,
body.vpaygate-active .home-announcement {
  display: none !important;
}

.vpaygate-screen {
  width: 100%;
  min-height: 100dvh;
  background: #f4f8fb;
  color: #17212b;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  box-sizing: border-box;
  padding: clamp(22px, 3vw, 40px) clamp(18px, 4vw, 56px);
}

.vpaygate-shell {
  width: min(1180px, 100%);
  min-height: calc(100dvh - clamp(44px, 6vw, 80px));
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(22px, 3vw, 36px);
}

.vpaygate-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: clamp(12px, 2vw, 20px);
  border-bottom: 1px solid rgba(20, 40, 60, 0.1);
}

.vpaygate-kicker {
  color: #00a6e6;
  font-size: 14px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0;
}

.vpaygate-title {
  margin: 8px 0 0;
  color: #17212b;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 0.98;
  font-weight: 950;
  letter-spacing: 0;
}

.vpaygate-lead {
  margin: 10px 0 0;
  color: #607080;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.35;
  font-weight: 800;
}

.vpaygate-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  align-items: start;
  gap: clamp(22px, 4vw, 52px);
}

.vpaygate-section {
  min-width: 0;
}

.vpaygate-section-title {
  margin: 0 0 16px;
  color: #17212b;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 950;
  letter-spacing: 0;
}

.vpaygate-method-section {
  display: grid;
  align-content: start;
}

.vpaygate-methods {
  display: grid;
  gap: 14px;
}

.vpaygate-method {
  width: 100%;
  min-height: 108px;
  border: 2px solid rgba(20, 40, 60, 0.12);
  border-radius: 18px;
  background: #ffffff;
  color: #17212b;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  text-align: left;
  cursor: pointer;
  box-shadow: none;
  transition: border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}

.vpaygate-method:hover {
  border-color: rgba(0, 166, 230, 0.38);
}

.vpaygate-method:focus-visible,
.vpaygate-pay:focus-visible,
.vpaygate-status-action:focus-visible,
.vpaygate-cancel-link:focus-visible {
  outline: 3px solid rgba(0, 186, 255, 0.38);
  outline-offset: 3px;
}

.vpaygate-method-copy {
  display: grid;
  gap: 7px;
}

.vpaygate-method-copy strong {
  color: #17212b;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.08;
  font-weight: 950;
}

.vpaygate-method-copy small {
  color: #607080;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 800;
}

.vpaygate-method-mark {
  min-width: 86px;
  border-radius: 999px;
  background: #edf3f7;
  color: #526273;
  padding: 8px 12px;
  font-size: 13px;
  line-height: 1;
  font-weight: 950;
  text-align: center;
}

.vpaygate-method.is-selected {
  border-color: #00a6e6;
  background: #effaff;
  box-shadow: inset 0 0 0 2px rgba(0, 166, 230, 0.1);
}

.vpaygate-method.is-selected .vpaygate-method-mark {
  background: #00a6e6;
  color: #ffffff;
}

.vpaygate-method[disabled] {
  opacity: 0.62;
  cursor: wait;
}

.vpaygate-summary {
  position: sticky;
  top: 28px;
  border: 1px solid rgba(20, 40, 60, 0.1);
  border-radius: 20px;
  background: #ffffff;
  padding: clamp(20px, 3vw, 28px);
  display: grid;
  gap: 18px;
  box-shadow: 0 18px 50px rgba(20, 40, 60, 0.08);
}

.vpaygate-summary-list {
  display: grid;
  gap: 14px;
}

.vpaygate-summary-row {
  display: grid;
  gap: 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(20, 40, 60, 0.1);
}

.vpaygate-summary-row span {
  color: #607080;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 850;
}

.vpaygate-summary-row strong {
  color: #17212b;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 950;
}

.vpaygate-summary-total {
  border-bottom: 0;
  padding-bottom: 0;
}

.vpaygate-summary-total strong {
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.02;
}

.vpaygate-status {
  min-height: 46px;
  border-radius: 14px;
  background: #f3f7fa;
  color: #526273;
  padding: 13px 14px;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.4;
}

.vpaygate-status.is-success {
  background: #ecfdf3;
  color: #167246;
}

.vpaygate-status.is-error {
  background: #fff1f0;
  color: #c5322d;
}

.vpaygate-pay {
  width: 100%;
  min-height: 58px;
  border: 0;
  border-radius: 16px;
  background: #00a6e6;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.15;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(0, 166, 230, 0.2);
}

.vpaygate-pay[disabled] {
  background: #c8d5df;
  color: #ffffff;
  box-shadow: none;
  cursor: not-allowed;
}

.vpaygate-status-action,
.vpaygate-cancel-link {
  width: 100%;
  min-height: 42px;
  border: 0;
  background: transparent;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 950;
  cursor: pointer;
}

.vpaygate-status-action {
  color: #007eb4;
}

.vpaygate-cancel-link {
  color: #607080;
}

@media (max-width: 920px) {
  .vpaygate-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .vpaygate-summary {
    position: static;
  }
}

@media (max-width: 620px) {
  .vpaygate-screen {
    padding: max(18px, env(safe-area-inset-top, 0px)) 14px max(24px, env(safe-area-inset-bottom, 0px));
  }

  .vpaygate-shell {
    min-height: auto;
    gap: 20px;
  }

  .vpaygate-header {
    padding-bottom: 14px;
  }

  .vpaygate-method {
    min-height: 96px;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px;
  }

  .vpaygate-method-mark {
    justify-self: start;
  }

  .vpaygate-summary {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vpaygate-method {
    transition: none;
  }
}
