.cookie-banner {
  position: fixed;
  right: 0;
  bottom: calc(var(--bottom-nav, 65px) + env(safe-area-inset-bottom, 0px) + 8px);
  left: 0;
  z-index: 9999;
  padding: 0 12px 12px;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.cookie-banner__inner {
  width: 100%;
  max-width: 600px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: var(--radius, 12px);
  background: var(--card, #fff);
  box-shadow: var(--shadow, 0 4px 24px rgba(0, 0, 0, .08));
  pointer-events: auto;
}

.cookie-banner__inner p {
  margin: 0;
  color: var(--text-2, #334155);
  font-size: 14px;
  line-height: 1.5;
}

.cookie-banner__inner a {
  color: var(--text-2, #334155);
  text-decoration: underline;
  text-underline-offset: .15em;
}
.cookie-banner__buttons { display: flex; justify-content: flex-end; gap: 8px; }
.cookie-banner__buttons button {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 10px;
  font: 700 14px/1 var(--font-body, var(--font, sans-serif));
  cursor: pointer;
}
.cookie-banner__accept { border-color: var(--teal, #06b6d4); background: var(--teal, #06b6d4); color: #082f49; }
.cookie-banner__decline { background: var(--card, #fff); color: var(--text, #0f172a); }

@media (min-width: 640px) {
  .cookie-banner__inner { flex-direction: row; align-items: center; }
  .cookie-banner__inner p { flex: 1; }
}

@media (max-width: 639px) {
  .cookie-banner { padding: 0 8px 8px; }
  .cookie-banner__inner { padding: 12px; gap: 8px; }
  .cookie-banner__buttons { flex-direction: column; }
  .cookie-banner__buttons button { width: 100%; min-height: 44px; }
  body.sgt-cookie-banner-open.sgt-has-bottom-nav { padding-bottom: calc(var(--bottom-nav, 65px) + 180px + env(safe-area-inset-bottom, 0px)) !important; }
}
