/* ==========================================================
   NATURADIET FOOTER v1
   Kun den mørke footer. Newsletter-sektionen ændres ikke her.
   ========================================================== */

.site-footer {
  background: #173d2e !important;
  color: #ffffff !important;
  padding: 12px 0 28px !important;
  font-family: "Inter", Arial, Helvetica, sans-serif !important;
}

.site-footer .page-width {
  max-width: 1380px;
}

.site-footer .footer-top {
  display: grid !important;
  padding-top: 0 !important;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 48px 72px;
  margin: 0 !important;
}

.site-footer .footer-top > .grid__item {
  width: auto !important;
  max-width: none !important;
  float: none !important;
  padding-left: 0 !important;
  margin: 0 !important;
}

.site-footer h4,
.site-footer .h4 {
  margin: 0 0 18px !important;
  color: #ffffff !important;
  font-family: "Inter", Arial, Helvetica, sans-serif !important;
  font-size: 17px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.site-footer ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.site-footer li {
  margin: 0 0 10px !important;
  padding: 0 !important;
}

.site-footer a,
.site-footer p,
.site-footer .text {
  color: rgba(255, 255, 255, .80) !important;
  font-family: "Inter", Arial, Helvetica, sans-serif !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  text-transform: none !important;
}

.site-footer a {
  text-decoration: none !important;
  transition: color .18s ease, opacity .18s ease;
}

.site-footer a:hover,
.site-footer a:focus {
  color: #ffffff !important;
}

.site-footer .addressFooter li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.site-footer .addressFooter li i {
  margin-top: 4px;
  color: rgba(255, 255, 255, .68) !important;
}

.site-footer .addressFooter p {
  margin: 0 !important;
}

.site-footer hr {
  margin: 20px 0 18px !important;
  border: 0 !important;
  border-top: 1px solid rgba(255, 255, 255, .14) !important;
}

.site-footer .footer-bottom {
  margin: 0 !important;
  color: rgba(255, 255, 255, .62) !important;
}

.site-footer .footer-bottom,
.site-footer .footer-bottom a,
.site-footer .designBy {
  font-family: "Inter", Arial, Helvetica, sans-serif !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
  color: rgba(255, 255, 255, .62) !important;
}

.site-footer .social-icons,
.site-footer .social-icons a {
  color: #ffffff !important;
}

@media screen and (max-width: 749px) {
  .site-footer {
    padding: 24px 0 24px !important;
  }

  .site-footer .footer-top {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  .site-footer .footer-top > .grid__item {
    padding: 0 0 24px !important;
  }

  .site-footer .footer-links hr {
    display: block !important;
    margin: 20px 0 0 !important;
  }

  .site-footer h4,
  .site-footer .h4 {
    font-size: 16px !important;
  }
}


/* ==========================================================
   NATURADIET NEWSLETTER
   Styling only - eksisterende Shopify newsletter-form bevares
   ========================================================== */

.newsletter-section {
  padding: 0 !important;
  background: #f3f7f3 !important;
  border-top: 1px solid #e5ebe6 !important;
  border-bottom: 1px solid #e2e9e4 !important;
  font-family: "Inter", Arial, Helvetica, sans-serif !important;
}

.newsletter-section .page-width {
  max-width: 1380px !important;
  padding-top: 28px !important;
  padding-bottom: 28px !important;
}

.newsletter-section .display-table {
  display: flex !important;
  width: 100% !important;
  align-items: center !important;
  gap: 34px !important;
}

.newsletter-section .footer-newsletter {
  display: flex !important;
  flex: 1 1 auto !important;
  align-items: center !important;
  gap: 34px !important;
  width: auto !important;
  vertical-align: middle !important;
}

.newsletter-section .footer-newsletter .section-header {
  flex: 0 0 190px !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

.newsletter-section .footer-newsletter .section-header .h2,
.newsletter-section .footer-newsletter .section-header label {
  display: block !important;
  margin: 0 !important;
  color: #173d2e !important;
  font-family: "Inter", Arial, Helvetica, sans-serif !important;
  font-size: 20px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.newsletter-section .footer-newsletter form {
  display: flex !important;
  flex: 1 1 auto !important;
  align-items: stretch !important;
  max-width: 820px !important;
  margin: 0 !important;
}

.newsletter-section .footer-newsletter .input-group {
  display: flex !important;
  flex: 1 1 auto !important;
  width: 100% !important;
  margin: 0 !important;
}

.newsletter-section .footer-newsletter input[type="email"],
.newsletter-section .footer-newsletter input#Email {
  flex: 1 1 auto !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 50px !important;
  margin: 0 !important;
  padding: 0 20px !important;
  border: 1px solid #d8e2db !important;
  border-right: 0 !important;
  border-radius: 999px 0 0 999px !important;
  background: #ffffff !important;
  color: #173127 !important;
  font-family: "Inter", Arial, Helvetica, sans-serif !important;
  font-size: 14px !important;
  line-height: 50px !important;
  box-shadow: none !important;
  outline: none !important;
}

.newsletter-section .footer-newsletter input[type="email"]:focus,
.newsletter-section .footer-newsletter input#Email:focus {
  border-color: #2d6b4d !important;
}

.newsletter-section .footer-newsletter button,
.newsletter-section .footer-newsletter input[type="submit"] {
  flex: 0 0 auto !important;
  min-width: 126px !important;
  height: 50px !important;
  margin: 0 !important;
  padding: 0 24px !important;
  border: 1px solid #2d6b4d !important;
  border-radius: 0 999px 999px 0 !important;
  background: #2d6b4d !important;
  color: #ffffff !important;
  font-family: "Inter", Arial, Helvetica, sans-serif !important;
  font-size: 13px !important;
  line-height: 48px !important;
  font-weight: 700 !important;
  letter-spacing: .02em !important;
  text-transform: none !important;
  box-shadow: none !important;
}

.newsletter-section .footer-newsletter button:hover,
.newsletter-section .footer-newsletter button:focus,
.newsletter-section .footer-newsletter input[type="submit"]:hover,
.newsletter-section .footer-newsletter input[type="submit"]:focus {
  background: #24583f !important;
  border-color: #24583f !important;
}

.newsletter-section .footer-social {
  flex: 0 0 auto !important;
  width: auto !important;
  padding: 0 !important;
  vertical-align: middle !important;
  text-align: right !important;
}

.newsletter-section .footer-social a {
  color: #173d2e !important;
}

@media screen and (max-width: 989px) {
  .newsletter-section .display-table {
    gap: 22px !important;
  }

  .newsletter-section .footer-newsletter {
    gap: 22px !important;
  }

  .newsletter-section .footer-newsletter .section-header {
    flex-basis: 160px !important;
  }
}

@media screen and (max-width: 749px) {
  .newsletter-section .page-width {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
  }

  .newsletter-section .display-table {
    display: block !important;
  }

  .newsletter-section .footer-newsletter {
    display: block !important;
  }

  .newsletter-section .footer-newsletter .section-header {
    margin-bottom: 16px !important;
    text-align: center !important;
  }

  .newsletter-section .footer-newsletter .section-header .h2,
  .newsletter-section .footer-newsletter .section-header label {
    font-size: 19px !important;
  }

  .newsletter-section .footer-newsletter form {
    width: 100% !important;
    max-width: none !important;
  }

  .newsletter-section .footer-social {
    margin-top: 18px !important;
    text-align: center !important;
  }
}

/* ==========================================================
   NATURADIET NEWSLETTER – MOBIL FIX
   Felt og knap stables, så intet ryger ud over skærmen.
   ========================================================== */
@media screen and (max-width: 749px) {
  .newsletter-section .footer-newsletter form,
  .newsletter-section .footer-newsletter .input-group {
    width: 100% !important;
    max-width: 100% !important;
  }

  .newsletter-section .footer-newsletter .input-group {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  .newsletter-section .footer-newsletter input[type="email"],
  .newsletter-section .footer-newsletter input#Email {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    border: 1px solid #d8e2db !important;
    border-radius: 999px !important;
  }

  .newsletter-section .footer-newsletter .input-group__btn {
    display: block !important;
    width: 100% !important;
  }

  .newsletter-section .footer-newsletter button,
  .newsletter-section .footer-newsletter input[type="submit"] {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    border-radius: 999px !important;
  }
}
