/* ===== Payment methods polish (additive only; does not force show/hide) ===== */
.Payment_Checkbox ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  width: 100%;
}

.Payment_Checkbox li {
  margin: 0;
  width: auto;
  float: none;
}

.Payment_Checkbox label,
.Payment_Checkbox .form-check-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 96px;
  height: 100%;
  margin: 0;
  padding: 14px 10px 12px;
  background: #fff;
  border: 1.5px solid #e5e8ec;
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  position: relative;
}

.Payment_Checkbox label:hover,
.Payment_Checkbox .form-check-label:hover {
  border-color: #c9d1d9;
  box-shadow: 0 4px 12px rgba(16, 24, 40, 0.06);
}

.Payment_Checkbox .pay-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  background: #f7f9fb;
  border-radius: 10px;
  padding: 6px 10px;
}

.Payment_Checkbox label img,
.Payment_Checkbox .form-check-label img {
  width: auto;
  height: 28px;
  max-width: 86px;
  object-fit: contain;
  transform: none;
  box-shadow: none;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin: 0;
}

.Payment_Checkbox label > i,
.Payment_Checkbox .form-check-label > i,
.Payment_Checkbox .pay-logo > i {
  font-size: 26px;
  color: #1f8543;
  line-height: 1;
}

.Payment_Checkbox label span,
.Payment_Checkbox .form-check-label span:not(.pay-logo) {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #3a4450;
  margin: 0;
  line-height: 1.3;
  text-align: center;
}

.Payment_Checkbox label:before,
.Payment_Checkbox .form-check-label:before {
  content: "";
  display: block;
  position: absolute;
  top: 8px;
  right: 8px;
  width: 18px;
  height: 18px;
  line-height: 18px;
  font-size: 11px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  color: transparent;
  transform: scale(0);
  transition: transform 0.2s ease, background-color 0.2s ease;
  z-index: 2;
}

.Payment_Checkbox :checked + label,
.Payment_Checkbox :checked + .form-check-label {
  border-color: #1f8543;
  background: #f3faf5;
  box-shadow: 0 0 0 3px rgba(31, 133, 67, 0.14);
}

.Payment_Checkbox :checked + label:before,
.Payment_Checkbox :checked + .form-check-label:before {
  content: "✓";
  background-color: #1f8543;
  color: #fff;
  font-weight: 800;
  transform: scale(1);
  text-align: center;
}

.Payment_Checkbox :checked + label img,
.Payment_Checkbox :checked + .form-check-label img {
  transform: none;
  box-shadow: none;
}

.Payment_Checkbox :checked + label .pay-logo,
.Payment_Checkbox :checked + .form-check-label .pay-logo {
  background: #eaf6ee;
}

@media screen and (max-width: 575px) {
  .Payment_Checkbox ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .Payment_Checkbox label,
  .Payment_Checkbox .form-check-label {
    min-height: 88px;
    padding: 12px 8px 10px;
  }

  .Payment_Checkbox label span,
  .Payment_Checkbox .form-check-label span:not(.pay-logo) {
    font-size: 11px;
  }
}
