.cookie-banner,
.cookie-placeholder {
  box-sizing: border-box;
  color: #171717;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
}

.cookie-banner [hidden],
.cookie-banner[hidden],
.cookie-placeholder[hidden],
.cookie-placeholder [hidden],
#infm-map .map-cont[hidden],
#reviews-cont[hidden] {
  display: none !important;
}

.cookie-banner {
  position: fixed;
  inset: auto 20px 20px;
  z-index: 10000;
  max-width: 1080px;
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  margin-inline: auto;
  padding: 20px 24px;
  border: 1px solid #d6d6d6;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 35px #0003;
}

.cookie-banner-copy h2 {
  margin: 0 0 6px;
  padding-right: 40px;
  font-size: 18px;
  font-weight: 600;
}

.cookie-banner p { margin: 0 0 12px; }
.cookie-banner a,
.cookie-placeholder a { color: inherit; text-decoration: underline; }
.cookie-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

.cookie-banner button,
.cookie-placeholder button {
  min-height: 40px;
  padding: 8px 18px;
  border: 1px solid #171717;
  border-radius: 24px;
  background: #171717;
  color: #fff;
  font: inherit;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
}

.cookie-banner button:hover,
.cookie-placeholder button:hover { background: #383838; }
.cookie-banner :focus-visible,
.cookie-placeholder :focus-visible { outline: 3px solid #286aaf; outline-offset: 3px; }
.cookie-banner button[data-choice="customize"] { background: #fff; color: #171717; }
.cookie-banner .cookie-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 0;
  border: 1px solid #171717;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.cookie-banner .cookie-close::before,
.cookie-banner .cookie-close::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 2px;
  border-radius: 1px;
  background-color: #0b2038;
  transition: background-color 0.2s ease;
}

.cookie-banner .cookie-close::before { transform: rotate(45deg); }
.cookie-banner .cookie-close::after { transform: rotate(-45deg); }
.cookie-banner .cookie-close:hover { background-color: #222222; }
.cookie-banner .cookie-close:hover::before,
.cookie-banner .cookie-close:hover::after { background-color: #fff; }
.cookie-banner .cookie-close:focus-visible { outline: 2px solid #0b2038; outline-offset: 2px; }
#cookie-options { margin-top: 16px; border-top: 1px solid #ddd; padding-top: 12px; }
#cookie-options label { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; cursor: pointer; }
#cookie-options input { width: 18px; height: 18px; accent-color: #171717; }
.cookie-banner .cookie-message { margin: 12px 0 0; color: #9b2424; }

.cookie-placeholder {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 240px;
  padding: 30px 24px;
  background: #f3f3f3;
  text-align: center;
}

#infm-map > .cookie-placeholder { min-height: inherit; height: 100%; }
.cookie-placeholder svg { width: 30px; height: 30px; fill: none; stroke: #626262; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cookie-placeholder h3 { margin: 0; font-size: 17px; font-weight: 600; }
.cookie-placeholder p { max-width: 470px; margin: 0; color: #595959; font-size: 13px; }
.cookie-placeholder a { font-size: 12px; }
#reviews-embed { max-width: 1200px; margin: 0 auto; }
#reviews-embed > .cookie-placeholder { border: 1px solid #dedede; border-radius: 14px; }

@media (max-width: 600px) {
  .cookie-banner { inset: auto 10px 10px; padding: 16px; max-height: calc(100dvh - 20px); }
  .cookie-actions { padding-right: 0; }
  .cookie-actions > button { flex: 1 1 140px; }
  .cookie-placeholder { padding: 24px 16px; }
}
