/* Carpathia Herbarium | Step footer | v11
   Load after Shoptet and homepage CSS. Native links and checkout remain intact. */
#footer {
  --ch-footer-paper: #f5f2e9;
  --ch-footer-muted: #c9d2c4;
  --ch-footer-line: rgba(245, 242, 233, .22);
  background: #253a2c;
  color: var(--ch-footer-paper);
  font-family: CHManrope, Manrope, Arial, sans-serif;
  border: 0;
  padding: 0;
}
#footer::before {
  content: "";
  display: block;
  width: min(600px, calc(100% - 48px));
  height: clamp(174px, 23vw, 254px);
  margin: 0 auto;
  background: url('/user/documents/upload/carpathia-homepage/assets/footer-logo-white.png') center / contain no-repeat;
}
#footer > .container { max-width: 1200px; }
#footer .footer-newsletter,
#footer .footer-rows,
#footer .footer-bottom { background: transparent; color: inherit; }
#footer .footer-newsletter {
  border-top: 1px solid var(--ch-footer-line);
  border-bottom: 1px solid var(--ch-footer-line);
  padding-top: 34px;
  padding-bottom: 36px;
}
#footer .footer-newsletter .newsletter-header h3,
#footer .footer-newsletter .newsletter-header h3 span {
  font-family: CHLora, Georgia, serif;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 400;
  color: var(--ch-footer-paper);
  line-height: 1.2;
  letter-spacing: normal;
  text-transform: none;
}
#footer .footer-newsletter p,
#footer .footer-newsletter label,
#footer .footer-newsletter .label { color: var(--ch-footer-muted); }
#footer .footer-newsletter input[type="email"] {
  background: var(--ch-footer-paper);
  border: 1px solid var(--ch-footer-paper);
  color: #203729;
  border-radius: 0;
  min-height: 44px;
}
#footer .footer-newsletter .btn-primary {
  background: var(--ch-footer-paper);
  border: 1px solid var(--ch-footer-paper);
  color: #203729;
  border-radius: 0;
  min-height: 44px;
  font-weight: 650;
}
#footer .footer-newsletter .btn-primary:hover { background: #d6ddcf; border-color: #d6ddcf; }
/* Existing Ecomail widget is moved from the homepage to the footer, or created here on other pages. */
#footer .ch-footer-ecomail { min-width: 0; flex: 1 1 50%; max-width: 100%; }
#footer .ch-footer-ecomail:empty { display: none; }
#footer.ch-footer-ecomail-ready .footer-newsletter .subscribe-form { display: none !important; }
body.ch-footer-ecomail-ready #ch-newsletter { display: none !important; }
#footer .ch-footer-ecomail .ec-v-form-holder,
#footer .ch-footer-ecomail .ec-v-form-holder form,
#footer .ch-footer-ecomail .ec-v-form-step { width: 100% !important; max-width: 100% !important; min-height: 0 !important; height: auto !important; background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
#footer .ch-footer-ecomail .ec-v-form-input,
#footer .ch-footer-ecomail .ec-v-form-submit { display: block !important; width: 100% !important; padding: 8px 0 !important; }
#footer .ch-footer-ecomail .ec-v-form-input label { display: block !important; }
#footer .ch-footer-ecomail .ec-v-forms-label,
#footer .ch-footer-ecomail .ec-forms-chck-lbl-text,
#footer .ch-footer-ecomail .ec-v-form-html p { color: var(--ch-footer-paper) !important; font: 400 14px/1.55 CHManrope, Arial, sans-serif !important; }
#footer .ch-footer-ecomail input[type="email"] { width: 100% !important; min-height: 46px !important; box-sizing: border-box !important; border: 1px solid var(--ch-footer-paper) !important; border-radius: 0 !important; background: var(--ch-footer-paper) !important; color: #203729 !important; font: 400 16px/1.5 CHManrope, Arial, sans-serif !important; }
#footer .ch-footer-ecomail input[type="checkbox"] { accent-color: #d7caa7; }
#footer .ch-footer-ecomail .ec-v-form-submit button { width: 100% !important; min-height: 46px !important; padding: 11px 22px !important; border: 1px solid var(--ch-footer-paper) !important; border-radius: 0 !important; background: var(--ch-footer-paper) !important; color: #203729 !important; font: 700 14px/1.5 CHManrope, Arial, sans-serif !important; cursor: pointer; }
#footer .ch-footer-ecomail .ec-v-form-submit button:hover { background: #d6ddcf !important; border-color: #d6ddcf !important; }
#footer .ch-footer-ecomail .ec-v-form-error { color: #592c27 !important; background: #f0e2d9 !important; }
#footer .ch-footer-ecomail .ec-v-form-html h2 { color: var(--ch-footer-paper) !important; font: 400 24px/1.25 CHLora, Georgia, serif !important; }
#footer .ch-footer-ecomail a { color: var(--ch-footer-paper) !important; text-decoration: underline; }
#footer .ch-footer-ecomail button:focus-visible,
#footer .ch-footer-ecomail input:focus-visible,
#footer .ch-footer-ecomail a:focus-visible { outline: 2px solid #e8d8a8 !important; outline-offset: 4px !important; }
#footer .footer-rows { padding-top: 37px; padding-bottom: 50px; border-top: 1px solid var(--ch-footer-line); }
#footer .custom-footer { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; margin: 0; }
#footer .custom-footer::before, #footer .custom-footer::after { content: none; display: none; }
#footer .custom-footer > [class*="custom-footer__"] { width: auto; float: none; max-width: none; padding: 0; min-width: 0; }
#footer .custom-footer > .custom-footer__instagram { display: none; }
#footer .pageElement__heading,
#footer .pageElement__heading span,
#footer h3,
#footer h3 span {
  color: var(--ch-footer-paper);
  font-family: CHManrope, Manrope, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .085em;
  line-height: 1.5;
  text-transform: uppercase;
}
#footer .pageElement__heading { margin: 0 0 22px; padding: 0; border: 0; background: none; }
#footer .custom-footer ul { list-style: none; margin: 0; padding: 0; }
#footer .custom-footer li { margin: 0 0 10px; padding: 0; color: var(--ch-footer-muted); }
#footer .custom-footer li::before { display: none; }
#footer a { color: var(--ch-footer-paper); text-decoration: none; }
#footer .custom-footer a { color: var(--ch-footer-muted); }
#footer .custom-footer a:hover,
#footer .footer-newsletter a:hover,
#footer .footer-bottom a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
#footer a:focus-visible,
#footer button:focus-visible,
#footer input:focus-visible { outline: 2px solid #e8d8a8; outline-offset: 4px; }
#footer .custom-footer__articles li::before,
#footer .custom-footer__contact li::before { content: none; }
#footer .custom-footer__contact li [class]::before { color: #d7dfd2; }
#footer .vote-wrap,
#footer .vote-wrap a,
#footer .vote-header,
#footer .vote-content,
#footer .vote-summary,
#footer .vote-product-name,
#footer .vote-name { color: var(--ch-footer-muted); background: transparent; }
#footer .vote-wrap { margin: 0; border: 0; box-shadow: none; padding: 0; }
#footer .vote-header { gap: 10px; }
#footer .vote-pic { background: var(--ch-footer-paper); border-radius: 4px; }
#footer .vote-content { margin-top: 12px; line-height: 1.55; }
#footer .star-on::before { color: #d8caa3; }
#footer .custom-footer__onlinePayments p { text-align: left; }
#footer .custom-footer__onlinePayments img { background: var(--ch-footer-paper); border-radius: 4px; box-sizing: content-box; padding: 8px 12px; }
#footer .footer-bottom {
  border-top: 1px solid var(--ch-footer-line);
  padding-top: 20px;
  padding-bottom: 25px;
  color: var(--ch-footer-muted);
  font-size: 11px;
  line-height: 1.6;
}
#footer .footer-bottom a,
#footer .footer-bottom .copyright { color: var(--ch-footer-muted); }
#footer .footer-bottom strong { color: var(--ch-footer-paper); font-weight: 600; }
#footer #signature, #footer #signature * { color: var(--ch-footer-muted); }
@media (max-width: 991px) {
  #footer::before { height: clamp(160px, 27vw, 230px); width: min(510px, calc(100% - 48px)); }
  #footer .custom-footer { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 28px; }
}
@media (max-width: 600px) {
  #footer .ch-footer-ecomail { width: 100%; flex-basis: 100%; }
  #footer::before { width: min(360px, calc(100% - 56px)); height: 176px; }
  #footer .footer-newsletter { padding-top: 28px; padding-bottom: 30px; }
  #footer .footer-rows { padding-top: 32px; padding-bottom: 34px; }
  #footer .custom-footer { gap: 28px 18px; }
  #footer .custom-footer > .custom-footer__productRating,
  #footer .custom-footer > .custom-footer__articles,
  #footer .custom-footer > .custom-footer__contact { grid-column: 1 / -1; }
  #footer .custom-footer > .custom-footer__onlinePayments { grid-column: 1 / -1; }
  #footer .pageElement__heading { margin-bottom: 12px; }
  #footer .footer-bottom { padding-top: 20px; padding-bottom: 24px; }
}
/* The same customer quote is already featured above the homepage newsletter. */
body.type-index #footer .custom-footer__productRating { display: none; }
body.type-index #footer .custom-footer { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 600px) {
  body.type-index #footer .custom-footer { grid-template-columns: minmax(0, 1fr); }
}
