/* ════════════════════════════════════════════════
   INF Roofing — Consent Banner Styles
   Slim sticky bottom bar. Equal-prominence Accept /
   Decline buttons (same size, border, weight, contrast).
   ════════════════════════════════════════════════ */

#consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ffffff;
  color: #1f2937;
  border-top: 1px solid #d4d4d4;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.12);
  padding: 14px 20px;
  z-index: 9999;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14.5px;
  line-height: 1.5;
}

.consent-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.consent-banner-text {
  flex: 1 1 320px;
  margin: 0;
  color: #1f2937;
}

.consent-banner-text a {
  color: #1f2937;
  text-decoration: underline;
  font-weight: 600;
}

.consent-banner-actions {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.consent-btn {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid #1f2937;
  background: #ffffff;
  color: #1f2937;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  padding: 9px 16px;
  min-width: 100px;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  line-height: 1.2;
  transition: background-color 0.15s ease;
}

.consent-btn:hover {
  background: #f3f4f6;
}

.consent-btn:focus-visible {
  outline: 2px solid #1d4ed8;
  outline-offset: 2px;
}

@media (max-width: 640px) {
  #consent-banner {
    padding: 12px 14px;
    font-size: 13.5px;
    line-height: 1.45;
  }
  .consent-banner-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  /* In column flex, the desktop `flex: 1 1 320px` gives the text a 320px
     vertical basis with grow=1 — that was creating the big empty gap.
     Reset to natural height on mobile. */
  .consent-banner-text {
    flex: 0 0 auto;
    font-size: 13.5px;
  }
  .consent-banner-actions {
    width: 100%;
    gap: 10px;
  }
  .consent-btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 10px 14px;
    font-size: 14px;
  }
}
