:root {
  --bg: #ffffff;
  --bg-muted: #f5f5f5;
  --text: #232323;
  --text-muted: #6f6f6f;
  --green: #4a9d44;
  --green-dark: #274a34;
  --green-light: #ccf88e;
  --green-deeper: #012d19;
  --border: #d8d8d8;
  --border-soft: #e9e9e9;
  --shadow-soft: rgba(0, 0, 0, 0.1) 0px 2px 6px 0px;
  --radius: 12px;
  --radius-pill: 999px;
  --font: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --max-width: 480px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
}

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  background: var(--bg);
  font-size: 14px;
}

body {
  margin: 0;
  min-height: 100dvh;
  overflow-x: hidden;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 2px;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

.page {
  max-width: var(--max-width);
  margin: 0 auto;
  min-height: 100dvh;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--bg);
}

.hrt-text-body-sm {
  font-size: 13px;
  line-height: 1.4;
}

.hrt-text-supporting {
  color: var(--text-muted);
}

.hrt-hide-max-lg {
  display: none;
}

@media (min-width: 1024px) {
  .hrt-hide-max-lg {
    display: inline;
  }
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 12px 16px;
  background: var(--bg);
}

.logo {
  display: flex;
  justify-content: center;
  text-decoration: none;
}

.site-logo {
  display: block;
  width: auto;
  height: auto;
  max-height: 56px;
  max-width: min(240px, 70vw);
  object-fit: contain;
}

.site-brand-text {
  font-size: clamp(1rem, 3.5vw, 1.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--green-dark);
  line-height: 1.2;
}

.logo.site-header__logo--text {
  text-decoration: none;
}

.content {
  padding: 12px 16px 32px;
}

/* Checkout skeleton loading — keep content out of flow (no absolute overlay) */
body.is-checkout-loading {
  overflow-x: hidden;
}

body.is-checkout-loading .content {
  display: none;
}

body:not(.is-checkout-loading) .checkout-skeleton {
  display: none !important;
}

.checkout-skeleton {
  padding: 12px 16px 32px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.checkout-skeleton__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  text-align: center;
}

.checkout-skeleton__amounts {
  margin-bottom: 24px;
}

.checkout-skeleton__chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.checkout-skeleton__section {
  margin-bottom: 20px;
}

.checkout-skeleton__pm {
  border: 1.5px solid var(--border-soft);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg);
}

.checkout-skeleton__prefs {
  margin-bottom: 20px;
}

.checkout-skeleton__summary {
  margin-bottom: 16px;
}

.skel {
  display: block;
  background: linear-gradient(90deg, #ececec 0%, #f5f5f5 42%, #ececec 84%);
  background-size: 200% 100%;
  animation: skel-shimmer 1.15s ease-in-out infinite;
  border-radius: 8px;
}

.skel--title {
  width: min(280px, 78%);
  height: 34px;
  border-radius: 10px;
}

.skel--line {
  width: min(340px, 92%);
  height: 12px;
}

.skel--line-short {
  width: min(220px, 64%);
}

.skel--chip {
  height: 58px;
  border-radius: var(--radius);
}

.skel--custom {
  height: 72px;
  margin-bottom: 12px;
  border-radius: var(--radius);
}

.skel--ticker {
  width: 70%;
  height: 12px;
}

.skel--heading {
  width: 140px;
  height: 16px;
  margin-bottom: 12px;
}

.skel--pm-row {
  height: 62px;
  border-radius: 0;
  border-bottom: 1px solid var(--border-soft);
}

.skel--pm-row:last-child {
  border-bottom: 0;
}

.skel--check {
  width: 88%;
  height: 14px;
  margin-bottom: 14px;
}

.skel--check-wide {
  width: 96%;
}

.skel--summary-row {
  height: 16px;
  margin-bottom: 12px;
}

.skel--btn {
  height: 52px;
  margin: 16px 0 12px;
  border-radius: 999px;
}

.skel--legal {
  width: 92%;
  height: 11px;
}

@keyframes skel-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .skel {
    animation: none;
    background: #ececec;
  }
}

/* Thank you */
.thank-you {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 48px;
  padding-bottom: 48px;
}

.thank-you__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 28px;
}

