/* ============================================================
   HopPass v2 — Design System
   Mobile-first PWA · Passaporte Craft Brasileiro
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500;1,9..144,600&family=Inter:wght@400;500;600;700&family=DM+Mono:wght@400;500&display=swap');

/* ── Tokens ── */
 :root {
  --ff-display: 'Fraunces', Georgia, serif;
  --ff-body: 'Inter', system-ui, sans-serif;

  --color-amber: #E8A020;
  --color-amber-dark: #B87A10;
  --color-amber-light: #FAEEDA;
  --color-dark-hero: #1A1A14;
  --color-green-roteiros: #1E3A2A;
  --color-bg-primary: #FAF8F4;
  --color-bg-secondary: #F0ECE4;
  --color-text-primary: #1A1A14;
  --color-text-secondary: #6B6560;
  --color-text-muted: #A09890;
  --color-border: rgba(26,26,20,0.12);
  --color-border-strong: rgba(26,26,20,0.25);

  --section-padding-desktop: 5rem 0;
  --section-padding-mobile: 3rem 0;
  --container-max-width: 1200px;
  --container-padding: 0 2rem;
  --container-padding-mobile: 0 1.25rem;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-card: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-card-hover: 0 4px 12px rgba(0,0,0,0.12);

  /* Backward-compatible aliases */
  --ink: var(--color-text-primary);
  --ink-2: #3D3827;
  --paper: var(--color-bg-primary);
  --paper-2: var(--color-bg-secondary);
  --paper-3: #E0D5BC;
  --amber: var(--color-amber);
  --amber-2: #F0BB4B;
  --gold: #B8972A;
  --green: var(--color-green-roteiros);
  --green-2: #2E6644;
  --muted: var(--color-text-secondary);
  --muted-2: var(--color-text-muted);
  --line: rgba(184,151,42,.18);
  --line-2: var(--color-border);
  --color-background-secondary: var(--color-bg-secondary);
  --color-background-tertiary: #E0D5BC;
  --serif: var(--ff-display);
  --sans: var(--ff-body);
  --mono: 'DM Mono', monospace;

  --r-xs: 4px;
  --r-sm: var(--radius-sm);
  --r-md: var(--radius-md);
  --r-lg: var(--radius-lg);
  --r-xl: var(--radius-xl);
  --r-full: 999px;

  --shadow-sm: var(--shadow-card);
  --shadow-md: var(--shadow-card-hover);
  --shadow-lg: 0 14px 48px rgba(28,26,20,.16);

  --pad: 16px;
  --max-w: var(--container-max-width);
  --nav-h: 56px;
  --bottom-h: 84px;
}
@media (min-width: 768px) {
  :root { --pad: 32px; --nav-h: 64px; }
}
@media (min-width: 1024px) {
  :root { --pad: 48px; --bottom-h: 0px; }
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: var(--bottom-h);
}
@media (min-width: 1024px) { body { padding-bottom: 0; } }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.page-content { min-height: 100vh; }
@media (max-width: 768px) { .page-content { padding-bottom: 90px; } }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; }

/* ── Container ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad); }
.container--sm { max-width: 720px; }

/* ── Typography ── */
.eyebrow {
  font-family: var(--ff-body, var(--sans));
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  display: block;
  margin-bottom: 8px;
}
h1, h2, h3 { font-family: var(--ff-display, var(--serif)); line-height: 1.1; }
h1 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 700; }
h1.page-title { line-height: 1.05; color: #fff; }
h1.page-title.light { color: var(--color-text-primary); }
h2 { font-size: clamp(1.5rem, 2.5vw, 2.2rem); font-weight: 700; line-height: 1.15; color: var(--color-text-primary); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); font-weight: 600; }
.t-mono { font-family: var(--mono); }

/* ── Top Nav ── */
.top-nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: var(--color-dark-hero);
  backdrop-filter: blur(16px);
  border-bottom: 0.5px solid rgba(255,255,255,0.08);
  display: flex; align-items: center;
}
.top-nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad);
}
.top-nav__logo {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--serif); font-size: 1.1rem; font-weight: 700;
  color: #fff; text-decoration: none;
}
.top-nav__logo-mark {
  width: 32px; height: 32px; border-radius: 50%;
  overflow: hidden; flex-shrink: 0;
  display: grid; place-items: center;
}
.top-nav__logo-mark img {
  width: 100%; height: 100%; object-fit: contain; display: block;
}
.top-nav__links {
  display: none; align-items: center; gap: 28px;
}
@media (min-width: 768px) { .top-nav__links { display: flex; } }
.top-nav__links a {
  font: 500 11px var(--mono); letter-spacing: .5px; text-transform: uppercase;
  color: rgba(255,255,255,.72); transition: color .15s;
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
}
.top-nav__links a:hover, .top-nav__links a.active { color: var(--amber); border-bottom-color: var(--amber); }
.top-nav__cta {
  display: none; align-items: center; gap: 8px;
}
@media (min-width: 768px) { .top-nav__cta { display: flex; } }

/* ── Google sign-in button ── */
.btn--google {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,.22);
  font-family: var(--ff-body);
  font-weight: 500;
  letter-spacing: .01em;
  cursor: pointer;
}
.btn--google:hover {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.38);
}

