.cookie-banner {
  position: fixed;
  z-index: 1200;
  inset-inline-start: clamp(12px, 2vw, 28px);
  bottom: max(12px, env(safe-area-inset-bottom));
  width: min(650px, calc(100% - clamp(24px, 4vw, 56px)));
  max-height: 70vh;
  overflow: auto;
  box-sizing: border-box;
  padding: clamp(16px, 3vw, 25px);
  color: #12372d;
  background: #faf6ed;
  border: 1px solid #b79550;
  border-radius: 8px;
  box-shadow: 0 10px 42px #071f1a40;
  font-size: .9rem;
  line-height: 1.5;
}

.cookie-banner[hidden],
.cookie-map-placeholder[hidden],
[data-cookie-open][hidden] {
  display: none;
}

.cookie-banner h2 {
  margin: 0 0 .45rem;
  font: 500 clamp(1.4rem, 3vw, 1.8rem)/1.2 var(--font-display, Georgia, serif);
}

.cookie-banner p,
.cookie-map-placeholder p {
  margin: 0 0 .55rem;
}

.cookie-banner summary {
  width: fit-content;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: .18em;
}

.cookie-banner details[open] summary {
  margin-bottom: .45rem;
}

.cookie-banner details a {
  text-decoration: underline;
  text-underline-offset: .18em;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: .8rem;
}

.cookie-actions button,
.cookie-map-placeholder button {
  padding: .58rem .9rem;
  border: 1px solid #285347;
  border-radius: 4px;
  background: transparent;
  color: #12372d;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.cookie-actions button {
  flex: 1 1 10rem;
}

.cookie-actions button:hover,
.cookie-map-placeholder button:hover {
  background: #e6ecdf;
}

.cookie-banner :focus-visible,
.cookie-map-placeholder button:focus-visible,
.footer-cookie-settings:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.cookie-map {
  display: grid;
  min-width: 0;
}

.cookie-map-placeholder {
  display: grid;
  min-height: 470px;
  align-content: center;
  justify-items: center;
  padding: 28px;
  text-align: center;
  background: #eee8da;
  color: #12372d;
}

.cookie-map-placeholder strong {
  font: 500 1.65rem/1.2 var(--font-display, Georgia, serif);
  margin-bottom: .45rem;
}

.footer-bottom {
  flex-wrap: wrap;
}

.footer-company {
  align-self: stretch;
  margin-top: .55rem;
  padding-top: 1rem;
  border-top: 1px solid #ffffff1f;
}

.footer-contact .footer-company h3 {
  margin: 0 0 .6rem;
}

.footer-company strong {
  color: #f0e2c4;
  font-size: .875rem;
  font-weight: 650;
}

.footer-company-name {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: #c7a55b80;
  text-underline-offset: .22em;
}

.footer-company-details {
  display: grid;
  gap: .2rem;
  margin-top: .3rem;
}

.footer-cookie-settings {
  justify-self: start;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  text-decoration: underline;
  text-underline-offset: .22em;
  cursor: pointer;
}

@media (max-width: 760px) {
  .cookie-map-placeholder {
    min-height: 340px;
  }
}