.thank-you__title {
  margin: 0 0 16px;
  font-size: clamp(22px, 5.5vw, 28px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.thank-you__text {
  margin: 0 0 12px;
  max-width: 36ch;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
}

.thank-you__amount {
  margin: 0 0 28px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.thank-you__cta {
  width: 100%;
  max-width: 320px;
  margin-bottom: 16px;
  text-decoration: none;
  text-align: center;
}

.thank-you__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Hero */
.hero {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
  text-align: center;
}

.hero__title {
  margin: 0 0 8px;
  font-size: clamp(24px, 6vw, 34px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero__subtitle {
  margin: 0;
  max-width: 34em;
  margin-inline: auto;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.5;
}

.stats__donors {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 12px 0 0;
  min-height: 1.25em;
  font-size: clamp(10px, 3vw, 12px);
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
}

.stats__donors-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  line-height: 1;
}

.stats__donors-icon-img {
  display: block;
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.stats__donors-text {
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1.25;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 0.35s ease;
}

.stats__donors.is-fading .stats__donors-text {
  opacity: 0;
}

/* Frequency */
.frequency {
  margin-bottom: 24px;
}

.frequency__tabs {
  display: flex;
  gap: 0;
  margin-bottom: 12px;
}

.frequency__tab {
  flex: 1;
  padding: 12px 16px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--green-dark);
  color: #ccf88e;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.frequency__tab:not(.is-active) {
  display: none;
}

.frequency__tabs:has(.frequency__tab.is-active[data-frequency="once"]) {
  display: block;
}

.frequency__tab.is-active[data-frequency="once"] {
  width: 100%;
  display: block;
}

.frequency__boost {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--green);
  text-decoration: none;
}

.frequency__boost__label {
  background: linear-gradient(90deg, #333, #77ca59 25%, #333 50%);
  -webkit-background-clip: text;
  background-clip: text;
  background-size: 150% 100%;
  color: transparent;
  position: relative;
  will-change: background-position;
  animation: frequency-boost-shine 4s linear infinite;
}

.frequency__boost svg {
  flex-shrink: 0;
  color: var(--green);
}

@keyframes frequency-boost-shine {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

.frequency__boost:hover .frequency__boost__label {
  text-decoration: underline;
}

/* Amount grid */
.amounts {
  margin-bottom: 24px;
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.amount-grid[hidden] {
  display: none;
}

.amount-chip {
  position: relative;
  min-height: 58px;
  height: 58px;
  padding: 10px 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.amount-chip:hover {
  border-color: var(--text-muted);
}

.amount-chip.is-selected {
  padding-left: calc(8px * 1.3);
  padding-right: calc(8px * 1.3);
  background-color: #274a34;
  border-color: #0000;
  color: #ccf88e;
  box-shadow: none;
}

.amount-chip.is-suggested {
  overflow: visible;
  padding-bottom: 16px;
}

.suggested-donation-tile_tag__xRBex {
  bottom: -4px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  transform-origin: center bottom;
}

.suggested-donation-tag_tag__dIdH1 {
  white-space: nowrap;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 7px;
  border-radius: 4px;
  background: #ccf88e;
  color: #1f5e27;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.15;
}

.suggested-donation-tag_icon__RKI_k {
  font-size: 9px;
  line-height: 1;
}

/* Currency selector */
.checkout-currency {
  margin-bottom: 16px;
}

.checkout-currency--embedded {
  position: absolute;
  right: 16px;
  bottom: 0;
  z-index: 2;
  margin: 0;
  max-width: calc(100% - 32px);
  transform: translateY(50%);
}

.checkout-currency__label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.checkout-currency__label--sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.checkout-currency__wrap {
  position: relative;
}

.checkout-currency__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 40px 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  font: inherit;
  font-size: 13px;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.checkout-currency__trigger:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 2px rgba(74, 157, 68, 0.25);
}

.checkout-currency--embedded .checkout-currency__wrap {
  background: var(--bg);
}

.checkout-currency--embedded .checkout-currency__trigger {
  width: auto;
  max-width: 100%;
  padding: 3px 22px 3px 5px;
  border: 0;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  gap: 6px;
  border-radius: 0;
}

.checkout-currency--embedded .checkout-currency__trigger:focus {
  box-shadow: none;
  outline: none;
}

.checkout-currency--embedded .checkout-currency__trigger-flag.fis {
  width: 1.125rem;
  height: 1.125rem;
  line-height: 1.125rem;
  background-size: 1.5rem 1.5rem;
}

.checkout-currency--embedded .checkout-currency__icon {
  right: 4px;
  font-size: 0.625rem;
}

.checkout-currency--embedded .checkout-currency__trigger-text {
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* Custom amount */
.custom-amount-shell {
  position: relative;
  margin-bottom: 22px;
}

.custom-amount {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  min-height: 88px;
  transition: border-color 0.15s ease;
}

.custom-amount__row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.checkout-currency__trigger-flag.fis {
  display: inline-block;
  flex-shrink: 0;
  width: 1.625rem;
  height: 1.625rem;
  line-height: 1.625rem;
  border-radius: 50%;
  overflow: hidden;
  background-size: 2.1rem 2.1rem;
  background-position: center;
}

.checkout-currency__trigger-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkout-currency__select {
  width: 100%;
  appearance: none;
  padding: 14px 44px 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  font-size: 16px;
  color: var(--text);
  cursor: pointer;
}

.checkout-currency__select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 2px rgba(74, 157, 68, 0.25);
}

.checkout-currency__icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.custom-amount.is-error {
  border-color: #d93025;
}

.custom-amount__error {
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  color: #d93025;
}

.custom-amount__error[hidden] {
  display: none;
}

.custom-amount__currency {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-shrink: 0;
  line-height: 1;
  color: var(--text-muted);
}

.custom-amount__symbol {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
}

.custom-amount__code {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.custom-amount__value-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 4px;
}

.custom-amount__input {
  width: auto;
  max-width: 100%;
  border: 0;
  background: transparent;
  font-size: clamp(32px, 9vw, 42px);
  font-weight: 700;
  line-height: 1;
  text-align: right;
  padding: 0;
  outline: none;
  letter-spacing: -0.02em;
}

.custom-amount__suffix {
  font-size: clamp(32px, 9vw, 42px);
  font-weight: 700;
  line-height: 1;
  color: var(--text);
}

.custom-amount--no-decimals .custom-amount__value-wrap {
  flex: 1;
}

/* Cards & sections */
.card {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 16px;
  background: var(--bg);
}

.card--plain {
  border: 0;
  border-radius: 0;
  padding-left: 0;
  padding-right: 0;
  background: transparent;
}

.section-title {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

/* Payment */
.payment-options {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
}

.payment-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  border-bottom: 1px solid var(--border-soft);
}

.payment-option:last-of-type {
  border-bottom: 0;
}

.payment-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.payment-option__radio {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.payment-option input:checked + .payment-option__radio {
  border-color: var(--green);
}

.payment-option input:checked + .payment-option__radio::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.payment-option__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  gap: 12px;
}

.payment-option__name {
  font-size: 14px;
  font-weight: 600;
}

.payment-option__logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
}

.payment-option__logo--gpay {
  line-height: 0;
}

.payment-option__gpay-icon {
  display: block;
  height: 22px;
  width: auto;
}

.payment-option__logo--card {
  font-size: 19px;
  color: #5f6368;
}

.card-form {
  padding: 0 16px 16px;
  border-top: 1px solid var(--border-soft);
  background: var(--bg-muted);
}

.card-form.is-hidden {
  display: none;
}

.field {
  display: block;
  margin-bottom: 12px;
}

.field__label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-weight: 400;
  color: #30313d;
}

.field__input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: #232323;
  caret-color: #232323;
  outline: none;
  font-size: 16px;
  line-height: 1.4;
  font-family: inherit;
}

.field__input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 2px rgba(74, 157, 68, 0.2);
}

.field__input:disabled {
  background: var(--bg-muted);
  color: var(--text-muted);
  cursor: not-allowed;
  opacity: 0.75;
}

.field__input::placeholder,
.field__textarea::placeholder {
  color: #6f6f6f;
  opacity: 1;
}

.field__input::-webkit-input-placeholder,
.field__textarea::-webkit-input-placeholder {
  color: #6f6f6f;
  opacity: 1;
}

.field__input::-moz-placeholder,
.field__textarea::-moz-placeholder {
  color: #6f6f6f;
  opacity: 1;
}

.hrt-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.field__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236f6f6f' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field-row .field {
  margin-bottom: 12px;
}

/* Preferences */
.preferences {
  margin-bottom: 16px;
}

/* Inline payment method (replaces bottom sheet) */
.payment-method {
  margin: 0 0 20px;
}

.payment-method .section-title {
  margin-bottom: 12px;
}

.payment-method__identity {
  margin: 0 0 12px;
}

.payment-method__identity .field--float {
  position: relative;
  display: block;
  margin-bottom: 12px;
}

.payment-method__identity .field--float .field__input {
  width: 100%;
  height: 59px;
  box-sizing: border-box;
  padding: 18px 14px 6px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background-color: #fff;
  color: #232323;
  caret-color: #232323;
  font-size: 16px;
  line-height: 1.2;
  font-family: inherit;
  outline: none;
}

/* Keep real placeholders for :placeholder-shown, but hide them visually */
.payment-method__identity .field--float .field__input::placeholder {
  color: transparent !important;
  opacity: 0 !important;
}

.payment-method__identity .field--float .field__input::-webkit-input-placeholder {
  color: transparent !important;
  opacity: 0 !important;
}

.payment-method__identity .field--float .field__input::-moz-placeholder {
  color: transparent !important;
  opacity: 0 !important;
}

.payment-method__identity .field--float .field__input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 2px rgba(74, 157, 68, 0.2);
}

