#footer.footer-wrapper {
  --footer-bg: var(--chh-paper, #fdf9f1);
  --footer-ink: var(--chh-ink, #263b30);
  --footer-muted: #4d6258;
  --footer-line: #d5ded3;
  --footer-font: system-ui, sans-serif;
  --chh-footer-width: min(960px, calc(100% - 64px));
  background: var(--footer-bg);
  color: var(--footer-ink);
}

#footer.footer-wrapper .footer-widgets.footer-2 {
  padding: clamp(36px, 6vw, 84px) 0 clamp(28px, 4vw, 54px);
  border-top: 1px solid var(--footer-line);
  background: var(--footer-bg) !important;
}

#footer.footer-wrapper .footer-widgets.footer-2 > .row {
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(240px, 1.35fr);
  gap: clamp(20px, 3.5vw, 46px);
  width: var(--chh-footer-width);
  max-width: none;
}

#footer .chh-footer-shop h3,
#footer .footer-widgets .sf-footer-accordion-heading {
  color: var(--footer-ink);
  font: 700 13px/1.4 var(--footer-font);
  letter-spacing: .08em;
}

#footer .chh-footer-shop h3 {
  margin: 0 0 16px;
}

#footer.footer-wrapper .footer-widgets .custom-html-widget > div > p.sf-footer-accordion-heading {
  margin: 0 !important;
}

#footer .sf-footer-accordion-label {
  padding-bottom: 16px;
}

#footer .chh-footer-shop ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#footer .chh-footer-shop li,
#footer .footer-widgets .sf-footer-accordion-content > p,
#footer .footer-widgets .custom-html-widget > div > p:has(a) {
  margin: 0 0 10px !important;
  font: 400 14px/1.45 var(--footer-font) !important;
}

#footer.footer-wrapper .footer-widgets .custom-html-widget a {
  display: inline-block;
  color: var(--footer-ink) !important;
  font: inherit;
  text-decoration: none;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

#footer.footer-wrapper .footer-widgets .custom-html-widget a:hover,
#footer.footer-wrapper .footer-widgets .custom-html-widget a:focus-visible {
  color: var(--footer-ink) !important;
  text-decoration: underline;
}

#footer.footer-wrapper .footer-widgets .custom-html-widget > div:has(input[type="email"]) {
  padding: 0 !important;
  border: 0;
  background: var(--footer-bg) !important;
}

#footer.footer-wrapper .footer-widgets .custom-html-widget > div:has(input[type="email"]) h3 {
  color: var(--footer-ink) !important;
  font: 600 clamp(20px, 2.1vw, 25px)/1.2 Georgia, serif !important;
  letter-spacing: -.02em !important;
}

#footer.footer-wrapper .footer-widgets form:has(input[type="email"]) {
  grid-template-columns: minmax(0, 1fr);
}

#footer.footer-wrapper .footer-widgets form input[type="email"] {
  min-width: 0;
  border: 1px solid #6b7f73 !important;
  border-radius: 5px !important;
  background: var(--footer-bg) !important;
  color: var(--footer-ink) !important;
}

#footer.footer-wrapper .footer-widgets form input[type="email"]::placeholder {
  color: var(--footer-muted);
}

#footer.footer-wrapper .footer-widgets form button[type="submit"] {
  width: 100% !important;
  border-radius: 5px !important;
  border-color: var(--footer-ink) !important;
  background: var(--footer-ink) !important;
  color: var(--footer-bg) !important;
}

#footer.footer-wrapper .footer-widgets form button[type="submit"]:disabled {
  opacity: .7;
  cursor: default;
}

#footer.footer-wrapper .absolute-footer {
  background: var(--footer-bg) !important;
  color: var(--footer-muted);
}

#footer.footer-wrapper .absolute-footer > .container {
  width: var(--chh-footer-width);
  max-width: none;
}

#footer.footer-wrapper .absolute-footer .payment-icons {
  justify-content: flex-start;
}

@media (max-width: 900px) {
  #footer.footer-wrapper .footer-widgets.footer-2 > .row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #footer.footer-wrapper .footer-widgets.footer-2 .widget:has(input[type="email"]) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  #footer.footer-wrapper {
    --chh-footer-width: calc(100% - 40px);
  }

  #footer.footer-wrapper .footer-widgets.footer-2 > .row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  #footer.footer-wrapper .footer-widgets #custom_html-3 {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--footer-line);
  }

  #footer.footer-wrapper .footer-widgets.footer-2 .widget:has(input[type="email"]) {
    margin-top: 24px;
  }
}