/* ── Nav user widget (logged-in state) ── */
.nav-user { position: relative; }
.nav-user__btn {
  display: flex; align-items: center; gap: 7px;
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,.88);
  padding: 4px 4px 4px 6px; border-radius: var(--r-full);
  font-size: .82rem; font-family: var(--ff-body); font-weight: 500;
  transition: background .15s;
}
.nav-user__btn:hover { background: rgba(255,255,255,.1); }
.nav-user__btn svg { opacity: .65; flex-shrink: 0; }
.nav-avatar {
  width: 28px; height: 28px; border-radius: 50%; object-fit: cover;
  border: 1.5px solid rgba(255,255,255,.28);
  flex-shrink: 0;
}
.nav-avatar--initials {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--amber); color: #fff;
  font: 600 10px var(--mono); letter-spacing: .04em;
}
.nav-user__name {
  max-width: 72px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.nav-user__dropdown {
  position: absolute; right: 0; top: calc(100% + 8px);
  background: var(--color-bg-primary); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: 5px;
  min-width: 168px;
  box-shadow: 0 8px 28px rgba(0,0,0,.22);
  z-index: 200;
}
.nav-user__item {
  display: block; width: 100%; text-align: left;
  padding: 9px 12px; border-radius: 6px;
  font: 400 .84rem var(--ff-body); color: var(--color-text-primary);
  border: none; background: none; cursor: pointer;
  text-decoration: none;
  transition: background .12s;
  white-space: nowrap;
}
.nav-user__item:hover { background: var(--color-bg-secondary); }
.nav-user__item--danger { color: #c94040; }
.nav-user__item--danger:hover { background: rgba(201,64,64,.08); color: #c94040; }

nav a,
.nav-link,
header nav a {
  color: rgba(255, 255, 255, 0.75) !important;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.15s;
}
nav a:hover,
.nav-link:hover { color: #ffffff !important; }
nav a.active,
.nav-link.active {
  color: var(--color-amber, #E8A020) !important;
  border-bottom: 2px solid var(--color-amber, #E8A020);
  padding-bottom: 2px;
}

.breadcrumbs, .breadcrumb {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font: 400 11px var(--mono); color: rgba(255,255,255,0.45);
}
.breadcrumbs__link, .breadcrumb a { color: rgba(255,255,255,0.45); text-decoration: none; }
.breadcrumbs__link:hover { color: var(--amber); }
.breadcrumbs__sep { opacity: .5; }
.breadcrumbs__current { color: var(--ink); }


.breadcrumb { font-size: 0.75rem; color: rgba(255,255,255,0.55); display: flex; align-items: center; gap: 6px; margin-bottom: 1rem; flex-wrap: wrap; }
.breadcrumb a { color: inherit; text-decoration: none; }
.breadcrumb a:hover { color: rgba(255,255,255,0.85); }
.breadcrumb__separator { opacity: 0.4; }
.breadcrumb__current { color: rgba(255,255,255,0.85); }
/* ── Bottom Nav (mobile) ── */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: #1A1A14;
  border-top: 0.5px solid rgba(255,255,255,0.1);
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: center;
  padding: 8px 0;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
@media (min-width: 769px) { .bottom-nav { display: none; } }

.bottom-nav__item {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 3px;
  color: rgba(255,255,255,0.45); text-decoration: none;
  font-size: 0.6rem; font-weight: 500; letter-spacing: .05em; text-transform: uppercase;
  transition: color .15s;
}
.bottom-nav__item svg { width: 22px; height: 22px; }
.bottom-nav__item.active, .bottom-nav__item:hover { color: var(--amber); }
.bottom-nav__item.active svg { stroke: var(--amber); }

.bottom-nav__checkin { display: flex; align-items: flex-start; justify-content: center; }
.bottom-nav__checkin-btn {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--color-amber);
  margin-top: -16px; display: grid; place-items: center;
  box-shadow: 0 4px 14px rgba(212,137,26,.4);
  transition: transform .15s, box-shadow .15s;
}
.bottom-nav__checkin-btn:active { transform: scale(.92); }
.bottom-nav__checkin-btn svg { width: 22px; height: 22px; stroke: #fff; }

/* ── Buttons ── */
.btn-primary, .btn--amber {
  background: var(--color-amber);
  color: #1A1A14;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-md);
  border: none;
}
.btn-primary:hover, .btn--amber:hover { background: var(--color-amber-dark); }
.btn-secondary, .btn--ghost { background: transparent; color: var(--color-text-primary); border: 1.5px solid var(--color-border-strong); }
.btn-secondary:hover, .btn--ghost:hover { background: var(--color-bg-secondary); }
.btn-outline-white, .btn--ghost-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.6); }
.btn-outline-white:hover, .btn--ghost-light:hover { background: rgba(255,255,255,0.1); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 24px; border-radius: var(--r-full);
  font: 500 12px var(--mono); letter-spacing: .5px; text-transform: uppercase;
  transition: all .18s; cursor: pointer; white-space: nowrap;
  text-decoration: none; border: 1.5px solid transparent;
}
.btn--primary { background: var(--color-amber); color: #1A1A14; border-color: transparent; }
.btn--primary:hover { background: var(--color-amber-dark); border-color: var(--color-amber-dark); }
.btn--amber { background: var(--amber); color: #fff; }
.btn--amber:hover { background: #c07a15; }
.btn--ghost { background: transparent; border-color: var(--color-border-strong); color: var(--color-text-primary); }
.btn--ghost:hover { background: var(--color-bg-secondary); color: var(--color-text-primary); }
.btn--ghost-light { background: transparent; border-color: rgba(255,255,255,.3); color: #fff; }
.btn--ghost-light:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); }
.btn--sm { padding: 8px 16px; font-size: 10px; }
.btn--icon { padding: 10px; border-radius: 50%; }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ── Link more ── */
.link-more {
  font: 500 11px var(--mono); letter-spacing: .5px; text-transform: uppercase;
  color: var(--amber); display: inline-flex; align-items: center; gap: 4px;
}
.link-more svg { width: 14px; height: 14px; transition: transform .15s; }
.link-more:hover svg { transform: translateX(3px); }
.link-more--light { color: rgba(255,255,255,.7); }

/* ── Section ── */
.section { padding: 56px 0; }
.section--dark { background: var(--ink); color: var(--paper); }
.section--paper-2 { background: var(--paper-2); }
@media (min-width: 768px) { .section { padding: 80px 0; } }

.section-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 32px; gap: 16px;
}
.section-header h2 { margin-top: 4px; }
h2 em, h2 .accent, h2 .highlight, h2 em.highlight { font-style: italic; color: var(--color-amber); }
.section--dark .section-header h2 em { color: var(--color-amber); }
.section-roteiros h2 { color: #fff; }
.section-roteiros h2 .highlight,
.section-roteiros h2 em { color: var(--color-amber); font-style: italic; }

.filter-panel {
  background: var(--color-bg-primary, #FAF8F4);
  border: 0.5px solid var(--color-border, rgba(26,26,20,0.12));
  border-radius: var(--radius-lg, 16px);
  padding: 1.25rem;
  position: sticky;
  top: 80px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}
.filter-group__label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-amber, #E8A020);
  margin-bottom: 0.75rem;
  margin-top: 1.25rem;
  display: block;
}
.filter-group__label:first-child { margin-top: 0; }
.filter-group + .filter-group { border-top: 0.5px solid var(--color-border, rgba(26,26,20,0.12)); padding-top: 1.25rem; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 1rem; }
.active-filter-chip {
  display: flex; align-items: center; gap: 4px;
  background: var(--color-amber-light, #FAEEDA);
  color: var(--color-amber-dark, #B87A10);
  border: 1px solid var(--color-amber, #E8A020);
  border-radius: 20px; padding: 3px 10px; font-size: 0.72rem; font-weight: 600;
}

/* ── Stamp Component (core) ── */
.stamp-shelf {
  display: flex; gap: 10px; overflow-x: auto;
  padding: 4px 0 16px; scrollbar-width: none;
}
.stamp-shelf::-webkit-scrollbar { display: none; }
.stamp-shelf--pad { padding-left: var(--pad); padding-right: var(--pad); margin-left: calc(-1 * var(--pad)); margin-right: calc(-1 * var(--pad)); }

.stamp {
  width: 112px; flex: 0 0 112px;
  perspective: 900px; cursor: pointer; user-select: none;
}
.stamp[data-state="locked"] {
  filter: grayscale(1); opacity: .4; pointer-events: none;
}
.stamp__inner {
  position: relative; padding-top: 162%;
  transform-style: preserve-3d;
  transition: transform .52s cubic-bezier(.4,0,.2,1);
}
.stamp.is-flipped .stamp__inner { transform: rotateY(180deg); }
.stamp__face, .stamp__back {
  position: absolute; inset: 0;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border-radius: var(--r-sm);
  overflow: hidden;
}

/* Front face */
.stamp__face {
  background: var(--ink);
  border: 2px solid rgba(184,151,42,.35);
  display: flex; flex-direction: column;
}
.stamp[data-state="collected"] .stamp__face {
  border-color: var(--amber);
  box-shadow: 0 0 0 1px var(--amber), 0 4px 20px rgba(212,137,26,.25);
}
.stamp__perf {
  position: absolute; inset: 4px; z-index: 3;
  border: 1px dashed rgba(255,255,255,.09);
  border-radius: 4px; pointer-events: none;
}
.stamp__art {
  flex: 1; display: grid; place-items: center; position: relative;
  overflow: hidden; min-height: 0;
  background: linear-gradient(145deg, #2a1c0a 0%, #0f1820 100%);
}
.stamp__art img {
  width: 100%; height: 100%; object-fit: cover;
}
.stamp__art-fallback {
  display: none; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25); align-items: center; justify-content: center;
  color: rgba(255,255,255,.75);
}
.stamp__art.is-fallback { background: var(--paper-2); }
.stamp__art.is-fallback .stamp__art-fallback { display: inline-flex; }
.stamp__art-initial {
  font: 700 26px var(--serif); color: rgba(255,255,255,.12);
  position: absolute; line-height: 1;
}
.stamp__collected-mark {
  position: absolute; top: 6px; right: 6px; z-index: 2;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--amber); display: grid; place-items: center;
}
.stamp__collected-mark svg { width: 12px; height: 12px; stroke: #fff; stroke-width: 2.5; }
.stamp__date-badge {
  position: absolute; bottom: 6px; left: 6px; z-index: 2;
  background: rgba(0,0,0,.65); border: 1px solid rgba(255,255,255,.12);
  color: var(--color-amber); font: 400 7px var(--mono);
  padding: 2px 5px; border-radius: 3px; letter-spacing: .5px; text-transform: uppercase;
}
.stamp__info {
  padding: 7px 8px 8px; background: var(--ink); flex-shrink: 0;
}
.stamp__name {
  display: block; font: 700 10px/1.2 var(--serif); color: var(--color-amber);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.stamp__style {
  display: block; margin-top: 2px;
  font-size: 0.75rem; line-height: 1.35; font-weight: 400;
  font-family: var(--sans); color: rgba(255,255,255,0.45);
  text-transform: none; letter-spacing: 0;
  white-space: normal; overflow: visible; text-overflow: clip;
}

/* Back face */
.stamp__back {
  transform: rotateY(180deg);
  background: var(--paper); padding: 9px;
  display: flex; flex-direction: column; gap: 5px;
  border: 2px solid rgba(184,151,42,.25);
}
.stamp__back-title {
  font: 500 7px var(--mono); letter-spacing: 2px; text-transform: uppercase;
  color: var(--amber); border-bottom: 1px solid var(--line); padding-bottom: 5px;
}
.stamp__specs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.stamp__spec span { display: block; font: 400 7px var(--mono); color: var(--muted); text-transform: uppercase; }
.stamp__spec b { display: block; font: 500 12px var(--mono); color: var(--ink); }
.stamp__flavor-bars { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.stamp__bar-row { display: flex; align-items: center; gap: 4px; }
.stamp__bar-label { font: 400 7px var(--mono); color: var(--muted); width: 32px; flex-shrink: 0; }
.stamp__bar-track { flex: 1; height: 3px; background: var(--paper-3); border-radius: 2px; overflow: hidden; }
.stamp__bar-fill { height: 100%; background: var(--amber); border-radius: 2px; transition: width .6s ease; }
.stamp__back-cta {
  margin-top: auto; padding: 6px 8px;
  background: var(--amber); color: #fff; border-radius: var(--r-full);
  font-size: 0.55rem; font-weight: 500; letter-spacing: .05em; text-transform: uppercase;
  border: none; cursor: pointer; text-align: center; text-decoration: none;
  display: block;
}
.stamp__back-cta.is-collected { background: var(--green); }
.stamp__back-checkin {
  margin-top: 4px; padding: 4px 8px; width: 100%;
  background: transparent; color: var(--muted);
  border: 1px solid var(--line-2); border-radius: var(--r-full);
  font: 400 7px var(--mono); letter-spacing: .5px; text-transform: uppercase;
  cursor: pointer; text-align: center;
  transition: background .15s, color .15s;
}
.stamp__back-checkin:hover { background: var(--paper-2); color: var(--ink); }

/* Stamp skeleton */
.stamp-skel { width: 112px; flex: 0 0 112px; }
.stamp-skel__inner { padding-top: 162%; background: var(--paper-2); border-radius: var(--r-sm); animation: pulse 1.5s ease-in-out infinite; }

@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .5; } }

/* ── Brewery Card ── */
.brewery-grid { display: grid; gap: 12px; }
@media (min-width: 600px) { .brewery-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .brewery-grid { grid-template-columns: repeat(3, 1fr); } }

.brewery-card {
  display: flex; flex-direction: column; gap: 0;
  background: #fff; border-radius: var(--r-md);
  border: 1px solid var(--line-2);
  text-decoration: none; color: inherit;
  transition: box-shadow .18s, transform .18s;
}
.brewery-card:hover { box-shadow: var(--shadow-md); transform: scale(1.02); }
.brewery-card__cover { height: 200px; background: var(--paper-2); background-size: cover; background-position: center; }
.brewery-card__thumb {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%;
  background: var(--green); display: grid; place-items: center;
  overflow: hidden; background-size: cover; background-position: center;
}
.brewery-card__content { padding: 12px 14px 14px; }
.brewery-card__head { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.brewery-card__initials { font: 700 16px var(--serif); color: rgba(255,255,255,.8); }
.brewery-card__body { flex: 1; min-width: 0; }
.brewery-card__name { font: 700 14px/1.2 var(--serif); color: var(--ink); margin-bottom: 3px; }
.brewery-card__loc { font-size: 0.75rem; color: var(--color-text-muted); font-weight: 400; margin-bottom: 8px; white-space: normal; }
.brewery-card__tags { display: flex; gap: 4px; flex-wrap: wrap; }
.badge {
  display: inline-block; padding: 2px 8px; border-radius: var(--r-full);
  font: 500 8px var(--mono); text-transform: uppercase; letter-spacing: .5px;
}
.badge--amber { background: rgba(212,137,26,.1); color: var(--amber); border: .5px solid rgba(212,137,26,.25); }
.badge--green { background: rgba(26,61,43,.08); color: var(--green-2); border: .5px solid rgba(26,61,43,.18); }
.badge--gold  { background: rgba(184,151,42,.1); color: var(--gold); border: .5px solid rgba(184,151,42,.25); }
.badge--muted { background: var(--paper-2); color: rgba(255,255,255,0.45); border: .5px solid var(--line-2); }

/* ── Route Card ── */
/* ── Route grid — 4 col portrait ── */
.route-grid { display: grid; gap: 16px; }
@media (max-width: 479px) { .route-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 480px) and (max-width: 899px) { .route-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (min-width: 900px) { .route-grid { grid-template-columns: repeat(5, minmax(0,1fr)); } }

/* ── Route card — portrait 2:3 ── */
.route-card {
  border-radius: var(--r-md); overflow: hidden;
  display: flex; flex-direction: column;
  text-decoration: none; color: var(--ink);
  background: var(--paper-2); border: 1px solid var(--line-2);
  transition: transform .18s, box-shadow .18s;
}
.route-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* Image area */
.route-card__cover {
  aspect-ratio: 2/3; overflow: hidden;
  background: var(--paper-2);
}
.route-card__cover-img {
  width: 100%; height: 100%; display: block;
  object-fit: cover; transition: transform .35s;
}
.route-card__cover-img--seal { object-fit: cover; }
.route-card:hover .route-card__cover-img { transform: scale(1.04); }
.route-card__cover-empty {
  width: 100%; height: 100%; display: grid; place-items: center;
  font-size: 2.2rem; opacity: .3;
}

/* Info area */
.route-card__body { padding: 12px 14px 14px; }
.route-card__meta { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
.route-card__pill {
  padding: 2px 7px; border-radius: var(--r-full);
  background: var(--paper-3, #f0ede6); border: 1px solid var(--line-2);
  font: 400 8px var(--mono); letter-spacing: .5px; text-transform: uppercase; color: var(--muted);
}
.route-card__name { font: 700 13px/1.3 var(--serif); color: var(--ink); margin-bottom: 3px; }
.route-card__loc { font: 400 9px var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.route-hero__seal {
  position: absolute; right: 40px; bottom: 44px; z-index: 2;
  width: 100px; height: 100px; object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,.55));
  pointer-events: none;
}
@media (max-width: 767px) { .route-hero__seal { width: 64px; height: 64px; right: 20px; bottom: 28px; } }

/* ── Hero ── */
.hero {
  background: var(--ink); color: #fff; overflow: hidden;
  padding: 64px 0 48px; position: relative;
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(212,137,26,.12) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(26,61,43,.18) 0%, transparent 50%);
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; gap: 48px; align-items: center;
}
@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1fr 420px; }
}
.hero__title { margin-bottom: 16px; }
.hero__title em { font-style: italic; color: var(--color-amber); }
.hero__sub { color: rgba(255,255,255,.65); font-size: 16px; max-width: 480px; margin-bottom: 32px; line-height: 1.65; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
.hero__stats { display: flex; gap: 32px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.08); }
.hero__stat-n { display: block; font: 700 28px/1 var(--ff-display); color: var(--amber); }
.hero__stat-l { display: block; font-size: .7rem; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }

@media (max-width: 767px) {
  .brewery-card { flex-direction: row; align-items: stretch; }
  .brewery-card__cover { width: 80px; height: auto; min-height: 100%; }
  .brewery-card__content { flex: 1; padding: 10px 12px; }
}

/* Passport visual */
.passport {
  background: var(--green);
  border-radius: var(--r-lg);
  padding: 28px 24px 24px;
  box-shadow: 0 24px 64px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.06);
  position: relative; overflow: hidden;
}
.passport::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.015) 0, rgba(255,255,255,.015) 1px, transparent 1px, transparent 48px),
              repeating-linear-gradient(0deg,   rgba(255,255,255,.015) 0, rgba(255,255,255,.015) 1px, transparent 1px, transparent 48px);
}
.passport__header { text-align: center; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.08); position: relative; }
.passport__crest {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(184,151,42,.2); border: 1.5px solid rgba(184,151,42,.4);
  display: grid; place-items: center; margin: 0 auto 12px;
}
.passport__crest svg { width: 24px; height: 24px; stroke: var(--amber-2); }
.passport__title { font: 700 13px var(--mono); letter-spacing: 4px; text-transform: uppercase; color: var(--color-amber); }
.passport__sub { font: 400 8px var(--mono); letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.35); margin-top: 4px; }
.passport__stamps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; position: relative;
}
.passport__stamp-slot {
  aspect-ratio: 2/3; border-radius: var(--r-xs);
  border: 1px dashed rgba(255,255,255,.12); overflow: hidden;
  display: grid; place-items: center;
  background: rgba(0,0,0,.2);
}
.passport__stamp-slot img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: .7;
}

/* ── Info Panel ── */
.info-panel {
  background: #fff; border-radius: var(--r-md);
  border: 1px solid var(--line-2); padding: 18px;
}
.info-panel__title { font: 500 9px var(--mono); letter-spacing: 1.5px; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: 14px; }
.info-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 9px 0; border-bottom: 0.5px solid var(--line-2); }
.info-row:last-child { border-bottom: none; }
.info-row__label { font: 400 11px var(--mono); color: var(--color-text-muted); flex-shrink: 0; }
.info-row__value { font: 500 11px var(--mono); color: var(--ink); text-align: right; word-break: break-word; }