.payment-method__identity .field__float {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  padding: 0;
  color: #6f6f6f;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  pointer-events: none;
  transition: top 0.15s ease, transform 0.15s ease, font-size 0.15s ease, color 0.15s ease;
  background: transparent;
  max-width: calc(100% - 28px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.payment-method__identity .field--float .field__input:focus + .field__float,
.payment-method__identity .field--float.is-filled .field__float,
.payment-method__identity .field--float.is-focused .field__float {
  top: 7px;
  transform: none;
  font-size: 11px;
  color: #6f6f6f;
}

.payment-method__identity .field--float .field__input:-webkit-autofill,
.payment-method__identity .field--float .field__input:-webkit-autofill:hover,
.payment-method__identity .field--float .field__input:-webkit-autofill:focus {
  -webkit-text-fill-color: #232323;
  caret-color: #232323;
  box-shadow: 0 0 0 1000px #fff inset;
}

.payment-method__identity .field--float.is-filled .field__float,
.payment-method__identity .field--float.is-focused .field__float {
  top: 7px;
  transform: none;
  font-size: 11px;
  color: #6f6f6f;
}

.payment-method__identity .checkbox {
  margin: 2px 0 14px;
}

.payment-method__box {
  border: 1.5px solid var(--border-soft, #e9e9e9);
  border-radius: 12px;
  background: var(--bg);
  overflow: hidden;
}

.pm-options {
  display: flex;
  flex-direction: column;
}

.pm-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 20px 20px;
  cursor: pointer;
  border-bottom: 1px solid var(--border-soft, #e9e9e9);
  -webkit-user-select: none;
  user-select: none;
}

.pm-option:last-of-type {
  border-bottom: 0;
}

.pm-option[hidden] {
  display: none !important;
}

.pm-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pm-option__control {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 2px solid #c4c4c4;
  border-radius: 50%;
  background: #fff;
  box-sizing: border-box;
  position: relative;
}

.pm-option.is-selected .pm-option__control,
.pm-option:has(input:checked) .pm-option__control {
  border-color: #02a95c;
}

.pm-option.is-selected .pm-option__control::after,
.pm-option:has(input:checked) .pm-option__control::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #02a95c;
}

.pm-option__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #232323;
  min-width: 48px;
}

.pm-gpay-logo,
.pm-apay-logo,
.pm-paypal-logo {
  display: block;
  width: 48px;
  height: auto;
  max-height: 22px;
  object-fit: contain;
}

.pm-option__label {
  font-size: 13px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.3;
}

.payment-method__card-panel {
  display: none;
  padding: 16px 16px 16px 65px;
}

.payment-method__card-panel.is-open {
  display: block;
}

.payment-method__card-panel.is-stripe-mounting {
  display: block !important;
  position: absolute;
  left: -10000px;
  top: 0;
  width: min(420px, 100vw);
  opacity: 0;
  pointer-events: none;
  z-index: -1;
}

.payment-method__stripe .stripe-inline {
  margin-top: 0;
  padding: 0;
}

.payment-method__stripe .stripe-inline__element {
  min-height: 160px;
}

.payment-method__stripe .checkbox {
  margin: 14px 0 0;
}

.payment-method__amount {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.express-checkout-sticky {
  width: 100%;
}

.express-checkout-sticky__element {
  min-height: 48px;
}

.checkout-sticky.is-wallet-mode .btn-donate {
  display: none;
}

.checkout-sticky.is-wallet-mode .express-checkout-sticky[hidden] {
  display: block !important;
}

.checkout-sticky:not(.is-wallet-mode) .express-checkout-sticky {
  display: none !important;
}

.paypal-checkout-sticky {
  width: 100%;
}

.paypal-checkout-sticky__element {
  min-height: 48px;
}

.paypal-checkout-sticky__status {
  margin: 8px 0 0;
  min-height: 1.2em;
  font-size: 13px;
  color: var(--text-muted);
}

.checkout-sticky.is-paypal-mode .btn-donate,
.checkout-sticky.is-paypal-mode .express-checkout-sticky {
  display: none !important;
}

.checkout-sticky:not(.is-paypal-mode) .paypal-checkout-sticky {
  display: none !important;
}

.pm-option__icon--paypal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 24px;
}

.pm-paypal-logo {
  max-height: 24px;
  width: auto;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text);
  cursor: pointer;
}

