:root {
  --msf-primary: #197fe5;
  --msf-golden: #f7d66f;
  --msf-offwhite: #fbf8ef;
  --msf-text: #161616;
  --msf-muted: #655f60;
}

/* The original PeakShops footer remains present as a safe fallback. It is
   hidden only after the new footer markup has loaded successfully. */
.msf-loaded #footer,
.msf-loaded .subfooter {
  display: none !important;
}

.msf,
.msf * {
  box-sizing: border-box;
}

.msf {
  position: relative;
  z-index: 2;
  margin-top: clamp(80px, 9vw, 145px);
  padding: 0;
  background: transparent;
  color: var(--msf-text);
  font-family: inherit;
  line-height: 1.5;
}

.msf a {
  color: inherit;
  text-decoration: none;
}

.msf-cta-shell,
.msf-container {
  width: min(100% - 48px, 1440px);
  margin-inline: auto;
}

.msf-cta-shell {
  position: relative;
  z-index: 3;
  margin-bottom: clamp(-205px, -13vw, -150px);
}

.msf-cta {
  position: relative;
  min-height: 410px;
  padding: clamp(65px, 7vw, 110px) 220px;
  overflow: hidden;
  border-radius: clamp(28px, 3.2vw, 50px);
  isolation: isolate;
  color: #fff;
  text-align: center;
}

.msf-cta__background {
  position: absolute;
  z-index: -3;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--msf-primary);
}

.msf-cta::after {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: rgba(13, 109, 209, .08);
  content: "";
}

.msf-cta__baby,
.msf-cta__care {
  position: absolute;
  z-index: -1;
  width: clamp(110px, 12vw, 190px);
  height: auto;
  pointer-events: none;
}

.msf-cta__baby {
  top: clamp(20px, 2.5vw, 38px);
  left: clamp(22px, 4vw, 65px);
}

.msf-cta__care {
  right: clamp(24px, 4vw, 62px);
  bottom: clamp(22px, 3vw, 48px);
}

.msf-cta__content {
  max-width: 900px;
  margin-inline: auto;
}

.msf-cta h2 {
  margin: 0 0 18px;
  color: #fff;
  font-family: Lora, Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 3.2vw, 52px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.18;
}

.msf-cta p {
  max-width: 830px;
  margin: 0 auto 30px;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(16px, 1.25vw, 21px);
  font-weight: 500;
  line-height: 1.55;
}

.msf-cta__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.msf-button {
  display: inline-flex;
  min-height: 54px;
  padding: 13px 25px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.msf-button:hover {
  transform: translateY(-2px);
}

.msf-button--light {
  min-width: 135px;
  border-color: #fff;
  background: #fff;
  color: #111 !important;
}

.msf-button--outline {
  min-width: 125px;
  color: #fff !important;
}

.msf-button--outline:hover {
  background: #fff;
  color: #111 !important;
}

.msf-main {
  position: relative;
  z-index: 1;
  min-height: 600px;
  padding-top: clamp(235px, 18vw, 300px);
  overflow: hidden;
  background: var(--msf-offwhite);
}

.msf-main__background {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: .94;
  pointer-events: none;
}

.msf-grid {
  display: grid;
  grid-template-columns: minmax(275px, 1.05fr) minmax(650px, 2.5fr);
  gap: clamp(55px, 6vw, 95px);
  padding-bottom: 50px;
}

.msf-logo {
  display: block;
  width: min(200px, 62%);
  margin-bottom: 22px;
}

.msf-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.msf-brand > p {
  max-width: 410px;
  margin: 0;
  color: var(--msf-muted);
  font-size: 18px;
  line-height: 1.55;
}

.msf-newsletter {
  display: flex;
  width: 100%;
  max-width: 405px;
  margin: 30px 0;
  padding: 4px;
  overflow: hidden;
  border: 1px solid var(--msf-primary);
  border-radius: 999px;
  background: #fff;
}

.msf-newsletter input.widget_subscribe {
  min-width: 0;
  height: 50px;
  flex: 1;
  margin: 0;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  outline: 0;
  background: transparent;
  box-shadow: none;
  color: var(--msf-muted);
  font-size: 15px;
}

.msf-newsletter button {
  min-width: 125px;
  min-height: 50px;
  padding: 10px 18px;
  border: 1px solid var(--msf-primary);
  border-radius: 999px;
  background: var(--msf-primary);
  color: #fff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  transition: background .2s ease, color .2s ease;
}

.msf-newsletter button:hover {
  background: #fff;
  color: var(--msf-primary);
}

.msf-socials {
  display: flex;
  gap: 9px;
}

.msf-socials a {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 50%;
  background: var(--msf-golden);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.msf-socials a:hover {
  border-color: var(--msf-primary);
  background: #fff;
  transform: translateY(-2px);
}

.msf-socials img {
  width: 23px;
  height: 23px;
  object-fit: contain;
}

.msf-navigation {
  display: grid;
  grid-template-columns: .95fr 1fr .9fr 1.45fr;
  gap: clamp(24px, 3vw, 50px);
  padding-top: 8px;
}

.msf-column h3 {
  margin: 0 0 14px;
  color: #111;
  font-family: inherit;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.5;
}

.msf-links,
.msf-contact ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.msf-links li {
  margin: 0 0 9px;
  padding: 0;
}

.msf-links a {
  display: inline-block;
  color: var(--msf-muted);
  font-size: 17px;
  line-height: 1.55;
  transition: color .2s ease, transform .2s ease;
}

.msf-links a:hover {
  color: var(--msf-primary);
  transform: translateX(2px);
}

.msf-contact li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  margin-bottom: 13px;
  color: #514849;
  font-size: 17px;
  line-height: 1.55;
}

.msf-contact li > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--msf-golden);
}

