.gfx-analytics-consent[hidden] {
  display: none !important;
}

.gfx-analytics-consent {
  position: fixed;
  z-index: 1200;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  max-width: 68rem;
  margin-inline: auto;
  border: 1px solid #d4d4d8;
  border-radius: 1rem;
  background: #fff;
  color: #18181b;
}

.gfx-analytics-consent__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1rem 1.125rem;
}

.gfx-analytics-consent__copy {
  min-width: 0;
  max-width: 48rem;
}

.gfx-analytics-consent__copy h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}

.gfx-analytics-consent__copy p {
  margin: .25rem 0 0;
  color: #52525b;
  font-size: .875rem;
  line-height: 1.5;
  text-wrap: pretty;
}

.gfx-analytics-consent__copy a {
  color: #a9320b;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.gfx-analytics-consent__actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .5rem;
}

.gfx-analytics-consent__actions button {
  min-width: 8.75rem;
  min-height: 2.75rem;
  max-width: 100%;
  padding: .55rem .8rem;
  border: 1px solid #a1a1aa;
  border-radius: .625rem;
  background: #fff;
  color: #27272a;
  cursor: pointer;
  font: inherit;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  overflow-wrap: anywhere;
}

.gfx-analytics-consent__actions button:hover {
  background: #f4f4f5;
}

.gfx-analytics-consent :focus-visible,
.gfx-analytics-settings:focus-visible {
  outline: 2px solid #c2410c;
  outline-offset: 3px;
}

.gfx-analytics-settings {
  min-height: 2.5rem;
  padding: .25rem .5rem;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-size: .8125rem;
  text-decoration: underline;
  text-underline-offset: 2px;
}

html[data-theme-effective="dark"] .gfx-analytics-consent {
  border-color: #52525b;
  background: #18181b;
  color: #f4f4f5;
}

html[data-theme-effective="dark"] .gfx-analytics-consent__copy p {
  color: #d4d4d8;
}

html[data-theme-effective="dark"] .gfx-analytics-consent__copy a {
  color: #fb923c;
}

html[data-theme-effective="dark"] .gfx-analytics-consent__actions button {
  border-color: #71717a;
  background: #27272a;
  color: #f4f4f5;
}

html[data-theme-effective="dark"] .gfx-analytics-consent__actions button:hover {
  background: #3f3f46;
}

@media (max-width: 640px) {
  .gfx-analytics-consent {
    right: .75rem;
    bottom: .75rem;
    left: .75rem;
    width: auto;
  }

  .gfx-analytics-consent__content {
    align-items: stretch;
    flex-direction: column;
    gap: .75rem;
    padding: .875rem;
  }

  .gfx-analytics-consent__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
  }

  .gfx-analytics-consent__actions button {
    min-width: 0;
    padding-inline: .5rem;
  }

  .storefront-footer-bottom-inner {
    flex-wrap: wrap;
    gap: .5rem;
  }
}