.checkbox input {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
  border: 2px solid var(--border);
  border-radius: 5px;
  background: var(--bg);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
  position: relative;
}

.checkbox input:checked {
  background-color: var(--green);
  border-color: var(--green);
  box-shadow: 0 0 0 6px #e8f5e6;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.2 6.5 11.2 12.5 4.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px;
}

.checkbox input:focus-visible {
  outline: 2px solid rgba(74, 157, 68, 0.45);
  outline-offset: 4px;
}

.checkbox--info {
  align-items: flex-start;
}

.info-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--bg);
  color: var(--text-muted);
  cursor: help;
}

.info-btn svg {
  display: block;
}

.payment-sheet__save-card {
  margin: 0 0 12px;
}

.payment-sheet__step.is-active .payment-sheet__save-card {
  margin: 0 0 12px;
}

.stripe-inline {
  margin-top: 8px;
  padding: 12px 0;
}

.card-visual-form {
  margin-left: 5%;
  margin-right: 5%;
  margin-bottom: 10px;
}

.card-visual-form .field__input {
  background: transparent;
  border: 1px solid #aeb3b8;
  border-radius: 12px;
  padding: 0.75rem 0.75rem;
  font-size: 16px;
  color: #3c4043;
}

.card-visual-form .field__stripe {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 14px 16px;
}

