:root {
  --brand: #090909; --brand-strong: #000000; --brand-soft: #f0f0f0; --accent: #00b8d4; --on-brand: #ffffff;
  --bg: #f5f5f5; --surface: #ffffff; --surface-2: #f1f1f1; --text: #111111; --muted: #535353;
  --line: #d7d7d7; --card-outline: #bdbdbd; --danger: #a83a4c; --price-bronze: #9a6a24; --section-purple: #39265d; --shadow: 0 16px 45px rgba(0, 0, 0, .09);
  --radius-sm: .75rem; --radius-md: 1.15rem; --radius-lg: 1.75rem;
  --shell: min(92vw, 1320px); --header-height: 4.75rem;
}

[data-theme="dark"] {
  --brand: #f4f4f4; --brand-strong: #ffffff; --brand-soft: #292929; --accent: #18d4e5; --on-brand: #090909;
  --bg: #111111; --surface: #1b1b1b; --surface-2: #252525; --text: #f5f5f5; --muted: #b8b8b8;
  --line: #3e3e3e; --card-outline: #555555; --danger: #ef8998; --price-bronze: #d2a65f; --section-purple: #d8c9f2; --shadow: 0 18px 48px rgba(0, 0, 0, .34);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: system-ui, -apple-system, "Segoe UI", Tahoma, Arial, sans-serif; line-height: 1.55; }
body.drawer-open { overflow: hidden; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
.icon { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; inset-block-start: .5rem; inset-inline-start: .5rem; z-index: 1000; transform: translateY(-150%); background: var(--text); color: var(--bg); padding: .7rem 1rem; border-radius: .6rem; }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent), transparent 20%); outline-offset: 3px; }
[hidden] { display: none !important; }

.analytics-consent-prompt {
  position: fixed; z-index: 1200; inset-inline: 1rem; inset-block-end: max(1rem, env(safe-area-inset-bottom));
  width: min(calc(100% - 2rem), 46rem); margin-inline: auto; padding: .9rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  border: 1px solid var(--line); border-radius: 1rem; color: var(--text); background: var(--surface);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .2);
}
.analytics-consent-prompt p { margin: .15rem 0; color: var(--muted); font-size: .82rem; }
.analytics-consent-prompt a { color: var(--brand-strong); font-size: .78rem; font-weight: 800; text-decoration: underline; }
.analytics-consent-prompt-actions { display: flex; flex: none; gap: .45rem; }
.analytics-consent-prompt-actions button { min-height: 2.45rem; padding-inline: .8rem; border: 1px solid var(--line); border-radius: 999px; color: var(--text); background: var(--surface-2); font: inherit; font-size: .75rem; font-weight: 850; cursor: pointer; }
.analytics-consent-prompt-actions button[data-analytics-consent-action="granted"] { color: var(--on-brand); border-color: var(--brand); background: var(--brand); }
@media (max-width: 560px) {
  .analytics-consent-prompt { align-items: stretch; flex-direction: column; gap: .65rem; }
  .analytics-consent-prompt-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
