/* Anahata v2 — cookie consent banner. No Figma frame: tokens + .a-btn only.
   Fixed, so showing it shifts nothing. --cc-offset (set by cookie-consent.js)
   lifts it above a fixed bottom bar (tab bar, PDP buy bar, cart summary) so
   it never covers the purchase controls. */

.cookie-consent {
  position: fixed;
  left: var(--a-space-3);
  right: var(--a-space-3);
  bottom: calc(var(--cc-offset, 0px) + var(--a-space-3));
  z-index: 36; /* over the bottom bars (30) and the WhatsApp button (35), under the header (40) */
  display: flex;
  flex-direction: column;
  gap: var(--a-space-3);
  max-width: 560px;
  margin-inline: auto;
  padding: var(--a-space-4);
  background: var(--a-surface);
  color: var(--a-ink);
  border-radius: var(--a-radius);
  box-shadow: var(--a-shadow-search);
  font-family: var(--a-font-body);
}

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

.cookie-consent__text {
  margin: 0;
  font-size: var(--a-fs-body-s);
  line-height: var(--a-lh-body-s);
}

.cookie-consent__link {
  color: inherit;
  text-decoration: underline;
}

.cookie-consent__link:focus-visible {
  outline: 2px solid var(--a-ink-pure);
  outline-offset: 2px;
}

.cookie-consent__actions {
  display: flex;
  gap: var(--a-space-3);
}

.cookie-consent__actions .a-btn {
  flex: 1 1 0;
}