.card-visual-form .field__input::placeholder {
  color: #5f6368;
  opacity: 1;
}

.card-step {
  display: grid;
  gap: 10px;
}

.card-step#card-step-identity {
  gap: 0;
}

.card-step + .card-step {
  margin-top: 8px;
}

#card-step-identity .field__input {
  border-radius: 5px;
  border: 1px solid #e6e6e6;
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.03), 0px 3px 6px rgba(0, 0, 0, 0.02);
}

.stripe-inline__element {
  min-height: 54px;
  border: 0;
  border-radius: 8px;
  padding: 0;
  color: var(--text-muted);
}

.stripe-inline__element.is-wallet-loading {
  min-height: 120px;
}

.stripe-inline__element--wallet {
  padding: 8px;
  min-height: 56px;
}

.stripe-inline__status {
  margin: 8px 0 0;
  font-size: 13px;
  color: #c5221f;
  min-height: 20px;
}

.stripe-mount-error {
  margin: 0;
  padding: 12px 0;
  font-size: 13px;
  line-height: 1.45;
  color: #c5221f;
  text-align: center;
}

/* Summary */
.summary-list {
  margin: 0 0 16px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 8px 0;
  font-size: 14px;
}

.summary-row dt {
  font-weight: 400;
  color: var(--text);
}

.summary-row dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

.summary-row:not(.summary-row--total) dt,
.summary-row:not(.summary-row--total) dd {
  color: var(--text-muted);
  font-weight: 400;
}

.summary-row--total {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--border-soft);
}

.summary-row--total dt,
.summary-row--total dd {
  font-weight: 500;
  font-size: 15px;
}

