.cs-installments {
  display: grid;
  width: 100%;
  max-width: 25rem;
  margin: 0 0 0.875rem;
  padding: 0;
  gap: 0.625rem;
  border: 0;
}

.cs-installments__option {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 3.75rem;
  margin: 0;
  padding: 0.75rem 0.875rem;
  gap: 0.75rem;
  color: inherit;
  background: #fff;
  border: 2px solid #333;
  border-radius: 0;
  cursor: pointer;
}

.cs-installments__option:has(.cs-installments__input:checked) {
  background: #f8f3f4;
  border-color: #333;
  box-shadow: none;
}

.cs-installments__input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cs-installments__control {
  position: relative;
  flex: 0 0 1.25rem;
  width: 1.25rem;
  height: 1.25rem;
  background: var(--bs-body-bg, #fff);
  border: 1px solid currentcolor;
  border-radius: 50%;
}

.cs-installments__input:checked + .cs-installments__control::after {
  position: absolute;
  inset: 0.25rem;
  background: currentcolor;
  border-radius: 50%;
  content: "";
}

.cs-installments__input:focus-visible + .cs-installments__control {
  outline: 0.2rem solid color-mix(in srgb, var(--bs-primary, #222) 35%, transparent);
  outline-offset: 0.15rem;
}

.cs-installments__content {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cs-installments__name {
  font-weight: 400;
}

.cs-installments__price {
  font-weight: 600;
  text-align: end;
  white-space: nowrap;
}

@media (max-width: 35.99rem) {
  .cs-installments__option {
    padding-inline: 0.625rem;
  }

  .cs-installments__content {
    gap: 0.5rem;
  }

  .cs-installments__price {
    white-space: normal;
  }
}
