/* PikStiq v0.48 — address fields for Singapore deliveries.
   Scoped to checkout; existing brand styles stay intact. */
.sg-address-block {
  display: grid;
  gap: 11px;
  min-width: 0;
  width: 100%;
  grid-column: 1 / -1;
  padding: 14px;
  border: 1px solid #e8deef;
  border-radius: 16px;
  background: #fcfaff;
  box-sizing: border-box;
}
.sg-address-heading {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
  font-weight: 900;
  color: #23192c;
}
.sg-address-heading span {
  color: #84758d;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.sg-address-block .sg-address-field {
  display: grid;
  gap: 7px;
  min-width: 0;
  font-size: 12px;
  font-weight: 800;
  color: #241a2d;
}
.sg-address-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}
.sg-address-block .sg-address-field input {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  font-size: 14px;
  font-weight: 550;
  padding: 12px 13px;
  border: 1px solid #dcd3e5;
  border-radius: 13px;
  background: #fff;
  color: #241a2d;
}
.sg-address-block .sg-address-field input::placeholder {
  font-weight: 450;
  color: #9b90a4;
}
.sg-address-block .sg-address-field input:focus {
  outline: 2px solid #7253dd;
  outline-offset: 1px;
  border-color: #7253dd;
}
.sg-address-block .sg-address-field input[aria-invalid="true"] {
  border-color: #c73756;
  box-shadow: 0 0 0 2px rgba(199,55,86,.1);
}
.sg-required { color: #9052d6; }
.sg-optional { color: #84758d; font-weight: 500; font-size: 11px; }
.sg-address-hint {
  margin: 0;
  font-size: 11px;
  line-height: 1.5;
  color: #776c80;
}
.sg-address-error {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: #ad2646;
}
.sg-address-error[hidden] { display: none; }
@media (max-width: 420px) {
  .sg-address-block { padding: 12px; }
  .sg-address-pair { grid-template-columns: 1fr; }
  .sg-address-heading { flex-wrap: wrap; gap: 4px; }
}
