.checkout-presentation-picker {
  min-width: 0;
  margin: 2px 0 0;
  padding: 0;
  border: 0;
}

[data-checkout-form][hidden],
[data-contribution-form][hidden] {
  display: none !important;
}

.checkout-presentation-picker legend {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 740;
  letter-spacing: 0.02em;
}

.checkout-presentation-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.checkout-presentation-options label {
  position: relative;
  min-width: 0;
  cursor: pointer;
}

.checkout-presentation-options input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.checkout-presentation-options label > span {
  display: flex;
  min-height: 66px;
  padding: 10px 6px 9px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  border: 1px solid color-mix(in srgb, var(--line) 86%, transparent);
  border-radius: 13px;
  background: color-mix(in srgb, var(--card, var(--surface, white)) 74%, transparent);
  color: var(--muted);
  text-align: center;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    color 160ms ease,
    transform 160ms cubic-bezier(0.23, 1, 0.32, 1);
}

.checkout-presentation-options svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.checkout-presentation-options strong {
  overflow: hidden;
  font-size: 10px;
  font-weight: 780;
  letter-spacing: -0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkout-presentation-options input:checked + span {
  border-color: color-mix(in srgb, var(--accent, #2c6d51) 72%, var(--line));
  background: color-mix(in srgb, var(--accent, #2c6d51) 11%, var(--card, var(--surface, white)));
  color: var(--ink);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent, #2c6d51) 22%, transparent);
}

.checkout-presentation-options input:focus-visible + span {
  outline: 3px solid color-mix(in srgb, var(--accent, #2c6d51) 26%, transparent);
  outline-offset: 2px;
}

.checkout-presentation-options input:disabled + span {
  cursor: wait;
  opacity: 0.58;
}

.checkout-presentation-feedback {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.checkout-presentation-feedback[data-kind="error"] {
  color: var(--error, #b42318);
}

.inttegro-checkout-surface {
  margin-top: 18px;
  color: var(--ink);
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 220ms ease-out,
    transform 220ms cubic-bezier(0.23, 1, 0.32, 1);

  @starting-style {
    opacity: 0;
    transform: translateY(8px);
  }
}

.checkout-presentation-options label:active > span {
  transform: scale(0.97);
}

@media (hover: hover) and (pointer: fine) {
  .checkout-presentation-options label:hover > span {
    border-color: color-mix(in srgb, var(--accent, #2c6d51) 42%, var(--line));
    transform: translateY(-1px);
  }

}

@media (max-width: 420px) {
  .checkout-presentation-options strong {
    font-size: 9px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .checkout-presentation-options label > span,
  .inttegro-checkout-surface {
    transform: none;
    transition-duration: 1ms;
  }
}