/* ── Progress Card ── */
.progress-card {
  background: linear-gradient(135deg, var(--paper-2), var(--paper-3));
  border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px;
  position: relative; overflow: hidden;
}
.progress-card::after {
  content: ''; position: absolute; right: -30px; bottom: -30px;
  width: 100px; height: 100px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,137,26,.15), transparent 70%);
}
.progress-card__title { font: 500 9px var(--mono); letter-spacing: 1.5px; text-transform: uppercase; color: var(--amber); margin-bottom: 10px; }
.progress-card__main { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 12px; }
.progress-card__count { font: 700 32px/1 var(--serif); color: var(--ink); }
.progress-card__total { font: 400 13px var(--mono); color: rgba(255,255,255,0.45); margin-top: 4px; }
.progress-card__pct { font: 500 20px var(--mono); color: var(--amber); }
.progress-track { height: 6px; background: rgba(0,0,0,.06); border-radius: var(--r-full); overflow: hidden; }
.progress-track__fill { height: 100%; background: linear-gradient(90deg, var(--amber), var(--amber-2)); border-radius: var(--r-full); transition: width .8s ease; }
.progress-meta { display: flex; justify-content: space-between; margin-top: 8px; font: 400 9px var(--mono); color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: .5px; }

/* ── Flavor Bars ── */
.flavor-grid { display: flex; flex-direction: column; gap: 8px; }
.flavor-row { display: flex; align-items: center; gap: 10px; }
.flavor-row__label { font: 400 10px var(--mono); color: var(--color-text-muted); text-transform: uppercase; letter-spacing: .5px; width: 72px; flex-shrink: 0; }
.flavor-row__track { flex: 1; height: 6px; background: var(--paper-2); border-radius: var(--r-full); overflow: hidden; }
.flavor-row__fill { height: 100%; background: var(--amber); border-radius: var(--r-full); width: 0; transition: width .7s ease; }
.flavor-row__val { font: 500 10px var(--mono); color: var(--ink); width: 16px; text-align: right; }

