/* One compact shared footer for model and legacy templates. */
body > footer.footer.footer {
  width: 100%;
  margin: 0;
  padding: 20px 0 13px;
  background: #302640;
  color: #fff9f1;
  text-align: left;
  font: 14px/1.45 Nunito, system-ui, sans-serif;
}

body > footer.footer.footer > .shell {
  width: min(1280px, calc(100% - 40px));
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
}

body > footer.footer.footer .footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.5fr) repeat(2, minmax(150px, .8fr));
  gap: 16px 28px;
  align-items: start;
}

body > footer.footer.footer .footer-grid > div { min-width: 0; }
body > footer.footer.footer a {
  color: #dfd2df;
  font-size: inherit;
  font-weight: 650;
  text-decoration: none;
}
body > footer.footer.footer a:hover {
  color: #fff9f1;
  text-decoration: underline;
  text-underline-offset: 3px;
}
body > footer.footer.footer :is(a, input, button):focus-visible {
  outline: 2px solid #f2d8df;
  outline-offset: 3px;
}

body > footer.footer.footer .brand {
  display: inline-flex;
  background: transparent;
  align-items: center;
  gap: 8px;
  color: #fff9f1;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -.7px;
  line-height: 1.25;
}
body > footer.footer.footer .brand img {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
}
body > footer.footer.footer .brand img.brand-full-logo {
  width: 158px;
  height: 34px;
  object-position: left center;
  background: transparent;
  border-radius: 0;
  filter: drop-shadow(0 0 1px rgba(255, 249, 241, .8));
}

body > footer.footer.footer p {
  max-width: none;
  margin: 5px 0 0;
  padding: 0;
  color: #dfd2df;
  font-size: 13px;
  line-height: 1.45;
}
body > footer.footer.footer h3 {
  margin: 0 0 4px;
  padding: 0;
  color: #fff9f1;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.45;
}
body > footer.footer.footer .footer-column {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 2px 14px;
}
body > footer.footer.footer .footer-column h3 {
  flex-basis: 100%;
}
body > footer.footer.footer .footer-column > a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  margin: 0;
  padding: 2px 0;
  line-height: 1.35;
}

body > footer.footer.footer .newsletter {
  margin: 9px 0 0;
  padding: 0;
}
body > footer.footer.footer .newsletter label {
  display: block;
  margin: 0 0 5px;
  color: #fff9f1;
  font-size: 13px;
  font-weight: 800;
}
body > footer.footer.footer .newsletter > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
body > footer.footer.footer .newsletter input {
  flex: 1 1 112px;
  width: 112px;
  min-width: 0;
  max-width: 100%;
  min-height: 40px;
  margin: 0;
  padding: 7px 9px;
  box-sizing: border-box;
  border: 1px solid #7d6f82;
  border-radius: 7px;
  background: #fbf6f2;
  color: #302640;
  font: inherit;
  line-height: 1.4;
}
body > footer.footer.footer .newsletter input::placeholder { color: #685d71; opacity: 1; }
body > footer.footer.footer .newsletter .honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  min-height: 0;
}
body > footer.footer.footer .newsletter .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin: 0;
  padding: 7px 13px;
  border: 1px solid #f2d8df;
  border-radius: 7px;
  background: #f2d8df;
  color: #302640;
  font: 800 13px/1.4 Nunito, system-ui, sans-serif;
  cursor: pointer;
  box-shadow: none;
}
body > footer.footer.footer .newsletter .button:disabled { opacity: .65; cursor: wait; }
body > footer.footer.footer [data-newsletter-message]:empty { margin: 0; }

