/* Shared footer only: explicit specificity wins over legacy scoped templates. */
.footer.footer {
  margin: 0;
  padding: 32px 0 20px;
  width: 100%;
  background: #302640;
  color: #fff9f1;
  text-align: left;
  font: 14px/1.5 Nunito, system-ui, sans-serif;
}
.footer.footer > .shell {
  width: min(1160px, calc(100% - 48px));
  max-width: 1160px;
  margin: 0 auto;
  padding: 0;
}
.footer.footer .footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px 40px;
  align-items: start;
}
.footer.footer .footer-grid > div {
  min-width: 0;
}
.footer.footer a {
  display: inline;
  margin: 0;
  padding: 0;
  color: #dfd2df;
  font-size: inherit;
  font-weight: 600;
  text-decoration: none;
}
.footer.footer a:hover {
  color: #fff9f1;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer.footer :is(a, input, button):focus-visible {
  outline: 2px solid #f2d8df;
  outline-offset: 3px;
}
.footer.footer .brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff9f1;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -.8px;
  line-height: 1.3;
}
.footer.footer .brand img {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.nav .brand img.brand-full-logo {
  width: 174px;
  height: 42px;
  object-fit: contain;
  object-position: left center;
}
.footer.footer .brand img.brand-full-logo {
  width: 168px;
  height: 36px;
  object-position: center;
  background: #fffaf4;
  border-radius: 6px;
}
.footer.footer p {
  margin: 8px 0 0;
  padding: 0;
  max-width: none;
  color: #dfd2df;
  font-size: 14px;
  line-height: 1.5;
}
.footer.footer h3 {
  margin: 0 0 8px;
  padding: 0;
  color: #fff9f1;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.5;
}
.footer.footer .footer-column > a {
  display: block;
  width: fit-content;
  margin: 0 0 5px;
  line-height: 1.5;
}
.footer.footer .newsletter {
  margin: 16px 0 0;
  padding: 0;
}
.footer.footer .newsletter label {
  display: block;
  margin: 0 0 7px;
  color: #fff9f1;
  font-size: 14px;
  font-weight: 800;
}
.footer.footer .newsletter > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.footer.footer .newsletter input {
  flex: 1 1 125px;
  width: 125px;
  min-width: 0;
  max-width: 100%;
  min-height: 40px;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid #7d6f82;
  border-radius: 8px;
  background: #fbf6f2;
  color: #302640;
  font: inherit;
  line-height: 1.5;
  box-sizing: border-box;
}
.footer.footer .newsletter input::placeholder {
  color: #685d71;
  opacity: 1;
}
.footer.footer .newsletter .honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  min-height: 0;
}
.footer.footer .newsletter .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin: 0;
  padding: 8px 15px;
  border: 1px solid #f2d8df;
  border-radius: 8px;
  background: #f2d8df;
  color: #302640;
  font: 800 14px/1.5 Nunito, system-ui, sans-serif;
  cursor: pointer;
  box-shadow: none;
}
.footer.footer .newsletter .button:disabled {
  opacity: .65;
  cursor: wait;
}
.footer.footer [data-newsletter-message]:empty {
  margin: 0;
}
.footer.footer .footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 20px;
  margin: 22px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid #54495e;
  color: #dfd2df;
  font-size: 12px;
  line-height: 1.5;
}
.footer.footer .footer-bottom p,
.footer.footer .model-credit {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}
.footer.footer .footer-bottom .footer-care-note {
  flex-basis: 100%;
}
.footer.footer [data-consent-footer]:empty {
  display: none;
}
.footer.footer .footer-company-line {
  margin: 8px 0 4px;
  font-size: 12px;
}
.footer.footer :is(.footer-company-line, .model-credit) a {
  display: inline;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer.footer .model-credit {
  color: #cfc1d2;
}
@media (max-width: 767px) {
  .footer.footer {
    padding: 26px 0 18px;
  }
  .footer.footer > .shell {
    width: calc(100% - 32px);
  }
  .footer.footer .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .footer.footer .footer-grid > div:first-child {
    grid-column: auto;
  }
  .footer.footer .footer-column {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
  }
  .footer.footer .footer-column h3 {
    flex-basis: 100%;
    margin-bottom: 0;
  }
  .footer.footer .footer-column > a {
    margin: 0;
  }
  .footer.footer .footer-bottom {
    margin-top: 20px;
  }
}
