.mt-cookie[hidden], .mt-cookie [hidden] { display: none !important; }
.mt-cookie {
  position: fixed; inset: auto 20px 20px; z-index: 10000;
  display: flex; align-items: center; gap: var(--gap); max-width: 1160px;
  margin: 0 auto; padding: var(--gap); border: 1px solid var(--light-grey);
  border-radius: 8px; background: var(--white); color: var(--accent-color);
  box-shadow: 0 8px 40px rgb(36 45 57 / 15%); font-family: inherit; font-size: var(--fz-small); line-height: 1.5;
  max-height: calc(100vh - 40px); overflow: auto;
}
.mt-cookie__copy { flex: 1; min-width: 0; }
.mt-cookie h2 { margin: 0 0 8px; color: var(--dark); }
.mt-cookie p { margin: 0 0 8px; font: inherit; }
.mt-cookie a, .mt-personal-consent a { color: var(--primary-h); text-decoration: underline; }
.mt-cookie__links { font-size: 12px !important; }
.mt-cookie__actions { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }
.mt-cookie__button {
  cursor: pointer; min-height: 44px;
}
.mt-cookie .mt-cookie__button--necessary { background: var(--bg-secondary); color: var(--dark); box-shadow: inset 0 0 0 1px var(--light-grey); }
.mt-cookie .mt-cookie__button--necessary:hover, .mt-cookie .mt-cookie__button--necessary:active { background: var(--light-grey-3); }
.mt-cookie__button:focus-visible, .mt-cookie a:focus-visible, .mt-cookie-settings:focus-visible,
.mt-personal-consent input:focus-visible, .mt-personal-consent a:focus-visible { outline: 3px solid var(--secondary); outline-offset: 3px; }
.mt-cookie__button:disabled { cursor: wait; opacity: .55; }
.mt-cookie__status { color: var(--dark); min-height: 0; }
.mt-cookie__status:empty { display: none; }
.mt-cookie-settings { padding: 0; border: 0; background: transparent; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; }
.mt-personal-consent { margin: 20px 0; padding: var(--gap-card); background: var(--bg-secondary); border-radius: 8px; font-size: var(--fz-small); line-height: 1.6; }
.mt-personal-consent label { display: flex; align-items: flex-start; gap: 10px; margin: 0; cursor: pointer; }
.mt-personal-consent input[type="checkbox"] { appearance: auto; -webkit-appearance: checkbox; width: 20px; height: 20px; min-width: 20px; flex-shrink: 0; margin: 2px 0 0; accent-color: var(--primary); opacity: 1; position: static; }
.mt-personal-consent p { margin: 8px 0 0 30px; font-size: 12px; }
.mt-personal-consent .js-custom-error-message { display: block; color: var(--red); margin-top: 8px; }
.mt-privacy-unavailable { margin: 20px 0; padding: var(--gap-card); border: 1px solid var(--light-grey); border-radius: 8px; }
.mt-privacy-document { padding: 32px 0; max-width: 900px; overflow-wrap: anywhere; }
.mt-privacy-document h1 { margin-bottom: 24px; }
.mt-privacy-document h2 { margin: 28px 0 12px; font-size: 24px; }
.mt-privacy-document p { margin-bottom: 16px; }
.mt-map-link { display: flex; width: 100%; height: 100%; min-height: 150px; align-items: center; justify-content: center; padding: var(--gap); text-align: center; background: var(--bg-secondary); color: var(--primary-h); text-decoration: underline; }
@media (max-width: 640px) {
  .mt-cookie { inset: auto 10px 10px; padding: 18px; gap: 14px; flex-direction: column; align-items: stretch; max-height: calc(100vh - 20px); }
  .mt-cookie__actions { flex-direction: column; }
  .mt-cookie h2 { font-size: 18px; }
}