/* ── Award Item ── */
.award-list { display: flex; flex-direction: column; }
.award-item { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 0.5px solid rgba(255,255,255,0.08); }
.award-item:last-child { border-bottom: none; }
.award-item__icon { width: 32px; height: 32px; border-radius: var(--r-sm); display: grid; place-items: center; flex-shrink: 0; }
.award-item__icon svg { width: 16px; height: 16px; }
.award-item__icon--gold   { background: rgba(184,151,42,.12); }
.award-item__icon--silver { background: rgba(160,160,160,.12); }
.award-item__icon--bronze { background: rgba(160,82,45,.1); }
.award-item__body { flex: 1; min-width: 0; }
.award-item__name { font: 600 12px var(--sans); color: var(--ink); display: block; }
.award-item__event { font: 400 10px var(--mono); color: rgba(255,255,255,0.45); display: block; margin-top: 1px; }
.award-item__medal {
  padding: 2px 8px; border-radius: var(--r-full); flex-shrink: 0;
  font: 500 8px var(--mono); text-transform: uppercase; letter-spacing: .5px;
}
.award-item__medal--gold   { background: rgba(184,151,42,.12); color: var(--gold); }
.award-item__medal--silver { background: rgba(150,150,150,.1); color: #888; }
.award-item__medal--bronze { background: rgba(160,82,45,.1); color: #a05a2a; }

/* ── Map ── */
.map-wrap { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line-2); }
#map { height: 220px; width: 100%; }

/* ── Modal / Sheet ── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(28,26,20,.65);
  display: flex; flex-direction: column; justify-content: flex-end;
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.modal-overlay.is-open { opacity: 1; pointer-events: auto; }
.modal-sheet {
  background: var(--ink); border-radius: var(--r-xl) var(--r-xl) 0 0;
  padding: 24px var(--pad) 32px; max-height: 90vh; overflow-y: auto;
  transform: translateY(100%); transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.modal-overlay.is-open .modal-sheet { transform: translateY(0); }
.modal-handle { width: 36px; height: 4px; background: rgba(255,255,255,.2); border-radius: 2px; margin: 0 auto 20px; }
.modal-title { font: 700 20px/1.2 var(--serif); color: #fff; margin-bottom: 20px; }

/* Star rating */
.star-rating { display: flex; gap: 10px; margin-bottom: 18px; }
.star-rating__star { font-size: 32px; line-height: 1; cursor: pointer; opacity: .35; transition: opacity .12s, transform .12s; }
.star-rating__star.active { opacity: 1; transform: scale(1.1); }

.modal-textarea {
  width: 100%; padding: 12px; resize: none;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-sm); color: rgba(255,255,255,.8);
  font: 400 13px var(--sans); outline: none;
  transition: border-color .15s;
}
.modal-textarea:focus { border-color: rgba(255,255,255,.3); }