.btn-donate {
  width: 100%;
  padding: 14px 24px;
  border: 0;
  border-radius: 624.9375rem;
  background: #274A34;
  color: #CCF88E;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: filter 0.15s;
}

.summary-googlepay {
  width: 100%;
}

.summary-googlepay__button {
  min-height: 56px;
}

.btn-donate:hover {
  filter: brightness(0.96);
}

.btn-donate:active {
  filter: brightness(0.92);
}

.legal {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-muted);
  text-align: left;
}

.legal a {
  color: var(--text-muted);
}

/* Guarantee */
.guarantee {
  background: transparent;
  border: 0;
}

.guarantee__head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 0;
}

.guarantee__icon {
  flex-shrink: 0;
  margin-top: 0;
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.guarantee__copy {
  min-width: 0;
}

.guarantee__title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.guarantee__text {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
}

.guarantee__text a {
  color: var(--text-muted);
}

.section-divider {
  border: 0;
  border-top: 1px solid var(--border-soft);
  margin: 0 0 14px;
}

.legal--inline {
  margin-top: 16px;
}

.checkout-sticky {
  margin-top: 20px;
}

.checkout-sticky .btn-donate {
  width: 100%;
  display: block;
}

.field__optional {
  font-weight: 400;
  color: var(--text-muted);
}

.field__textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  resize: vertical;
  min-height: 88px;
}

.field__textarea:focus {
  outline: 2px solid var(--green);
  outline-offset: 1px;
  border-color: var(--green);
}

/* Payment bottom sheet */
.payment-sheet {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

.payment-sheet:not([hidden]) {
  pointer-events: auto;
}

.payment-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.payment-sheet.is-open .payment-sheet__backdrop {
  opacity: 1;
}

.payment-sheet__panel {
  position: relative;
  width: 100%;
  max-width: var(--max-width);
  max-height: min(88vh, 720px);
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
}

.payment-sheet.is-open .payment-sheet__panel {
  transform: translateY(0);
}

.payment-sheet__header {
  display: grid;
  grid-template-columns: 1fr 40px;
  align-items: center;
  gap: 8px;
  padding: 16px 16px 8px;
  flex-shrink: 0;
}

.payment-sheet__back {
  display: none;
  grid-column: 1;
  grid-row: 1;
}

.payment-sheet__heading {
  grid-column: 1;
  grid-row: 1;
  text-align: center;
  min-width: 0;
}

.payment-sheet__close {
  grid-column: 2;
  grid-row: 1;
}

.payment-sheet.is-step-two .payment-sheet__header {
  grid-template-columns: 40px 1fr 40px;
}

.payment-sheet.is-step-two .payment-sheet__back {
  display: flex;
  grid-column: 1;
}

.payment-sheet.is-step-two .payment-sheet__heading {
  grid-column: 2;
}

.payment-sheet.is-step-two .payment-sheet__close {
  grid-column: 3;
}

.payment-sheet__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.payment-sheet__back,
.payment-sheet__close {
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.payment-sheet__close {
  display: flex;
}

.payment-sheet__back:hover,
.payment-sheet__close:hover {
  background: var(--bg-muted);
}

.payment-sheet__back .bi,
.payment-sheet__close .bi {
  font-size: 1.1rem;
}

.payment-sheet__body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 20px 16px;
}

.payment-sheet__footer {
  flex-shrink: 0;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--border-soft);
  background: var(--bg);
}

.payment-sheet__footer .btn-donate {
  width: 100%;
}

.payment-sheet__step {
  display: none;
}

.payment-sheet__step.is-active {
  display: block;
}

.payment-sheet__step.is-preloading {
  display: block;
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(100%, var(--max-width));
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  z-index: -1;
}

.payment-sheet__copy {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
}

