/* Profit Per Order — optional measurement consent v2 */
.measurement-consent {
  position: fixed;
  z-index: 1000;
  right: 1rem;
  bottom: 1rem;
  width: min(34rem, calc(100vw - 2rem));
  padding: 1.1rem;
  border: 1px solid rgba(11, 18, 32, 0.16);
  border-radius: 1rem;
  background: #fff;
  color: #0b1220;
  box-shadow: 0 1.25rem 3.5rem rgba(11, 18, 32, 0.2);
}
.measurement-consent[hidden] { display: none !important; }
.measurement-consent h2 { margin: 0 0 0.35rem; font-size: 1.15rem; }
.measurement-consent > p { margin: 0 0 0.8rem; color: #52637a; font-size: 0.94rem; line-height: 1.55; }
.measurement-options { display: grid; gap: 0.55rem; margin: 0.8rem 0; }
.measurement-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  padding: 0.75rem;
  border: 1px solid rgba(11, 18, 32, 0.12);
  border-radius: 0.75rem;
  background: #f8faf6;
  cursor: pointer;
}
.measurement-option input { margin-top: 0.2rem; inline-size: 1.05rem; block-size: 1.05rem; }
.measurement-option strong { display: block; font-size: 0.94rem; }
.measurement-option small { display: block; margin-top: 0.15rem; color: #5d6d80; line-height: 1.45; }
.measurement-consent-actions { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 0.9rem; }
.measurement-consent-actions .button { min-height: 2.7rem; }
.measurement-consent-links { margin-top: 0.7rem; font-size: 0.82rem; }
.measurement-consent-links a { text-decoration: underline; text-underline-offset: 0.18em; }
.footer-privacy-button {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.footer-privacy-button:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .measurement-consent { right: 0.65rem; bottom: 0.65rem; width: calc(100vw - 1.3rem); max-height: calc(100vh - 1.3rem); overflow: auto; }
  .measurement-consent-actions { display: grid; }
  .measurement-consent-actions .button { width: 100%; }
}
