.cookie-consent-banner {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 10000;
  padding: 16px;
  pointer-events: none;
}

.cookie-consent-inner {
  pointer-events: auto;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(6, 9, 13, 0.18);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 20px;
}

.cookie-consent-text {
  flex: 1 1 280px;
  min-width: 0;
}

.cookie-consent-text h2 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.cookie-consent-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--mid);
}

.cookie-consent-text a {
  color: var(--olive);
  font-weight: 600;
  text-decoration: underline;
}

.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.cookie-consent-actions .btn-essential {
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-family: inherit;
}

.cookie-consent-actions .btn-essential:hover {
  background: var(--vanilla);
  border-color: var(--olive-light);
}

.cookie-consent-actions .btn-accept-all {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
  border: none;
  background: var(--olive);
  color: #fff;
  cursor: pointer;
  font-family: inherit;
}

.cookie-consent-actions .btn-accept-all:hover {
  background: var(--olive-dark);
}

body.cookie-consent-visible {
  /* Remove padding from body to avoid white space */
}

body.cookie-consent-visible .site-footer {
  padding-bottom: 140px !important;
}

@media (max-width: 640px) {
  .cookie-consent-inner {
    flex-direction: column;
  }

  .cookie-consent-actions {
    width: 100%;
  }

  .cookie-consent-actions button {
    flex: 1 1 auto;
    min-width: 140px;
  }

  body.cookie-consent-visible .site-footer {
    padding-bottom: 220px !important;
  }
}
