.consent-banner[hidden],
.consent-modal[hidden] { display: none; }

.consent-banner {
  position: fixed;
  z-index: 1000;
  right: 22px;
  bottom: 22px;
  left: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  max-width: 1180px;
  margin: auto;
  padding: 28px 32px;
  color: #342b24;
  background: #f4f1eb;
  border: 1px solid #b7a58e;
  box-shadow: 0 20px 65px rgba(31, 25, 20, .3);
}

.consent-banner h2,
.consent-modal h2 {
  margin: 6px 0 10px;
  font: 500 32px/1 "Cormorant Garamond", serif;
}

.consent-banner p:not(.overline) {
  max-width: 760px;
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
}

.consent-more { margin-top: 8px !important; }
.consent-more a,
.legal-links a,
.legal-links button { color: inherit; text-decoration: underline; }

.consent-actions,
.preferences-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.consent-button {
  min-height: 42px;
  border: 1px solid #67523f;
  padding: 11px 16px;
  color: #40342a;
  background: transparent;
  font: 600 9px Montserrat, Arial, sans-serif;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.consent-button.accept,
.consent-button.reject,
.consent-button.save { color: #fff; background: #5c4735; }

.consent-close,
.preferences-close {
  position: absolute;
  top: 10px;
  right: 13px;
  width: 38px;
  height: 38px;
  border: 1px solid #67523f;
  color: #40342a;
  background: #f4f1eb;
  font-size: 23px;
  line-height: 1;
}

.consent-modal {
  position: fixed;
  z-index: 1100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(31, 25, 20, .68);
}

.consent-modal-card {
  position: relative;
  width: min(720px, 100%);
  max-height: calc(100vh - 44px);
  overflow: auto;
  padding: 42px;
  color: #342b24;
  background: #f4f1eb;
}

.consent-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 25px;
  align-items: center;
  margin-top: 22px;
  padding: 22px 0;
  border-top: 1px solid #cabdaa;
}

.consent-row strong { font-size: 13px; }
.consent-row p { margin: 7px 0 0; font-size: 11px; line-height: 1.65; }
.always-on { font-size: 9px; font-weight: 600; text-transform: uppercase; }
.consent-row input { width: 22px; height: 22px; accent-color: #5c4735; }
.preferences-actions { margin-top: 25px; }

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 10px;
}

.legal-links button {
  border: 0;
  padding: 0;
  color: inherit;
  background: none;
  font: inherit;
}

.map-consent-placeholder {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  color: #3d332b;
  background: #ded0bd;
  text-align: center;
}

.map-consent-placeholder strong { font: 500 30px "Cormorant Garamond", serif; }
.map-consent-placeholder p { max-width: 480px; font-size: 12px; line-height: 1.7; }
.map-consent-placeholder .button { border: 1px solid #67523f; color: #40342a; background: transparent; }
.map-card.consent-granted .map-consent-placeholder { display: none; }

@media (max-width: 800px) {
  .consent-banner { grid-template-columns: 1fr; align-items: start; }
  .consent-actions .consent-button { flex: 1 1 150px; }
}

@media (max-width: 560px) {
  .consent-banner { right: 10px; bottom: 10px; left: 10px; padding: 27px 20px 20px; }
  .consent-banner h2 { font-size: 27px; }
  .consent-modal-card { padding: 38px 23px 25px; }
  .consent-row { grid-template-columns: 1fr auto; gap: 14px; }
  .preferences-actions .consent-button { width: 100%; }
}
