/**
 * SCPWOO Front-end Styles
 */

/* Cart shipping calculator — neighborhood field hidden until populated */
#calc_shipping_neighborhood_field {
  display: none;
}

/*
 * Degraded mode fallback: when JS fails to load, show hidden text inputs
 * that sit alongside the selects. JS removes these on successful init.
 */
.scpwoo-noscript-fallback {
  display: none;
}
.no-js .scpwoo-noscript-fallback,
noscript + .scpwoo-noscript-fallback {
  display: block;
}
.no-js select.city_select,
.no-js select.neighborhood_select {
  display: none;
}

/* Auto-hide country field when store sells to a single supported country */
.scpwoo-country-single {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  pointer-events: none !important;
}

/* Phase 2 (JS): once cascade has initialised, switch to display:none */
.scpwoo-field-hidden {
  display: none !important;
}


