/* DRK Shop | Payment picker v2.0
 * Presentation-only change. Preserves gateway radio values and checkout behavior.
 * Scoped selectors override the global .form label and .form input rules.
 */
.form .payso-gateway-choices {
  margin: 22px 0 10px;
  padding: 0;
  min-width: 0;
  border: 0;
}
.form .payso-gateway-choices legend {
  width: auto;
  float: none;
  margin: 0 0 12px;
  padding: 0;
  color: #18304f;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.15px;
  line-height: 1.5;
}
.form .payso-gateway-choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 76px;
  padding: 15px 17px;
  margin: 0 0 10px;
  border: 1px solid #dce5ef;
  border-radius: 13px;
  background: #fff;
  color: #18304f;
  cursor: pointer;
  line-height: 1.45;
  box-shadow: 0 1px 3px rgba(11, 46, 83, .025);
  transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}
/* Processor glyphs: compact, decorative and independent of external assets. */
.form .payso-gateway-choice::before {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  content: 'P';
  color: #fff;
  background: linear-gradient(145deg, #063d9a, #0b70d7);
  font-size: 25px;
  font-weight: 700;
  font-family: system-ui, sans-serif;
  font-style: italic;
  line-height: 1;
}
.form .payso-gateway-choice:has(input[value="stripe"])::before {
  content: 'S';
  background: #635bff;
  font-size: 25px;
  font-style: normal;
  font-weight: 700;
}
.form .payso-gateway-choice > span {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}
.form .payso-gateway-choice b {
  display: block;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}
.form .payso-gateway-choice small {
  display: block;
  margin-top: 3px;
  color: #61758e;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
}
/* The global .form input:not([type=checkbox]) was stretching radios to 100%. */
.form .payso-gateway-choice input[type="radio"] {
  display: block;
  order: 2;
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  min-width: 19px;
  max-width: 19px;
  min-height: 19px;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  accent-color: #0860bf;
  cursor: pointer;
}
.form .payso-gateway-choice:hover {
  border-color: #b2c7df;
  background: #fbfdff;
}
.form .payso-gateway-choice:has(input[type="radio"]:checked) {
  border-color: #0865c9;
  background: #f4f8ff;
  box-shadow: inset 0 0 0 1px #0865c9;
}
.form .payso-gateway-choice:has(input[type="radio"]:checked)::before {
  box-shadow: 0 2px 8px rgba(5, 85, 177, .14);
}
.form .payso-gateway-choice:focus-within {
  outline: 3px solid rgba(46, 126, 221, .22);
  outline-offset: 2px;
}
@media (max-width: 620px) {
  .form .payso-gateway-choices { margin-top: 20px; }
  .form .payso-gateway-choice {
    gap: 11px;
    min-height: 70px;
    padding: 13px 12px;
    border-radius: 12px;
  }
  .form .payso-gateway-choice::before {
    flex-basis: 39px;
    width: 39px;
    height: 39px;
    font-size: 22px;
  }
  .form .payso-gateway-choice b { font-size: 13px; }
  .form .payso-gateway-choice small { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .form .payso-gateway-choice { transition: none; }
}