.beer-quick-panel { position: fixed; inset: 0; z-index: 550; pointer-events: none; }
.beer-quick-panel__backdrop { position: absolute; inset: 0; background: rgba(28,26,20,.55); opacity: 0; transition: opacity .2s; }
.beer-quick-panel__sheet {
  position: absolute; right: 0; top: 0; bottom: 0; width: min(380px, 100%);
  background: #fff; padding: 18px; transform: translateX(100%); transition: transform .24s;
  overflow-y: auto;
}
.beer-quick-panel__close { position: absolute; top: 10px; right: 10px; font-size: 22px; color: rgba(255,255,255,0.45); }
.beer-quick-panel.is-open { pointer-events: auto; }
.beer-quick-panel.is-open .beer-quick-panel__backdrop { opacity: 1; }
.beer-quick-panel.is-open .beer-quick-panel__sheet { transform: translateX(0); }
@media (max-width: 767px) {
  .beer-quick-panel__sheet { top: auto; left: 0; right: 0; width: 100%; max-height: 78vh; border-radius: 18px 18px 0 0; transform: translateY(100%); }
  .beer-quick-panel.is-open .beer-quick-panel__sheet { transform: translateY(0); }
}

/* ── Search ── */
.search-wrap { position: relative; }
.search-input {
  width: 100%; padding: 11px 40px 11px 14px;
  background: #fff; border: 1.5px solid var(--line-2);
  border-radius: var(--r-full); font: 400 14px var(--sans);
  color: var(--ink); outline: none; transition: border-color .15s;
}
.search-input:focus { border-color: var(--amber); }
.search-input::placeholder { color: var(--color-text-muted); }
.search-icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--color-text-muted); pointer-events: none; }
.search-icon svg { width: 18px; height: 18px; }
.search-dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 50;
  background: #fff; border-radius: var(--r-md); border: 1px solid var(--line-2);
  box-shadow: var(--shadow-lg); overflow: hidden; display: none;
}
.search-dropdown.is-open { display: block; }
.search-result {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px;
  text-decoration: none; color: inherit; border-bottom: 0.5px solid rgba(255,255,255,0.08);
  transition: background .12s;
}
.search-result:last-child { border-bottom: none; }
.search-result:hover { background: var(--paper-2); }
.search-result__thumb { width: 36px; height: 36px; border-radius: var(--r-xs); flex-shrink: 0; background: var(--paper-2); overflow: hidden; }
.search-result__thumb img { width: 100%; height: 100%; object-fit: contain; }
.search-result__name { font: 600 13px var(--sans); color: var(--ink); display: block; }
.search-result__meta { font: 400 10px var(--mono); color: rgba(255,255,255,0.45); display: block; margin-top: 1px; }
.search-hint {
  padding: 8px 14px; font: 400 11px var(--mono);
  color: rgba(255,255,255,0.45); border-top: 1px solid var(--line-2);
}
.search-hint a { color: var(--amber); text-decoration: none; }
.search-hint a:hover { text-decoration: underline; }

