/* Shared checkout fields; independent of the site's other form styles. */
[data-checkout-details] {
  display: grid;
  gap: .9rem;
  margin-block: 1rem;
}

[data-checkout-details] label:not(.check) {
  display: grid;
  gap: .4rem;
}

[data-checkout-details] input:is([type="text"], [type="email"], [type="password"], :not([type])):not(.form-honeypot) {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: .7rem .85rem;
  border: 1px solid var(--line);
  border-radius: .65rem;
  background: var(--field);
  color: var(--ink);
  font: inherit;
}

[data-checkout-details] label.check {
  display: flex;
  align-items: center;
  gap: .5rem;
}

[data-checkout-details] input[type="checkbox"] {
  flex: 0 0 auto;
  width: auto;
  margin: 0;
}

[data-checkout-details] .form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
}

[data-checkout-password-wrap][hidden] {
  display: none;
}