.payment-sheet__amount {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.payment-sheet__step.is-active .checkbox {
  margin: 4px 0 16px;
}

.field .checkbox--anonymous {
  margin: 10px 0 0;
}

.payment-sheet__step .field {
  margin-bottom: 12px;
}

.payment-sheet__step .field__input {
  font-size: 16px;
  line-height: 1.4;
  color: #232323;
}

.payment-sheet__step .field__input::placeholder {
  color: #6f6f6f;
  opacity: 1;
}

.payment-sheet__step .field__input::-webkit-input-placeholder {
  color: #6f6f6f;
  opacity: 1;
}

.payment-sheet__step .field__input::-moz-placeholder {
  color: #6f6f6f;
  opacity: 1;
}

.payment-sheet__step .field__input:-webkit-autofill,
.payment-sheet__step .field__input:-webkit-autofill:hover,
.payment-sheet__step .field__input:-webkit-autofill:focus {
  -webkit-text-fill-color: #232323;
  caret-color: #232323;
  box-shadow: 0 0 0 1000px var(--bg) inset;
  transition: background-color 99999s ease-out 0s;
}

body.payment-sheet-open {
  overflow: hidden;
}

/* Giving Guarantee bottom sheet */
.guarantee-sheet {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

.guarantee-sheet:not([hidden]) {
  pointer-events: auto;
}

.guarantee-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.guarantee-sheet.is-open .guarantee-sheet__backdrop {
  opacity: 1;
}

.guarantee-sheet__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  max-height: min(88vh, 720px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 1.25rem 1.25rem 0 0;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
}

.guarantee-sheet.is-open .guarantee-sheet__panel {
  transform: translateY(0);
}

.guarantee-sheet__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 16px 8px;
  flex-shrink: 0;
}

.guarantee-sheet__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.guarantee-sheet__close {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin: -4px -4px 0 0;
  padding: 0;
  color: inherit;
  background: none;
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

.guarantee-sheet__close:hover {
  background: rgba(0, 0, 0, 0.06);
}

.guarantee-sheet__body {
  padding: 0 16px 24px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.guarantee-sheet__lead {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  color: #252525;
}

.guarantee-sheet__section {
  margin-bottom: 18px;
}

.guarantee-sheet__heading {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.guarantee-sheet__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #505050;
}

.guarantee-sheet__features {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 14px;
}

.guarantee-sheet__feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.guarantee-sheet__feature-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f3f3f3;
  color: #3d3d3d;
  font-size: 14px;
}

.guarantee-sheet__feature-title {
  margin: 0 0 2px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.guarantee-sheet__feature-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #505050;
}

.guarantee-sheet__tagline {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  color: #252525;
}

.guarantee-sheet__steps {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 12px;
}

.guarantee-sheet__steps li {
  font-size: 13px;
  line-height: 1.5;
  color: #505050;
}

.guarantee-sheet__steps strong {
  display: block;
  color: #252525;
  font-weight: 700;
}

.guarantee-sheet__steps span {
  display: block;
  margin-top: 2px;
}

.guarantee-sheet__footnote {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #6f6f6f;
}

body.guarantee-sheet-open {
  overflow: hidden;
}

/* Currency picker bottom sheet */
.currency-sheet {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

.currency-sheet:not([hidden]) {
  pointer-events: auto;
}

.currency-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.currency-sheet.is-open .currency-sheet__backdrop {
  opacity: 1;
}

.currency-sheet__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  max-height: min(88vh, 720px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 1.25rem 1.25rem 0 0;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
}

.currency-sheet.is-open .currency-sheet__panel {
  transform: translateY(0);
}

.currency-sheet__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 16px 12px;
  flex-shrink: 0;
}

.currency-sheet__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.currency-sheet__close {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin: -4px -4px 0 0;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.currency-sheet__close:hover {
  background: rgba(0, 0, 0, 0.06);
}

.currency-sheet__scroll {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 8px 16px;
}

.currency-sheet__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.currency-sheet__option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.currency-sheet__option:hover,
.currency-sheet__option:focus {
  background: rgba(0, 0, 0, 0.04);
  outline: none;
}

.currency-sheet__flag.fis {
  display: inline-block;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  line-height: 2.25rem;
  border-radius: 50%;
  overflow: hidden;
  background-size: 2.9rem 2.9rem;
  background-position: center;
}

.currency-sheet__code {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.currency-sheet__name {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
}

.currency-sheet__check {
  flex-shrink: 0;
  font-size: 1.125rem;
  color: var(--text);
  opacity: 0;
}

.currency-sheet__option.is-selected .currency-sheet__check {
  opacity: 1;
}

body.currency-sheet-open {
  overflow: hidden;
}

@media (min-width: 520px) {
  .content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .amount-grid {
    gap: 10px;
  }
}
