/* consent-banner.php — the pre-consent notice.

   Both buttons are deliberately the same size and weight. A decline styled
   as a faint link beside a prominent accept is not a free choice, and is the
   specific pattern that has drawn enforcement. */

.px-consent {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 9999;
  background: var(--paper-2, #fff);
  border-top: 1px solid var(--rule, #e5e0d8);
  box-shadow: 0 -8px 32px -18px rgba(0, 0, 0, 0.4);
  color: var(--ink, #1b1b1b);
  font-size: 13px;
  line-height: 1.55;
}

.px-consent__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.px-consent__text { flex: 1 1 340px; min-width: 0; }

.px-consent__title {
  margin: 0 0 3px;
  font-weight: 700;
  font-size: 13.5px;
}

.px-consent__body {
  margin: 0;
  color: var(--ink-soft, #6b6560);
}

.px-consent__body a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.px-consent__actions {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
  margin: 0;
}

.px-consent__btn {
  font: inherit;
  font-weight: 600;
  font-size: 13px;
  padding: 9px 18px;
  border-radius: 9px;
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid var(--rule, #d8d2c8);
  min-width: 132px;
}

.px-consent__btn--reject {
  background: var(--paper, #f6f2ea);
  color: var(--ink, #1b1b1b);
}

.px-consent__btn--accept {
  background: var(--theme-600, #b8862f);
  border-color: var(--theme-600, #b8862f);
  color: #fff;
}

.px-consent__btn:hover { filter: brightness(0.95); }

.px-consent__btn:focus-visible {
  outline: 2px solid var(--theme-600, #b8862f);
  outline-offset: 2px;
}

/* Phones: stack, and let the buttons share the row at equal width so neither
   is the bigger target. */
@media (max-width: 640px) {
  .px-consent__inner { padding: 13px 16px; gap: 12px; }
  .px-consent__actions { width: 100%; }
  .px-consent__btn { flex: 1 1 0; min-width: 0; padding: 11px 10px; }
}

/* The storefront has a fixed bottom nav on mobile — sit above it rather than
   under it, or the banner is unreachable on exactly the smallest screens. */
@media (max-width: 1023px) {
  .px-consent { bottom: var(--px-bottom-nav-height, 64px); }
}
