/* Shared site footer and cookie preferences, used by the CMS and checkout. */
.site-footer, .cookie-banner, .cookie-dialog, .map-consent {
  --forest: #313832;
  --cream: #f9ebcc;
  --rust: #b8693d;
  --gutter: 10vw;
  font-family: Aktiv, Arial, sans-serif;
  font-weight: 500;
}
.site-footer { font-size: 17px; line-height: 1.5; }
.site-footer p { margin: 0 0 1rem; }
.site-footer .footer-copy > :last-child { margin-bottom: 0; }
.site-footer img { display: block; }
.site-footer {
  background: var(--forest);
  color: var(--cream);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 5vw;
  padding: 6.6vmax var(--gutter);
}

.footer-badges {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  align-self: start;
  gap: 1.25rem;
}

.footer-badges a {
  flex: 0 1 120px;
  width: 33.333%;
}

.footer-badges img {
  width: 100%;
  max-height: 120px;
  object-fit: contain;
}

.footer-copy a {
  color: inherit;
}

@media (max-width: 767px) {
  .site-footer {
    display: flex;
    flex-direction: column-reverse;
    padding-block: 6.6vmax;
    gap: 3rem;
  }

  .footer-badges {
    align-self: stretch;
    justify-content: center;
  }

  .footer-badges a {
    max-width: 107px;
  }

}
/* Cookie choices and the optional contact map. */
.cookie-banner,
.cookie-dialog {
  box-sizing: border-box;
  background: var(--cream);
  color: var(--forest);
  padding: 24px;
  border: 1px solid var(--forest);
  box-shadow: 0 8px 32px #0003;
  font-size: 15px;
  line-height: 1.5;
}
.cookie-banner[hidden],
.map-consent[hidden],
iframe[data-consent-src][hidden] {
  display: none;
}
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: min(540px, calc(100% - 40px));
  z-index: 2000;
}
.cookie-banner h2,
.cookie-dialog h2 {
  font-size: 26px;
  line-height: 1.15;
  margin: 0 0 12px;
}
.cookie-banner p,
.cookie-dialog p {
  margin: 0 0 16px;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.cookie-actions button,
.map-consent button {
  border: 1px solid var(--forest);
  border-radius: 30px;
  background: var(--forest);
  color: var(--cream);
  padding: 10px 18px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.cookie-actions .cookie-settings {
  background: transparent;
  color: var(--forest);
}
.cookie-actions button:focus-visible,
.footer-cookie-preferences:focus-visible,
.map-consent button:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 3px;
}
.cookie-dialog {
  width: min(560px, calc(100% - 32px));
  max-height: calc(100dvh - 48px);
  overflow: auto;
}
.cookie-dialog::backdrop {
  background: #10150fe6;
}
.cookie-option {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  margin: 24px 0 12px;
}
.cookie-option input {
  width: 20px;
  height: 20px;
  accent-color: var(--forest);
}
.footer-cookie-preferences {
  display: block;
  padding: 0;
  margin-top: 16px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.8em;
  text-decoration: underline;
  cursor: pointer;
}
.map-consent {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: var(--cream);
  color: var(--forest);
  text-align: center;
}
.map-consent h3 {
  margin: 0;
  font-size: clamp(24px, 3vw, 40px);
}
.map-consent p {
  max-width: 430px;
  margin: 0;
}
.map-consent a {
  color: inherit;
  font-size: 14px;
}
@media (max-width: 767px) {
  .cookie-banner {
    bottom: 12px;
    left: 12px;
    width: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
    overflow: auto;
    padding: 20px;
  }
  .cookie-actions button {
    flex: 1 1 auto;
  }
  .map-consent {
    padding: 24px;
  }
}