.msf-contact li > span img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.msf-contact a,
.msf-contact address {
  padding-top: 7px;
  color: #514849;
  font-style: normal;
}

.msf-contact a:hover {
  color: var(--msf-primary);
}

.msf-bottom {
  display: flex;
  padding: 26px 0 30px;
  border-top: 1px solid #e7e2d9;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  color: var(--msf-muted);
  font-size: 16px;
}

.msf-bottom p {
  margin: 0;
  color: inherit;
  font-size: inherit;
}

.msf-bottom nav {
  display: flex;
  gap: 35px;
}

.msf-bottom a:hover {
  color: var(--msf-primary);
  text-decoration: underline;
}

.msf-mobile-decoration {
  display: none;
}

@media (max-width: 1199px) {
  .msf-cta {
    padding-inline: 160px;
  }

  .msf-grid {
    grid-template-columns: minmax(260px, .9fr) 2fr;
    gap: 45px;
  }

  .msf-navigation {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 38px;
  }
}

@media (max-width: 899px) {
  .msf-cta-shell,
  .msf-container {
    width: min(100% - 32px, 760px);
  }

  .msf-cta-shell {
    margin-bottom: -120px;
  }

  .msf-cta {
    min-height: 360px;
    padding: 65px 95px;
  }

  .msf-cta__baby,
  .msf-cta__care {
    width: 100px;
  }

  .msf-main {
    padding-top: 175px;
  }

  .msf-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .msf-brand {
    text-align: center;
  }

  .msf-logo,
  .msf-brand > p,
  .msf-newsletter {
    margin-inline: auto;
  }

  .msf-socials {
    justify-content: center;
  }
}

@media (max-width: 599px) {
  .msf {
    margin-top: 65px;
  }

  .msf-cta-shell,
  .msf-container {
    width: calc(100% - 28px);
  }

  .msf-cta-shell {
    margin-bottom: -92px;
  }

  .msf-cta {
    min-height: 345px;
    padding: 55px 22px 46px;
    border-radius: 24px;
  }

  .msf-cta h2 {
    padding-inline: 22px;
    font-size: 31px;
  }

  .msf-cta p {
    font-size: 15px;
    line-height: 1.5;
  }

  .msf-cta__baby {
    top: 12px;
    left: 12px;
    width: 62px;
  }

  .msf-cta__care {
    display: none;
  }

  .msf-cta__actions {
    gap: 9px;
  }

  .msf-button {
    min-height: 48px;
    padding: 11px 18px;
    font-size: 14px;
  }

  .msf-main {
    padding-top: 145px;
  }

  .msf-grid {
    gap: 45px;
    padding-bottom: 30px;
  }

  .msf-logo {
    width: 145px;
  }

  .msf-brand > p {
    font-size: 15px;
  }

  .msf-newsletter {
    margin-block: 24px;
  }

  .msf-newsletter input.widget_subscribe {
    height: 44px;
    padding-inline: 14px 8px;
    font-size: 13px;
  }

  .msf-newsletter button {
    min-width: 104px;
    min-height: 44px;
    padding-inline: 12px;
    font-size: 13px;
  }

  .msf-navigation {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 22px;
    text-align: left;
  }

  .msf-column h3 {
    font-size: 17px;
  }

  .msf-links a,
  .msf-contact li {
    font-size: 14px;
  }

  .msf-contact {
    grid-column: 1 / -1;
  }

  .msf-contact li {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .msf-contact li > span {
    width: 36px;
    height: 36px;
  }

  .msf-contact a,
  .msf-contact address {
    padding-top: 5px;
  }

  .msf-bottom {
    flex-direction: column-reverse;
    align-items: flex-start;
    font-size: 13px;
  }

  .msf-bottom nav {
    width: 100%;
    justify-content: space-between;
    gap: 15px;
  }

  .msf-mobile-decoration {
    position: absolute;
    right: 18px;
    bottom: 112px;
    display: block;
    width: 58px;
    height: auto;
    pointer-events: none;
  }
}
