/* Preserve quantity readability against native/plugin form-control overrides. */
.store-soft-theme.dark-item .dark-purchase-form .qty-group > input.form-control[type="number"]:not(:disabled) {
  color:var(--detail-ink,#f7f7f8)!important;
}

/* Native index.css uses !important light-theme ink; keep captcha readable. */
.store-soft-theme.dark-item .dark-purchase-form .dark-captcha-group > input.form-control.captcha-input {
  color:var(--detail-ink,#f7f7f8)!important;
  -webkit-text-fill-color:var(--detail-ink,#f7f7f8)!important;
  caret-color:var(--detail-ink,#f7f7f8);
  background:var(--detail-field,#080d11)!important;
  font-size:16px;
  opacity:1;
}
.store-soft-theme.dark-item .dark-purchase-form .dark-captcha-group > input.form-control.captcha-input::placeholder {
  color:var(--detail-muted,#c5c9cf)!important;
  -webkit-text-fill-color:var(--detail-muted,#c5c9cf)!important;
  opacity:1!important;
}

/* Keep purchase values readable when shared light-theme form rules win. */
.store-soft-theme.dark-item .dark-purchase-form {
  --uc-ink:var(--detail-ink,#f7f7f8);
  --uc-ink-dis:#aeb8c2;
}
.store-soft-theme.dark-item .dark-purchase-form :is(.form-control,.form-select):not(:disabled) {
  color:var(--detail-ink,#f7f7f8)!important;
  -webkit-text-fill-color:var(--detail-ink,#f7f7f8)!important;
  caret-color:var(--detail-ink,#f7f7f8);
}
.store-soft-theme.dark-item .dark-purchase-form .form-control::placeholder {
  color:#aeb8c2!important;
  -webkit-text-fill-color:#aeb8c2!important;
  opacity:1!important;
}
.store-soft-theme.dark-item .dark-purchase-form .form-control:is(:autofill,:-webkit-autofill) {
  -webkit-text-fill-color:var(--detail-ink,#f7f7f8)!important;
  box-shadow:inset 0 0 0 1000px var(--detail-field,#080d11)!important;
}
.store-soft-theme.dark-item .dark-purchase-form .form-control:is(:autofill,:-webkit-autofill):focus {
  box-shadow:inset 0 0 0 1000px var(--detail-field,#080d11),0 0 0 3px #b4324633!important;
}