/* ── Filter chips ── */
.filter-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px 0; }
.filter-chips::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0; padding: 6px 14px; border-radius: var(--r-full);
  border: 1.5px solid var(--line-2); background: #fff;
  font: 400 11px var(--mono); color: var(--color-text-secondary);
  cursor: pointer; transition: all .14s; white-space: nowrap;
}
.chip.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip:hover:not(.is-active) { border-color: var(--amber); color: var(--amber); }

/* ── Toast ── */
.toast {
  position: fixed; bottom: calc(var(--bottom-h) + 12px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  z-index: 1000; background: var(--ink); color: var(--paper);
  padding: 10px 20px; border-radius: var(--r-full);
  font: 500 12px var(--mono); letter-spacing: .3px;
  opacity: 0; pointer-events: none;
  transition: opacity .22s, transform .22s;
  white-space: nowrap; max-width: 90vw;
}
.toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast--success { background: var(--green); }
.toast--error   { background: #a53030; }
@media (min-width: 1024px) {
  .toast { bottom: 24px; }
}

/* ── Skeleton ── */
.skel { background: var(--paper-2); border-radius: var(--r-sm); animation: pulse 1.5s ease-in-out infinite; }
.skel-text { height: 14px; margin-bottom: 8px; border-radius: 4px; }
.skel-text--sm { height: 10px; }
.skel-text--lg { height: 22px; }

/* ── Footer ── */
.footer {
  background: var(--ink); color: rgba(255,255,255,.5);
  padding: 48px 0 40px;
}
.footer__inner { display: grid; gap: 32px; }
@media (min-width: 768px) { .footer__inner { grid-template-columns: 220px 1fr; gap: 48px; } }
.footer__brand { }
.footer__logo { font: 700 18px var(--serif); color: #fff; margin-bottom: 8px; }
.footer__tagline { font: 400 11px var(--mono); color: rgba(255,255,255,.35); line-height: 1.6; max-width: 200px; }
.footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (min-width: 600px) { .footer__nav { grid-template-columns: repeat(3, 1fr); } }
.footer__nav-group h4 { font: 500 9px var(--mono); letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 12px; }
.footer__nav-group a { display: block; font: 400 12px var(--sans); color: rgba(255,255,255,.5); margin-bottom: 8px; transition: color .14s; }
.footer__nav-group a:hover { color: #fff; }
.footer__bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.06); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer__copy { font: 400 10px var(--mono); color: rgba(255,255,255,.25); }

/* ── Callout ── */
.callout {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: rgba(212,137,26,.08); border: 1px solid rgba(212,137,26,.2);
  border-radius: var(--r-md); padding: 16px;
}
.callout p { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.5; }
.callout--dark { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }

/* ── Tags ── */
.tag-row { display: flex; gap: 6px; flex-wrap: wrap; }
.tag {
  padding: 3px 10px; border-radius: var(--r-full);
  background: var(--paper-2); color: rgba(255,255,255,0.45);
  font: 400 10px var(--mono); text-transform: uppercase; letter-spacing: .5px;
}
.tag--amber { background: rgba(212,137,26,.1); color: var(--amber); }

/* ── Page hero (detail pages) ── */
.page-hero {
  background: var(--ink); color: #fff;
  padding: 48px 0 0; overflow: hidden;
}
.page-hero__inner { position: relative; z-index: 1; }
.page-hero__back {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 20px;
  font: 400 11px var(--mono); color: rgba(255,255,255,.4); text-decoration: none;
  transition: color .14s;
}
.page-hero__back:hover { color: rgba(255,255,255,.7); }
.page-hero__back svg { width: 14px; height: 14px; }
.page-hero__header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.page-hero__logo {
  width: 56px; height: 56px; border-radius: var(--r-md); flex-shrink: 0;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  display: grid; place-items: center; overflow: hidden;
  font: 700 18px var(--serif); color: var(--color-amber);
}
.page-hero__logo img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__name { font: 700 clamp(1.5rem,4vw,2.5rem)/1.1 var(--serif); }
.page-hero__sub { font: 400 11px var(--mono); color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .8px; margin-top: 4px; }
.page-hero__pills { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.page-hero__pill {
  padding: 3px 10px; border-radius: var(--r-full);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  font: 400 9px var(--mono); letter-spacing: .5px; text-transform: uppercase; color: rgba(255,255,255,.7);
}
.page-hero__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.page-hero__stats {
  display: grid; grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid rgba(255,255,255,.07); margin-top: 24px;
}
.page-hero__stat { text-align: center; padding: 16px 8px; border-right: 1px solid rgba(255,255,255,.07); }
.page-hero__stat:last-child { border-right: none; }
.page-hero__stat strong { display: block; font: 700 18px var(--mono); color: var(--color-amber); }
.page-hero__stat span { display: block; font: 400 7px var(--mono); color: rgba(255,255,255,.3); text-transform: uppercase; letter-spacing: .8px; margin-top: 3px; }

/* ── List page filters bar ── */
.filter-bar {
  position: sticky; top: var(--nav-h); z-index: 90;
  background: rgba(245,240,232,.96); backdrop-filter: blur(12px);
  border-bottom: 0.5px solid rgba(255,255,255,0.08); padding: 10px 0;
}
.filter-bar__inner { display: flex; align-items: center; gap: 10px; }
.filter-bar__count { font: 400 11px var(--mono); color: rgba(255,255,255,0.45); flex-shrink: 0; }

/* ── Route timeline ── */
.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ''; position: absolute; left: 10px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline-stop { position: relative; margin-bottom: 28px; }
.timeline-stop:last-child { margin-bottom: 0; }
.timeline-stop__dot {
  position: absolute; left: -32px; top: 2px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--amber); border: 3px solid var(--paper); display: grid; place-items: center;
}
.timeline-stop__dot svg { width: 10px; height: 10px; stroke: #fff; }
.timeline-stop__label { font: 500 9px var(--mono); letter-spacing: 1.5px; text-transform: uppercase; color: var(--amber); margin-bottom: 4px; }
.timeline-stop__name { font: 700 16px/1.2 var(--serif); color: var(--ink); margin-bottom: 4px; }
.timeline-stop__meta { font: 400 11px var(--mono); color: rgba(255,255,255,0.45); }
.timeline-stop__note { margin-top: 8px; font-size: 13px; color: var(--ink-2); line-height: 1.6; }

/* ── Utilities ── */
.text-muted { color: var(--color-text-muted); }
.section--dark .text-muted,
.modal-sheet .text-muted,
.list-hero .text-muted { color: rgba(255,255,255,0.45); }
.text-amber { color: var(--amber); }
.text-sm { font-size: 13px; }
.text-xs { font-size: 11px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.mt-4 { margin-top: 4px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.hidden { display: none !important; }

/* ── Loading full page ── */
.page-loading {
  display: flex; align-items: center; justify-content: center;
  min-height: 60vh; flex-direction: column; gap: 12px;
  color: rgba(255,255,255,0.45); font: 400 11px var(--mono);
}
.spinner {
  width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid var(--paper-2); border-top-color: var(--amber);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Not found ── */
.not-found { text-align: center; padding: 80px var(--pad); }
.not-found h2 { margin-bottom: 12px; }
.not-found p { color: rgba(255,255,255,0.45); margin-bottom: 24px; }


.stat-number { font-family: var(--ff-display); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; color: var(--color-amber); line-height: 1; }
.stat-label { font-family: var(--ff-body); font-size: 0.65rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-text-muted); margin-top: 0.25rem; }
.badge { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; border-radius: 20px; border: 1px solid; white-space: nowrap; }
.badge-taproom { color: #854F0B; background: #FAEEDA; border-color: #E8A020; }
.badge-premiada, .badge-disponivel { color: #3B6D11; background: #EAF3DE; border-color: #639922; }
.badge-visitas { color: #185FA5; background: #E6F1FB; border-color: #378ADD; }
.badge-estilo { color: #533489; background: #EEEDFE; border-color: #7F77DD; }
.badge-coletou { color: #854F0B; background: #FAEEDA; border-color: #E8A020; }
.badge-bloqueado { color: #6B6560; background: #F0ECE4; border-color: #A09890; }
.img-fallback { width: 100%; height: 100%; background: var(--color-bg-secondary); display: flex; align-items: center; justify-content: center; }
.img-fallback::after { content: '🍺'; font-size: 24px; opacity: .45; }
.img-fallback--dark { background: #2A2A1E; }
.img-fallback--dark::after { color: rgba(255,255,255,0.75); }
/* ── Beer Image Flip ── */
.beer-card-flip-wrapper { perspective: 800px; width: 100%; height: 100%; display: block; }
.beer-card-flip-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 0.5s ease; }
@media (hover: hover) {
  .beer-card-flip-wrapper:hover .beer-card-flip-inner { transform: rotateY(180deg); }
}
.beer-card-flip-wrapper.is-flipped .beer-card-flip-inner { transform: rotateY(180deg); }
.beer-card-flip-wrapper.no-flip .beer-card-flip-inner,
.beer-card-flip-wrapper.no-flip:hover .beer-card-flip-inner,
.beer-card-flip-wrapper.no-flip.is-flipped .beer-card-flip-inner { transform: none !important; }
.beer-card-front, .beer-card-back { position: absolute; inset: 0; backface-visibility: hidden; border-radius: 6px; overflow: hidden; }
.beer-card-back { transform: rotateY(180deg); }
.beer-card-front img, .beer-card-back img { width: 100%; height: 100%; object-fit: cover; }
.beer-img-placeholder { width: 100%; height: 100%; display: grid; place-items: center; }
.beer-img-placeholder__initials { font: 700 26px var(--serif); color: rgba(255,255,255,.4); }
.hoppass-marker .marker-inner { width: 36px; height: 36px; background: var(--color-amber); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); display: flex; align-items: center; justify-content: center; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.3); }
.hoppass-marker svg { transform: rotate(45deg); fill: #1A1A14; }
@media (max-width: 768px) { .stamp-shelf { mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent); } }