body > footer.footer.footer .footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 16px;
  margin: 12px 0 0;
  padding: 9px 0 0;
  border-top: 1px solid #54495e;
  color: #dfd2df;
  font-size: 12px;
  line-height: 1.45;
}
body > footer.footer.footer .footer-bottom p,
body > footer.footer.footer .model-credit {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
}
body > footer.footer.footer .footer-bottom > a,
body > footer.footer.footer .footer-bottom [data-consent-footer] a,
body > footer.footer.footer .footer-company-line a,
body > footer.footer.footer .model-credit a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
}
body > footer.footer.footer .footer-bottom [data-consent-footer] :is(a, button) {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin: 0;
  padding: 4px 2px;
  color: #dfd2df;
  font: inherit;
}
body > footer.footer.footer .footer-bottom .footer-care-note { flex-basis: auto; }
body > footer.footer.footer .footer-bottom [data-consent-footer] button {
  color: #302640;
  background: #f2d8df;
  padding: 4px 10px;
}
body > footer.footer.footer [data-consent-footer]:empty { display: none; }
body > footer.footer.footer .footer-company-line {
  margin: 2px 0 0;
  font-size: 11px;
}
body > footer.footer.footer .footer-bottom .footer-company-line {
  margin: 0 0 0 auto;
  font-size: 11px;
}
body > footer.footer.footer .footer-company-line a,
body > footer.footer.footer .model-credit a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
body > footer.footer.footer .model-credit { color: #cfc1d2; }

/* Shared header intentionally matches homepage chrome, even on legacy bodies. */
body > header.nav-wrap.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(255, 249, 241, .92);
  text-align: left;
  box-shadow: 0 1px 0 rgba(48, 38, 64, .08);
  backdrop-filter: blur(14px);
}
body > header.nav-wrap.nav-wrap > .shell.nav {
  width: min(1280px, calc(100% - 40px));
  max-width: 1280px;
  min-height: 82px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  background: transparent;
}
body > header.nav-wrap.nav-wrap .brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 0;
  color: #302640;
  text-decoration: none;
}
body > header.nav-wrap.nav-wrap .brand img.brand-full-logo {
  display: block;
  width: 174px;
  height: 42px;
  object-fit: contain;
  object-position: left center;
  background: transparent;
}
body > header.nav-wrap.nav-wrap .navlinks {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 0;
  background: transparent;
}
body > header.nav-wrap.nav-wrap .navlinks > a:not(.button),
body > header.nav-wrap.nav-wrap .dropdown-panel a,
body > header.nav-wrap.nav-wrap .mobile-nav a {
  color: #302640;
  font: 700 14px/1.4 Nunito, system-ui, sans-serif;
  text-decoration: none;
}
body > header.nav-wrap.nav-wrap .navlinks > a.button,
body > header.nav-wrap.nav-wrap .mobile-nav > a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin: 0;
  padding: 11px 19px;
  border: 1px solid #302640;
  border-radius: 999px;
  background: #302640;
  color: #fffaf4;
  font: 800 14px/1.4 Nunito, system-ui, sans-serif;
  text-decoration: none;
}
body > header.nav-wrap.nav-wrap .nav-dropdown { position: relative; }
body > header.nav-wrap.nav-wrap .nav-dropdown > button,
body > header.nav-wrap.nav-wrap .menu-toggle {
  min-height: 44px;
  margin: 0;
  padding: 10px 11px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #302640;
  font: 800 14px/1.4 Nunito, system-ui, sans-serif;
  cursor: pointer;
}
body > header.nav-wrap.nav-wrap .dropdown-panel {
  position: absolute;
  top: calc(100% + 11px);
  right: 0;
  width: 220px;
  max-height: calc(100dvh - 100px);
  overflow: auto;
  padding: 10px;
  border: 1px solid #e9dfe4;
  border-radius: 18px;
  background: #fffaf4;
  box-shadow: 0 12px 35px rgba(48, 38, 64, .14);
}
body > header.nav-wrap.nav-wrap .dropdown-panel a {
  display: block;
  padding: 9px 10px;
  border-radius: 10px;
}
body > header.nav-wrap.nav-wrap .dropdown-panel a:hover { background: #f5dbe3; }
body > header.nav-wrap.nav-wrap .menu-toggle,
body > header.nav-wrap.nav-wrap .mobile-nav { display: none; }
body > header.nav-wrap.nav-wrap :is(.navlinks, .mobile-nav, .dropdown-panel) a:focus-visible,
body > header.nav-wrap.nav-wrap button:focus-visible {
  outline: 2px solid #9b4567;
  outline-offset: 3px;
}
@media (max-width: 900px) {
  body > header.nav-wrap.nav-wrap .navlinks { display: none; }
  body > header.nav-wrap.nav-wrap .menu-toggle { display: block; }
  body > header.nav-wrap.nav-wrap .mobile-nav {
    position: absolute;
    top: 82px;
    right: 0;
    left: 0;
    display: none;
    gap: 4px;
    max-height: calc(100dvh - 100px);
    overflow: auto;
    padding: 12px max(24px, calc((100vw - 1160px) / 2)) 20px;
    background: #fffaf4;
    box-shadow: 0 12px 30px rgba(48, 38, 64, .12);
  }
  body > header.nav-wrap.nav-wrap .mobile-nav:not([hidden]) { display: grid; }
  body > header.nav-wrap.nav-wrap .mobile-nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 9px 10px;
  }
}
@media (max-width: 767px) {
  body > footer.footer.footer { padding: 17px 0 12px; }
  body > footer.footer.footer > .shell { width: calc(100% - 32px); }
  body > footer.footer.footer .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 16px;
  }
  body > footer.footer.footer .footer-grid > div:first-child { grid-column: 1 / -1; }
  body > footer.footer.footer .footer-column { gap: 2px 12px; }
  body > footer.footer.footer .footer-column h3 { margin-bottom: 2px; }
  body > footer.footer.footer .footer-bottom .footer-care-note { flex-basis: 100%; }
  body > footer.footer.footer .footer-bottom .footer-company-line { margin: 0; }
  body > footer.footer.footer .footer-column > a { min-height: 40px; }
  body > footer.footer.footer .footer-bottom { gap: 2px 12px; margin-top: 10px; }
  body > header.nav-wrap.nav-wrap > .shell.nav {
    width: calc(100% - 32px);
    min-height: 72px;
    gap: 12px;
  }
  body > header.nav-wrap.nav-wrap .brand img.brand-full-logo { width: 156px; height: 38px; }
  body > header.nav-wrap.nav-wrap .mobile-nav { top: 72px; }
}
@media (max-width: 390px) {
  body > footer.footer.footer .footer-grid { grid-template-columns: minmax(0, 1fr); }
  body > footer.footer.footer .footer-grid > div:first-child { grid-column: auto; }
}
