.cookie-consent[hidden],
.cookie-settings[hidden] { display: none !important; }
.cookie-consent {
  position: fixed;
  z-index: 15000;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(520px, calc(100vw - 36px));
  padding: 12px 14px;
  color: #18352c;
  background: #fff;
  border: 1px solid #cbd9d1;
  border-radius: 14px;
  box-shadow: 0 12px 40px #0d1b2938;
  font: 13px/1.4 system-ui, -apple-system, "Segoe UI", sans-serif;
}
.cookie-consent-copy { min-width: 0; }
.cookie-consent-copy strong { display: block; margin-bottom: 2px; font-size: 14px; }
.cookie-consent-copy p { margin: 0 0 3px; color: #52645c; }
.cookie-consent-copy a { color: #176348; text-decoration: underline; text-underline-offset: 2px; }
.cookie-consent-actions { display: flex; flex: 0 0 auto; gap: 8px; }
.cookie-consent-actions button,
.cookie-settings {
  min-height: 36px;
  padding: 0 11px;
  color: #174f3b;
  background: #f5f8f6;
  border: 1px solid #b9cec2;
  border-radius: 9px;
  font: 600 13px/1.2 system-ui, -apple-system, "Segoe UI", sans-serif;
  cursor: pointer;
}
.cookie-consent-actions button:hover,
.cookie-settings:hover { background: #eaf2ed; }
.cookie-consent-actions .cookie-consent-accept,
.cookie-consent-actions .cookie-consent-reject { color: #174f3b; background: #f5f8f6; border-color: #b9cec2; }
.cookie-consent-actions .cookie-consent-accept:hover,
.cookie-consent-actions .cookie-consent-reject:hover { background: #eaf2ed; }
.cookie-consent-actions button:focus-visible,
.cookie-settings:focus-visible { outline: 3px solid #2e92d1; outline-offset: 2px; }
.cookie-settings {
  position: fixed;
  z-index: 14999;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  min-height: 30px;
  padding: 0;
  color: #53665d;
  background: #ffffffed;
  border-radius: 50%;
  font-size: 0;
  box-shadow: 0 2px 10px #0d1b291a;
}
.cookie-settings svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 760px) {
  .cookie-consent {
    right: 10px;
    bottom: 76px;
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    width: auto;
    padding: 12px;
    border-radius: 12px;
    font-size: 13px;
  }
  .cookie-consent-copy strong { font-size: 14px; }
  .cookie-consent-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .cookie-consent-actions button { min-height: 36px; padding: 0 8px; font-size: 13px; }
  .cookie-settings { right: 10px; bottom: 76px; width: 28px; height: 28px; min-height: 28px; }
}
