/* Content and layout are shared. Existing footer backgrounds and top borders stay authoritative. */
footer.crawdad-shared-footer {
  --cc-footer-text: #ffffff;
  --cc-footer-muted: #dce4f5;
  --cc-footer-accent: #bfe7e4;
  --cc-footer-phone: #ffd23f;
  --cc-footer-rule: #ffffff2e;
  --cc-footer-focus: #22c7e8;
  display: block;
  container: crawdad-footer / inline-size;
  padding: 44px 0 24px;
  color: var(--cc-footer-text);
  text-align: left;
}

footer.crawdad-shared-footer > :not([data-cc-footer]) {
  display: none !important;
}

footer.crawdad-shared-footer.stingers-footer {
  --cc-footer-accent: #ffc72c;
  --cc-footer-phone: #ffc72c;
  --cc-footer-focus: #ffc72c;
}

footer.crawdad-shared-footer.zink-footer {
  --cc-footer-muted: #b7c5d0;
  --cc-footer-accent: #78b8e8;
  --cc-footer-phone: #a9d55d;
  --cc-footer-focus: #78b8e8;
}

.remington-page footer.crawdad-shared-footer.zink-footer {
  --cc-footer-muted: #f3d9e9;
  --cc-footer-accent: #ffd257;
  --cc-footer-phone: #ffd257;
  --cc-footer-focus: #ff80bd;
}

.ryder-page footer.crawdad-shared-footer.zink-footer {
  --cc-footer-muted: #f0d8c5;
  --cc-footer-accent: #ff8b36;
  --cc-footer-phone: #ff8b36;
  --cc-footer-focus: #ffaf76;
}

footer.crawdad-shared-footer.unit4d-footer {
  --cc-footer-muted: #e8cfe0;
  --cc-footer-accent: #ff57b7;
  --cc-footer-phone: #ff57b7;
  --cc-footer-focus: #ff57b7;
}

footer.crawdad-shared-footer.prints-footer {
  --cc-footer-muted: #c7d1e9;
  --cc-footer-accent: #ffbd2e;
  --cc-footer-phone: #ffbd2e;
  --cc-footer-focus: #ffbd2e;
}

footer.crawdad-shared-footer.terms-footer {
  --cc-footer-text: #cfd7e6;
  --cc-footer-muted: #cfd7e6;
  --cc-footer-accent: #ffd23f;
  --cc-footer-focus: #ffd23f;
}

footer.crawdad-shared-footer.account-footer,
footer.crawdad-shared-footer.quote-offer-footer,
footer.crawdad-shared-footer.privacy-footer {
  --cc-footer-text: #15244d;
  --cc-footer-muted: #38476b;
  --cc-footer-accent: #15244d;
  --cc-footer-phone: #15244d;
  --cc-footer-rule: #15244d26;
  --cc-footer-focus: #1747d1;
}

footer.crawdad-shared-footer.mika-footer {
  --cc-footer-text: #26213b;
  --cc-footer-muted: #514368;
  --cc-footer-accent: #582285;
  --cc-footer-phone: #582285;
  --cc-footer-rule: #ddd1e6;
  --cc-footer-focus: #582285;
}

footer.crawdad-shared-footer.cc-footer-new {
  background: #ffffff;
  border-top: 1px solid #15244d26;
}

footer.crawdad-shared-footer .cc-footer-content,
footer.crawdad-shared-footer .cc-footer-content * {
  box-sizing: border-box;
}

footer.crawdad-shared-footer .cc-footer-content {
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
  padding: 0;
  font-family: inherit;
  font-size: 12px;
  line-height: 1.5;
}

footer.crawdad-shared-footer .cc-footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr auto;
  align-items: center;
  gap: 28px;
}

footer.crawdad-shared-footer .cc-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  margin: 0;
  color: var(--cc-footer-text);
  font-size: 16px;
  line-height: 1.3;
  text-decoration: none;
}

footer.crawdad-shared-footer .cc-footer-brand > img {
  display: block;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  object-fit: contain;
}

footer.crawdad-shared-footer .cc-footer-brand-copy {
  display: grid;
  gap: 4px;
  color: var(--cc-footer-text);
}

footer.crawdad-shared-footer .cc-footer-brand-copy > strong {
  color: var(--cc-footer-text);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
}

