.po-checkout-dialog {
  overflow: hidden;
  border: 1px solid #15231d;
  border-radius: 0.8rem;
  background: #fffef9;
  box-shadow: 0 36px 90px -42px rgba(21, 35, 29, 0.95);
}

.po-checkout-dialog::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 0.4rem;
  background: linear-gradient(90deg, #4cae50 0 44%, #e1493f 44% 67%, #5370ff 67% 86%, #efb92f 86%);
}

.po-checkout-dialog [role='dialog'] {
  background: #fffef9;
}

.po-checkout-dialog h2 {
  color: #15231d;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1;
}

.po-checkout-dialog h2 svg {
  width: 1.2em;
  height: 1.2em;
  padding: 0.2em;
  border-radius: 0.35rem;
  color: #15231d;
  background: #cdea81;
}

.po-checkout-dialog input {
  min-height: 2.9rem;
  border-color: rgba(21, 35, 29, 0.25);
  border-radius: 0.5rem;
  background: #fffef9;
  box-shadow: none;
}

.po-checkout-dialog input:focus {
  border-color: #4cae50;
  outline: 2px solid rgba(76, 174, 80, 0.12);
}

.po-checkout-dialog button {
  border-radius: 0.5rem;
  box-shadow: none;
}

.po-checkout-dialog__divider {
  background: #fffef9;
}

.po-checkout-dialog__note {
  border-left: 0.3rem solid #4cae50;
  border-radius: 0.4rem;
  color: #23412f;
  background: #edf5e7;
}

.po-payment-method {
  padding-top: 0.35rem;
}

.po-payment-option {
  min-height: 4.4rem;
  border-radius: 0.55rem;
  background: rgba(255, 254, 249, 0.82);
}

.po-payment-option:hover {
  transform: translateY(-1px);
}

.po-payment-option.border-primary {
  border-color: #15231d;
  color: #15231d;
  background: #cdea81;
}

@media (max-width: 640px) {
  .po-checkout-dialog {
    width: calc(100% - 1rem);
    max-height: calc(100vh - 1rem);
    overflow-y: auto;
    border-radius: 0.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .po-payment-option:hover {
    transform: none;
  }
}
