/* Existing Medusa palette and typography; consent is non-modal, equally weighted choices. */
.analytics-consent[hidden], .analytics-consent [hidden] { display: none !important; }
.analytics-consent { position: fixed; z-index: 1200; inset: auto auto 20px 20px; width: min(520px, calc(100vw - 40px)); max-height: calc(100dvh - 40px); overflow-y: auto; padding: 24px; background: var(--color-surface, #fff); color: var(--color-primary, #0f172a); border: 1px solid var(--color-border, #dbe4ef); border-radius: 16px; box-shadow: var(--shadow-lg, 0 12px 34px #0f172a26); }
.analytics-consent h2 { color: inherit; font-size: 20px; line-height: 1.3; margin: 0 0 12px; }
.analytics-consent p { color: inherit; font-size: 15px; line-height: 1.6; margin: 0 0 16px; }
.analytics-consent a { color: #2146c7; text-decoration: underline; }
.analytics-consent small { display: block; font-size: 13px; line-height: 1.5; margin-top: 14px; }
.analytics-consent-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.analytics-consent-actions button { flex: 1 1 170px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 12px; font: inherit; font-size: 14px; font-weight: 600; border: 1px solid #2146c7; border-radius: 8px; color: #2146c7; background: #fff; cursor: pointer; }
.analytics-consent-actions button:hover { background: #edf2ff; }
.analytics-consent-actions button:disabled { color: #526179; border-color: #526179; cursor: not-allowed; }
.analytics-consent svg, .analytics-preferences svg { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; }
.analytics-preferences { display: inline-flex; align-items: center; gap: 6px; }
/* Reserve the final footer row above the fixed WhatsApp control, even at narrow widths. */
.footer-base { padding-bottom: 100px; }
.analytics-consent :focus-visible, .analytics-consent:focus-visible, .analytics-preferences:focus-visible { outline: 3px solid #2146c7; outline-offset: 4px; }
@media (max-width: 600px) { .analytics-consent { inset: auto 12px 92px 12px; width: auto; padding: 18px; max-height: calc(100dvh - 116px); } }
