/* Ul als Flex-Container */
ul.wc_payment_methods {
  display: flex;
  flex-direction: column;
  gap: 20px; /* Abstand zwischen den Zahlungsmethoden */
  padding: 0;
  margin: 0;
  list-style: none;
}

.about_paypal {
  display: none;
}

/* Jede einzelne Zahlungsmethode */
ul.wc_payment_methods li.wc_payment_method {
  background: #ffffff; /* Hintergrund jetzt weiß */
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  position: relative;
}

/* Hover-Effekt */
ul.wc_payment_methods li.wc_payment_method:hover {
  border-color: #f0c14b;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Radio-Button unsichtbar, aber klickbar über Label */
ul.wc_payment_methods li.wc_payment_method input.input-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Label nimmt die gesamte Fläche des li ein */
ul.wc_payment_methods li.wc_payment_method label {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: "Mulish", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

/* Logo */
ul.wc_payment_methods li.wc_payment_method label img {
  max-height: 32px;
  width: auto;
  display: inline-block;
}

/* About-Link */
ul.wc_payment_methods li.wc_payment_method label .about_paypal {
  margin-left: auto;
  font-size: 0.85rem;
  color: #0070ba;
  text-decoration: none;
}

ul.wc_payment_methods li.wc_payment_method label .about_paypal:hover {
  text-decoration: underline;
}

/* Beschreibung unter der Payment-Box */
ul.wc_payment_methods li.wc_payment_method .payment_box {
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #555;
  background-color: #ffffff; /* Hintergrund weiß */
  border-radius: 8px;
  display: none;
}

/* Checked Zustand: Box hervorheben & Beschreibung anzeigen */
ul.wc_payment_methods li.wc_payment_method input:checked + label {
  border-color: #f0c14b;
  font-weight: 700;
}

ul.wc_payment_methods li.wc_payment_method input:checked ~ .payment_box {
  display: block;
}
