.product-analytics-consent {
  position: fixed;
  z-index: 10000;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  left: max(16px, env(safe-area-inset-left));
  display: flex;
  width: min(680px, calc(100% - 32px));
  margin: 0 auto;
  padding: 16px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  color: #211e1a;
  background: rgba(255, 253, 249, 0.97);
  border: 1px solid rgba(151, 113, 45, 0.34);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(43, 34, 24, 0.18);
  font-family: inherit;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.product-analytics-consent-copy {
  display: grid;
  flex: 1 1 360px;
  gap: 4px;
}

.product-analytics-consent-copy strong {
  font-size: 16px;
  line-height: 1.25;
}

.product-analytics-consent-copy span {
  color: #5f584f;
  font-size: 14px;
  line-height: 1.45;
}

.product-analytics-consent-copy a {
  color: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.product-analytics-consent-actions {
  display: flex;
  flex: 0 1 auto;
  flex-wrap: wrap;
  gap: 8px;
}

.product-analytics-consent-actions button {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.product-analytics-consent-secondary {
  color: #2d2924;
  background: #fffdf9;
  border: 1px solid #bdb3a5;
}

.product-analytics-consent-primary {
  color: #fff;
  background: #28231f;
  border: 1px solid #28231f;
}

.product-analytics-consent-actions button:focus-visible,
.product-analytics-consent-copy a:focus-visible {
  outline: 3px solid rgba(151, 113, 45, 0.44);
  outline-offset: 3px;
}

@media (max-width: 560px) {
  .product-analytics-consent-actions {
    width: 100%;
  }

  .product-analytics-consent-actions button {
    flex: 1 1 120px;
    padding-inline: 10px;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .product-analytics-consent {
    background: #fffdf9;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
