/* EAVEX cookie consent banner — design system: 2px radius, hairline, bronze CTA, no shadow */

#eavex-cookie-banner {
  position: fixed;
  bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 10050;
  width: min(520px, calc(100vw - 2rem));
  padding: 1rem 1.25rem;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0E1219;
  color: #e9eef5;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.875rem;
  line-height: 1.5;
  /* Never participate in document flow / CLS */
  contain: layout style;
  pointer-events: auto;
}

#eavex-cookie-banner p {
  margin: 0 0 0.85rem;
  color: rgba(233, 238, 245, 0.88);
}

#eavex-cookie-banner a {
  color: #c4a35a;
  text-decoration: underline;
  text-underline-offset: 2px;
}

#eavex-cookie-banner a:hover,
#eavex-cookie-banner a:focus-visible {
  color: #e8c872;
}

.eavex-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

#eavex-cookie-banner button {
  font: inherit;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: #e9eef5;
}

#eavex-cookie-banner button:focus-visible {
  outline: 2px solid #c4a35a;
  outline-offset: 2px;
}

#eavex-cookie-accept {
  border-color: transparent;
  background: #8B6914;
  color: #fff;
  font-weight: 600;
}

#eavex-cookie-accept:hover {
  background: #a07a1a;
}

#eavex-cookie-decline:hover {
  border-color: rgba(255, 255, 255, 0.28);
}

@media (max-width: 480px) {
  #eavex-cookie-banner {
    bottom: 0.75rem;
    padding: 0.9rem 1rem;
  }

  .eavex-cookie-actions {
    flex-direction: column-reverse;
  }

  #eavex-cookie-banner button {
    width: 100%;
    text-align: center;
  }
}