footer.crawdad-shared-footer .cc-footer-brand-copy > span {
  margin: 0;
  color: var(--cc-footer-muted);
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

footer.crawdad-shared-footer .cc-footer-about > strong {
  display: block;
  color: var(--cc-footer-text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

footer.crawdad-shared-footer .cc-footer-about > p {
  margin: 4px 0 0;
  color: var(--cc-footer-muted);
  font-size: 12px;
  line-height: 1.5;
}

footer.crawdad-shared-footer .cc-footer-contact {
  display: grid;
  gap: 4px;
  margin: 0;
  font-style: normal;
  text-align: right;
}

footer.crawdad-shared-footer .cc-footer-contact > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  color: var(--cc-footer-phone);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
}

footer.crawdad-shared-footer .cc-footer-contact > span {
  margin: 0;
  color: var(--cc-footer-muted);
  font-size: 12px;
  line-height: 1.5;
}

footer.crawdad-shared-footer .cc-footer-bottom {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--cc-footer-rule);
}

footer.crawdad-shared-footer .cc-footer-meta {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
}

footer.crawdad-shared-footer .cc-footer-copyright {
  color: var(--cc-footer-muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}

footer.crawdad-shared-footer .cc-footer-legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

footer.crawdad-shared-footer .cc-footer-legal > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  color: var(--cc-footer-accent);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  white-space: nowrap;
}

footer.crawdad-shared-footer .cc-footer-admin {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  margin: 0;
  padding: 0 16px;
  border: 1px solid var(--cc-footer-muted);
  border-radius: 8px;
  background: transparent;
  color: var(--cc-footer-text);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: normal;
  text-decoration: none;
  text-transform: none;
}

footer.crawdad-shared-footer .cc-footer-admin > span {
  margin: 0;
  color: inherit;
  font: inherit;
}

footer.crawdad-shared-footer .cc-footer-powered {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  max-width: 100%;
  margin: 0;
  padding: 0 14px;
  border: 1px solid #354359;
  border-radius: 10px;
  background: #131c2a;
  color: #f6f9ff;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}

footer.crawdad-shared-footer .cc-footer-powered > span {
  margin: 0;
  color: #c8d3e2;
  font: 400 12px/1.4 Arial, Helvetica, sans-serif;
  white-space: nowrap;
}

footer.crawdad-shared-footer .cc-footer-powered > img {
  display: block;
  width: 142px;
  height: 50px;
  max-width: none;
  object-fit: contain;
}

footer.crawdad-shared-footer .cc-footer-powered:hover {
  border-color: #22c7e8;
  background: #1d2b40;
}

footer.crawdad-shared-footer .cc-footer-admin:hover,
footer.crawdad-shared-footer .cc-footer-legal > a:hover,
footer.crawdad-shared-footer .cc-footer-contact > a:hover {
  color: var(--cc-footer-accent);
}

footer.crawdad-shared-footer .cc-footer-content a:focus-visible {
  outline: 2px solid var(--cc-footer-focus);
  outline-offset: 4px;
}

@container crawdad-footer (max-width: 900px) {
  footer.crawdad-shared-footer .cc-footer-top {
    grid-template-columns: 1fr 1fr;
  }
  footer.crawdad-shared-footer .cc-footer-contact {
    grid-column: 1 / -1;
    justify-self: start;
    text-align: left;
  }
}

@container crawdad-footer (max-width: 760px) {
  footer.crawdad-shared-footer .cc-footer-content {
    width: calc(100% - 32px);
  }
  footer.crawdad-shared-footer .cc-footer-top {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  footer.crawdad-shared-footer .cc-footer-brand,
  footer.crawdad-shared-footer .cc-footer-about {
    display: none;
  }
  footer.crawdad-shared-footer .cc-footer-contact {
    grid-column: auto;
  }
  footer.crawdad-shared-footer .cc-footer-bottom,
  footer.crawdad-shared-footer .cc-footer-meta {
    flex-direction: column;
    justify-content: center;
  }
  footer.crawdad-shared-footer .cc-footer-bottom {
    gap: 20px;
  }
  footer.crawdad-shared-footer .cc-footer-meta {
    gap: 8px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  footer.crawdad-shared-footer .cc-footer-powered {
    transition: none;
  }
}
