/* Carpet Clinic / Defined Media — compact sitewide suburb finder.
   Reuses assets/js/suburbs.js and leaves existing Service Areas lookup untouched. */
.site-footer .footer-top { padding-bottom: 14px; }
.cc-footer-finder {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  align-items: center;
  gap: 16px 28px;
  position: relative;
  z-index: 5;
  margin-top: 4px;
  padding: 14px 18px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
}
.cc-footer-finder-heading {
  color: #fff;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -.01em;
  max-width: 28ch;
  margin: 0;
}
.cc-footer-finder-form {
  position: relative;
  width: 100%;
  min-width: 0;
  margin: 0;
}
.cc-footer-finder-field {
  display: flex;
  align-items: center;
  position: relative;
  height: 46px;
  background: #fff;
  border: 1px solid rgba(255,255,255,.27);
  border-radius: 9px;
  box-shadow: 0 10px 22px rgba(1,17,42,.14);
  transition: box-shadow .2s, border-color .2s;
}
.cc-footer-finder-field:focus-within {
  border-color: #00aeef;
  box-shadow: 0 0 0 3px rgba(0,174,239,.3), 0 10px 22px rgba(1,17,42,.14);
}
.cc-footer-finder-icon {
  display: grid;
  place-items: center;
  width: 44px;
  flex: 0 0 44px;
  color: #526784;
  pointer-events: none;
}
.cc-footer-finder-icon svg { width: 18px; height: 18px; }
.cc-footer-finder input {
  min-width: 0;
  width: 100%;
  flex: 1 1 auto;
  height: 100%;
  border: 0;
  border-radius: 9px;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 15.5px;
  font-weight: 400;
  color: #132a50;
  padding: 0 10px 0 0;
}
.cc-footer-finder input::placeholder { color: #70809a; opacity: 1; }
.cc-footer-finder input::-webkit-search-cancel-button { cursor: pointer; }
.cc-footer-finder-go {
  flex: 0 0 39px;
  width: 39px;
  height: 38px;
  display: grid;
  place-items: center;
  background: #00aeee;
  color: #fff;
  border: 0;
  border-radius: 6px;
  margin-inline-end: 3px;
  cursor: pointer;
  transition: background .2s;
}
.cc-footer-finder-go:hover, .cc-footer-finder-go:focus-visible { background: #008cc2; }
.cc-footer-finder-go:focus-visible { outline: 2px solid #07387e; outline-offset: 1px; }
.cc-footer-finder-go svg { width: 18px; height: 18px; }
.cc-footer-finder-results {
  position: absolute;
  inset-inline: 0;
  bottom: calc(100% + 8px);
  background: #fff;
  border: 1px solid #d9e3ee;
  border-radius: 9px;
  box-shadow: 0 12px 32px rgba(1,17,42,.25);
  padding: 6px;
  max-height: 310px;
  overflow-y: auto;
  z-index: 50;
}
.cc-footer-finder-results[hidden] { display: none !important; }
.cc-footer-finder-results ul { list-style: none; margin: 0; padding: 0; }
.cc-footer-finder-results li { padding: 0; margin: 0; }
.site-footer .cc-footer-finder-results a {
  color: #123e80;
  display: block;
  font-size: 15px;
  font-weight: 500;
  padding: 9px 12px;
  text-decoration: none;
  border-radius: 6px;
}
.site-footer .cc-footer-finder-results a:hover,
.site-footer .cc-footer-finder-results a:focus-visible {
  color: #083575;
  background: #eaf5fc;
  outline: 0;
  text-decoration: none;
}
.cc-footer-finder-results p { margin: 5px 8px; font-size: 14px; line-height: 1.4; color: #52647d; }
.site-footer .cc-footer-finder-results p a { display: inline; padding: 0; color: #006db0; text-decoration: underline; }
.cc-footer-finder-results .cc-footer-finder-more { border-top: 1px solid #e8eef5; padding-top: 7px; }
@media (max-width: 900px) {
  .site-footer .footer-top { padding-bottom: 12px; }
  .cc-footer-finder {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px 14px;
    margin-top: 0;
  }
  .cc-footer-finder-heading {
    max-width: none;
    font-size: 16px;
  }
  .cc-footer-finder-form { min-width: 0; }
  .cc-footer-finder-results { max-height: 280px; }
}
@media (prefers-reduced-motion: reduce) {
  .cc-footer-finder-field, .cc-footer-finder-go { transition: none; }
}

/* The self-contained finder panel now separates the legal section visually. */
.site-footer .footer-legal { border-top: 0; }
