.cookie-consent__banner,
.cookie-consent__settings {
  position: fixed;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  color: #222;
  font-family: Arial, Helvetica, sans-serif;
}

.cookie-consent__banner[hidden],
.cookie-consent__settings[hidden] { display: none; }

.cookie-consent__banner {
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .12);
}

.cookie-consent__text {
  flex: 1;
  min-width: 220px;
  font-size: 14px;
  line-height: 1.4;
}

.cookie-consent__text strong { font-weight: 700; }
.cookie-consent__text p { margin: 6px 0 0; color: #555; font-size: 13px; line-height: 1.4; }
.cookie-consent__text .cookie-consent__note { margin-top: 6px; color: #666; font-size: 12px; }
.cookie-consent__text a { color: inherit; text-decoration: none; }
.cookie-consent__text a:hover,
.cookie-consent__text a:focus-visible { color: #0b74de; text-decoration: underline; }

.cookie-consent__actions,
.cookie-consent__settings-actions { display: flex; align-items: center; gap: 8px; }
.cookie-consent__actions { flex: 0 0 auto; }

.cookie-consent__actions button,
.cookie-consent__settings-actions button {
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  background: #f7f7f7;
  color: #222;
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
}

.cookie-consent__actions .cookie-consent__primary,
.cookie-consent__settings-actions .cookie-consent__primary {
  background: #0b74de;
  border-color: #0b74de;
  color: #fff;
}

.cookie-consent__actions button:hover,
.cookie-consent__settings-actions button:hover { background: #e9e9e9; }
.cookie-consent__actions .cookie-consent__primary:hover,
.cookie-consent__settings-actions .cookie-consent__primary:hover { background: #075fb8; }
.cookie-consent__actions button:disabled,
.cookie-consent__settings-actions button:disabled { opacity: .6; cursor: wait; }

.cookie-consent__settings {
  right: 16px;
  bottom: 80px;
  z-index: 2100;
  width: 360px;
  max-width: calc(100% - 32px);
  padding: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .16);
}

.cookie-consent__settings h2 { margin: 0 0 8px; font-size: 15px; font-weight: 700; }
.cookie-consent__row { padding: 10px 0; border-top: 1px solid #f0f0f0; }
.cookie-consent__row:first-of-type { border-top: 0; }
.cookie-consent__row strong { font-size: 15px; font-weight: 700; line-height: 1.4; }
.cookie-consent__row p { margin: 8px 0 0; color: #666; font-size: 13px; line-height: 1.4; }
.cookie-consent__settings-actions { justify-content: flex-end; margin-top: 10px; }
.cookie-consent__error { margin: 8px 0; color: #bb3030; font-size: 13px; }
.cookie-consent__error[hidden] { display: none; }

.cookie-consent__actions button:focus-visible,
.cookie-consent__settings-actions button:focus-visible,
.footer-cookie-settings:focus-visible,
.search-cookie-settings:focus-visible { outline: 3px solid rgba(11, 116, 222, .4); outline-offset: 2px; }

.footer-bottom nav .footer-cookie-settings {
  padding: 0 12px;
  border: 0;
  border-right: 1px solid #979797;
  background: none;
  color: var(--footer-muted);
  cursor: pointer;
  font-family: 'Arimo', Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 13px;
}

.footer-bottom nav .footer-cookie-settings:hover,
.search-cookie-settings:hover { color: #fff; }
.search-footer { display: flex; align-items: center; justify-content: center; }
.search-cookie-settings { padding: 8px 12px; border: 0; background: none; color: #555; cursor: pointer; font: 13px Arial, Helvetica, sans-serif; }
.search-cookie-settings:hover { color: #0b74de; }

@media (max-width: 767px) {
  .cookie-consent__banner { align-items: stretch; flex-direction: column; gap: 14px; }
  .cookie-consent__text { min-width: 0; }
  .cookie-consent__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .cookie-consent__actions button,
  .cookie-consent__settings-actions button { min-height: 44px; padding: 10px 8px; white-space: normal; }
  .cookie-consent__actions button:first-child { grid-column: 1 / -1; }
  .cookie-consent__settings { max-height: calc(100vh - 32px); overflow-y: auto; }
}
