.gl-cookie-panel {
  position: fixed;
  z-index: 10000;
  right: clamp(16px, 3vw, 42px);
  bottom: clamp(16px, 3vw, 36px);
  left: clamp(16px, 3vw, 42px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(24px, 5vw, 72px);
  max-width: 1120px;
  margin-inline: auto;
  padding: clamp(24px, 3.6vw, 40px);
  color: #191815;
  border: 1px solid rgba(107, 86, 32, 0.22);
  border-radius: 24px;
  background: rgba(246, 244, 239, 0.98);
  box-shadow: 0 24px 70px rgba(25, 24, 21, 0.18);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.gl-cookie-panel[hidden] {
  display: none;
}

.gl-cookie-panel.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.gl-cookie-copy {
  max-width: 680px;
}

.gl-cookie-eyebrow {
  margin: 0 0 12px;
  color: #6b5620;
  font-family: "Outfit", Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 680;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.gl-cookie-copy h2 {
  margin: 0 0 13px;
  color: #191815;
  font-family: "Outfit", Arial, sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 520;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.gl-cookie-copy p:not(.gl-cookie-eyebrow) {
  margin: 0 0 12px;
  color: rgba(25, 24, 21, 0.72);
  font-family: "Outfit", Arial, sans-serif;
  font-size: 0.92rem;
  line-height: 1.55;
}

.gl-cookie-copy a {
  color: #6b5620;
  font-family: "Outfit", Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 620;
  text-underline-offset: 4px;
}

.gl-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.gl-cookie-button {
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid rgba(25, 24, 21, 0.32);
  border-radius: 999px;
  font-family: "Outfit", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.gl-cookie-button-primary {
  color: #f6f4ef;
  border-color: #191815;
  background: #191815;
}

.gl-cookie-button-primary:hover {
  border-color: #6b5620;
  background: #6b5620;
}

.gl-cookie-button-secondary {
  color: #191815;
  background: transparent;
}

.gl-cookie-button-secondary:hover {
  border-color: #191815;
  background: rgba(25, 24, 21, 0.05);
}

.gl-cookie-button:focus-visible,
[data-cookie-settings]:focus-visible {
  outline: 2px solid #6b5620;
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .gl-cookie-panel {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 22px;
    max-height: calc(100svh - 28px);
    overflow-y: auto;
    padding: 24px;
    border-radius: 20px;
  }

  .gl-cookie-actions {
    justify-content: stretch;
  }

  .gl-cookie-button {
    flex: 1 1 150px;
  }
}

@media (max-width: 420px) {
  .gl-cookie-actions {
    flex-direction: column-reverse;
  }

  .gl-cookie-button {
    flex-basis: auto;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gl-cookie-panel {
    transition: none;
  }
}
