/* Unified rate-by-ZIP card on /process-serving/#ps-zip
   (prices and lookup logic stay in ps-zip-lookup.js). */

/* Keep the ZIP lookup clear of the fixed site nav when jumping to #ps-zip. */
#ps-zip,
#ps-zip-live {
  scroll-margin-top: calc(var(--ss-nav-clear, 110px) + 18px);
}

.ps-zip-live {
  box-sizing: border-box;
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 2rem 1.75rem;
  background: #fff;
  border: 2px solid #0169e3;
  border-radius: 18px;
  box-shadow: 0 10px 28px #0b1f3a0f;
}

.ps-zip-live *,
.ps-zip-live *::before,
.ps-zip-live *::after {
  box-sizing: border-box;
}

.ps-zip-live-eyebrow {
  margin: 0 0 0.55rem;
  color: #0169e3;
  font-family: Poppins, sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ps-zip-live h2 {
  margin: 0 0 0.7rem;
  color: #0b1f3a;
  font-family: Poppins, sans-serif;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.ps-zip-live-lead {
  margin: 0 0 1.25rem;
  color: #2e3f58;
  font-size: 1.02rem;
  line-height: 1.6;
}

.ps-zip-live input#calc-zip-input {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0.85rem 1rem;
  border: 2px solid #c8d4e8;
  border-radius: 10px;
  color: #0a1628;
  font-family: Poppins, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.ps-zip-live input#calc-zip-input:focus {
  outline: none;
  border-color: #0169e3;
  box-shadow: 0 0 0 3px #0169e326;
}

#czr-display {
  margin-top: 1.05rem;
  font-family: Poppins, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.55;
  color: #0a1628;
  min-width: 0;
}

#czr-display:empty {
  display: none;
}

.ps-zip-rate-where {
  margin: 0 0 0.65rem;
  color: #0a1628;
  font-weight: 600;
}

.ps-zip-rate-note,
.ps-zip-rate-msg {
  color: #2e3f58;
  margin: 0.45rem 0;
  font-weight: 500;
}

.ps-zip-rates {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  margin: 0.15rem 0 0.85rem;
  max-width: 100%;
}

.ps-zip-rate {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.6rem;
  min-width: 0;
  background: #fff;
  border: 1px solid #d7e4f5;
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
}

.ps-zip-rate-label {
  min-width: 0;
  color: #2e3f58;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
}

.ps-zip-rate strong {
  flex-shrink: 0;
  color: #0150b0;
  font: 700 1.15rem Poppins, sans-serif;
}

.ps-zip-rate-cta {
  margin: 0.85rem 0 0;
}

.ps-zip-rate-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.25rem;
  border-radius: 999px;
  background: #e8730a;
  color: #fff;
  font-family: Poppins, sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 6px 16px #e8730a40;
}

.ps-zip-rate-cta a:hover,
.ps-zip-rate-cta a:focus-visible {
  background: #cf6508;
  color: #fff;
}

@media (width <= 600px) {
  .ps-zip-live {
    padding: 1.5rem 1.2rem 1.35rem;
  }

  .ps-zip-rates {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (width <= 400px) {
  .ps-zip-live {
    padding: 1.35rem 1rem 1.2rem;
  }
}
