.gf-cookie-control,
.gf-cookie-panel {
  position: fixed;
  z-index: 100;
  left: max(1rem, env(safe-area-inset-left));
  background: #fff;
  color: #14442b;
  border: 1px solid #c2d0c4;
  box-shadow: 0 8px 20px #112d241f;
  font: 500 0.875rem/1.45 "DM Sans", sans-serif;
}

.gf-cookie-control {
  bottom: 1rem;
  padding: 0.5rem 0.75rem;
  border-radius: 2rem;
  cursor: pointer;
}

.gf-cookie-panel {
  bottom: 4rem;
  width: min(25rem, calc(100% - 2rem));
  padding: 1rem;
  border-radius: 1rem;
}

.gf-cookie-panel[hidden] { display: none; }
.gf-cookie-panel h2 { font-size: 1rem; font-weight: 800; }
.gf-cookie-panel p { margin: 0.4rem 0 0.85rem; }
.gf-cookie-options { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.gf-cookie-options button {
  min-height: 44px;
  padding: 0.35rem 0.55rem;
  border: 1px solid #91a897;
  border-radius: 0.5rem;
  cursor: pointer;
}

.gf-cookie-options [data-choice="all"] { background: #145232; color: #fff; }
.gf-cookie-control:focus-visible,
.gf-cookie-options button:focus-visible { outline: 2px solid #145232; outline-offset: 2px; }

@media (max-width: 639px) {
  .gf-cookie-control { bottom: calc(5.5rem + env(safe-area-inset-bottom)); }
  .gf-cookie-panel { bottom: calc(8.5rem + env(safe-area-inset-bottom)); }
}
