/* OTT.IMMO – consent UI; self-hosted, no external requests. */
.ott-consent-banner {
  position: fixed;
  z-index: 10000;
  inset: auto 18px 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  max-width: 1060px;
  margin-inline: auto;
  padding: 24px 26px;
  color: #143d35;
  background: #fbfcf8;
  border: 1px solid #d5e1d1;
  border-radius: 20px;
  box-shadow: 0 18px 60px rgba(13, 42, 36, .22);
  font: inherit;
}
.ott-consent-banner[hidden] { display: none; }
.ott-consent-banner-copy { max-width: 62ch; }
.ott-consent-eyebrow { margin: 0 0 5px; color: #2e8b57; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.ott-consent-banner h2 { margin: 0 0 7px; color: #143d35; font-size: clamp(19px, 2vw, 24px); line-height: 1.2; }
.ott-consent-banner p:not(.ott-consent-eyebrow) { margin: 0 0 8px; color: #435650; font-size: 14px; line-height: 1.55; }
.ott-consent-banner a,
.ott-consent-settings a { color: #143d35; text-decoration: underline; text-underline-offset: 3px; }
.ott-consent-banner-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.ott-consent-button {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #143d35;
  border-radius: 999px;
  background: transparent;
  color: #143d35;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}
.ott-consent-button:hover { background: #eaf1e3; }
.ott-consent-button.ott-consent-primary { background: #fff; color: #143d35; }
.ott-consent-button.ott-consent-primary:hover { background: #eaf1e3; }
.ott-consent-button:focus-visible,
.ott-consent-embed-actions button:focus-visible,
.ott-consent-settings input:focus-visible { outline: 3px solid #2e8b57; outline-offset: 3px; }

.ott-consent-settings .cookie-dialog-inner { padding: 30px; }
.ott-consent-settings .consent-category {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 16px;
  padding: 17px 18px;
  margin: 18px 0;
  border: 1px solid #d5e1d1;
  border-radius: 14px;
  background: #fff;
}
.ott-consent-settings .consent-category strong { display: block; margin-bottom: 4px; color: #143d35; }
.ott-consent-settings .consent-category p { margin: 0; color: #52615a; font-size: 14px; line-height: 1.5; }
.ott-consent-settings .consent-required { color: #2e7056; font-size: 13px; font-weight: 750; white-space: nowrap; }
.ott-consent-settings .consent-optional { align-items: center; cursor: pointer; }
.ott-consent-settings .consent-optional input { width: 22px; height: 22px; accent-color: #143d35; }
.ott-consent-settings .consent-note { color: #52615a; font-size: 13px; line-height: 1.55; }
.ott-consent-settings .actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.ott-consent-settings .actions .button { margin: 0; }
.ott-consent-settings .actions [data-consent-necessary],
.ott-consent-settings .actions [data-consent-save],
.ott-consent-settings .actions [data-consent-accept] { background: #fff; color: #143d35; border: 1px solid #143d35; }

.ott-consent-embed-actions {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
}
.ott-consent-embed-actions button {
  appearance: none;
  border: 1px solid #143d35;
  border-radius: 999px;
  padding: 9px 13px;
  background: #143d35;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.ott-consent-embed-actions button[data-consent-settings-open] { background: transparent; color: #143d35; }

@media (max-width: 820px) {
  .ott-consent-banner { grid-template-columns: 1fr; gap: 16px; padding: 20px; }
  .ott-consent-banner-actions { justify-content: flex-start; }
}
@media (max-width: 520px) {
  .ott-consent-banner { inset: auto 10px 10px; gap: 12px; padding: 17px; border-radius: 16px; }
  .ott-consent-banner-actions { display: grid; grid-template-columns: 1fr; }
  .ott-consent-button { width: 100%; padding-inline: 9px; font-size: 12px; }
  .ott-consent-button.ott-consent-primary { grid-column: auto; }
  .ott-consent-settings .cookie-dialog-inner { padding: 20px; }
  .ott-consent-settings .actions { display: grid; }
  .ott-consent-settings .actions .button { width: 100%; }
  .ott-consent-settings .consent-category { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .ott-consent-banner, .ott-consent-button { scroll-behavior: auto; transition: none; }
}
