/* =========================================================
   Belgisch Bierboek – publieke stijl
   Palet: diep amber, donkerbruin, crème, goud
   ========================================================= */
:root {
  --amber: #C47A16;
  --amber-600: #A3620E;
  --amber-100: #F6E3C3;
  --amber-50: #FBF1DF;
  --brown-900: #1F130B;
  --brown-800: #2B1A10;
  --brown-700: #3D2716;
  --brown-500: #6B4A2F;
  --cream: #F5EDDF;
  --paper: #FBF8F2;
  --gold: #D6A84A;
  --gold-300: #E9CD8C;
  --ink: #2A1D13;
  --muted: #7B6654;
  --line: #E7DBC8;
  --success: #2F7D4F;
  --danger: #B0362A;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(43, 26, 16, .05), 0 8px 24px rgba(43, 26, 16, .07);
  --shadow-lg: 0 24px 60px rgba(31, 19, 11, .2);
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1200px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-sans); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--amber-600); text-decoration: none; }
a:hover { color: var(--amber); }
h1, h2, h3, h4 { font-family: var(--font-serif); line-height: 1.15; color: var(--brown-800); margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
[hidden] { display: none !important; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--brown-900); padding: .5rem 1rem; border-radius: 8px; z-index: 999; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.icon { width: 1.1em; height: 1.1em; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.17em; }

/* ---------- Knoppen ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .8em 1.35em; border-radius: 999px; border: 1px solid transparent; font: 600 .95rem/1 var(--font-sans); cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s; text-decoration: none; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--amber); color: #fff; }
.btn-primary:hover { background: var(--amber-600); color: #fff; box-shadow: 0 6px 18px rgba(196, 122, 22, .35); }
.btn-gold { background: var(--gold); color: var(--brown-900); }
.btn-gold:hover { background: var(--gold-300); color: var(--brown-900); }
.btn-outline { background: #fff; border-color: var(--line); color: var(--brown-800); }
.btn-outline:hover { border-color: var(--amber); color: var(--amber-600); }
.btn-ghost-light { border-color: rgba(247, 240, 227, .35); color: var(--cream); background: transparent; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #932b21; color: #fff; }
.btn-sm { padding: .6em 1em; font-size: .86rem; }
.btn.is-loading { pointer-events: none; opacity: .85; }
.btn.is-loading::before { content: ""; width: 1em; height: 1em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.icon-btn { width: 36px; height: 36px; display: inline-grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--brown-700); cursor: pointer; transition: .2s; }
.icon-btn:hover { border-color: var(--amber); color: var(--amber-600); }
.spinner { width: 20px; height: 20px; border: 2.5px solid var(--amber-100); border-top-color: var(--amber); border-radius: 50%; animation: spin .7s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Formulierelementen ---------- */
.input { width: 100%; padding: .7rem .85rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); font: inherit; font-size: .95rem; color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; }
.input:focus { outline: none; border-color: var(--amber); background: #fff; box-shadow: 0 0 0 4px rgba(196, 122, 22, .14); }
select.input { appearance: none; padding-right: 2.2rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B4A2F' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .7rem center; background-size: 16px; cursor: pointer; }
.input--sm { padding: .5rem 2.2rem .5rem .8rem; font-size: .88rem; border-radius: 999px; background-color: #fff; }
.input-icon { position: relative; }
.input-icon .icon { position: absolute; left: .8rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.input-icon .input { padding-left: 2.4rem; }
.check { display: flex; align-items: center; gap: .55rem; margin-top: .75rem; font-size: .92rem; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--amber); }

/* ---------- Meldingen ---------- */
.alert { display: flex; gap: .65rem; align-items: flex-start; padding: .9rem 1.1rem; border-radius: 12px; border: 1px solid; margin-bottom: 1rem; font-size: .95rem; }
.alert .icon { margin-top: .15em; }
.alert-error { background: #FBEAE7; border-color: #F0C3BC; color: #7E241B; }
.alert-success { background: #E7F3EC; border-color: #BFDDCB; color: #1F5A37; }
.alert-info { background: var(--amber-50); border-color: #EBCF9F; color: #6F4710; }
.alert a { color: inherit; text-decoration: underline; font-weight: 600; }
.flash-wrap { padding-top: 20px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(31, 19, 11, .96); backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid rgba(214, 168, 74, .18); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .65rem; color: var(--cream); font-family: var(--font-serif); font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em; }
.brand:hover { color: #fff; }
.brand-mark { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--brown-900); background: radial-gradient(circle at 35% 30%, var(--gold-300), var(--amber) 62%, var(--amber-600)); box-shadow: 0 0 0 3px rgba(214, 168, 74, .2); }
.brand-mark .icon { width: 20px; height: 20px; stroke-width: 2.2; }
.site-nav { display: flex; align-items: center; gap: .2rem; }
.site-nav a { display: inline-flex; align-items: center; gap: .4rem; color: rgba(245, 237, 223, .78); padding: .5rem .95rem; border-radius: 999px; font-weight: 500; font-size: .95rem; }
.site-nav a:hover, .site-nav a.is-active { color: #fff; background: rgba(255, 255, 255, .08); }
.site-nav .nav-surprise { color: var(--gold-300); }
.site-nav .nav-admin { border: 1px solid rgba(214, 168, 74, .35); margin-left: .4rem; }
.nav-toggle { display: none; background: transparent; border: 1px solid rgba(255, 255, 255, .2); color: var(--cream); width: 42px; height: 42px; border-radius: 10px; align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle .icon { width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: var(--cream); padding: 40px 0 92px;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(214, 168, 74, .32), transparent 62%),
    radial-gradient(700px 400px at -5% 110%, rgba(196, 122, 22, .38), transparent 60%),
    linear-gradient(160deg, var(--brown-900) 0%, var(--brown-700) 100%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.35fr .65fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; font-weight: 700; color: var(--gold-300); margin-bottom: 1rem; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5.2vw, 4rem); max-width: 15ch; margin-bottom: .4em; }
.hero h1 em { color: var(--gold); font-style: italic; }
.hero .lead { font-size: clamp(1rem, 1.6vw, 1.15rem); color: rgba(245, 237, 223, .82); max-width: 54ch; }
.search-bar { display: flex; align-items: center; gap: .4rem; background: #fff; border-radius: 999px; padding: 6px 6px 6px 20px; max-width: 640px; margin: 30px 0 22px; box-shadow: var(--shadow-lg); }
.search-bar > .icon { color: var(--muted); width: 20px; height: 20px; }
.search-bar input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 1.05rem; padding: .75rem .4rem; color: var(--ink); }
.quick-styles { display: flex; flex-wrap: wrap; gap: .5rem; }
.quick-chip { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .95rem; border-radius: 999px; font-size: .88rem; color: var(--cream); border: 1px solid rgba(233, 205, 140, .3); background: rgba(255, 255, 255, .04); transition: .2s; }
.quick-chip:hover { background: var(--gold); border-color: var(--gold); color: var(--brown-900); }
.quick-chip .dot { width: .65em; height: .65em; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px rgba(255, 255, 255, .25); }
.quick-chip--gold { background: rgba(214, 168, 74, .18); border-color: rgba(214, 168, 74, .55); color: var(--gold-300); }
.hero-visual { display: flex; justify-content: center; }
.hero-glass { width: 100%; max-width: 300px; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)); animation: float 6s ease-in-out infinite; }
.glass-bubbles circle { animation: glassBubble 3.5s ease-in infinite; }
.glass-bubbles circle:nth-child(2n) { animation-delay: 1.2s; }
.glass-bubbles circle:nth-child(3n) { animation-delay: 2.1s; }
@keyframes float { 50% { transform: translateY(-10px) rotate(1deg); } }
@keyframes glassBubble { 0% { transform: translateY(20px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(-60px); opacity: 0; } }
.bubbles { position: absolute; inset: 0; pointer-events: none; }
.bubbles span { position: absolute; bottom: -24px; left: var(--x); width: var(--s); height: var(--s); border-radius: 50%; opacity: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .55), rgba(233, 205, 140, .12)); border: 1px solid rgba(255, 255, 255, .18);
  animation: rise var(--d) linear infinite; animation-delay: var(--delay); }
@keyframes rise { 0% { transform: translate(0, 0); opacity: 0; } 12% { opacity: .75; } 100% { transform: translate(24px, -620px); opacity: 0; } }

/* ---------- Statistiekenbalk ---------- */
.stats-strip { background: var(--cream); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat-item { display: flex; align-items: baseline; justify-content: center; gap: .6rem; padding: 22px 10px; }
.stat-item + .stat-item { border-left: 1px solid var(--line); }
.stat-num { font-family: var(--font-serif); font-size: 2rem; font-weight: 700; color: var(--amber-600); }
.stat-label { color: var(--muted); font-size: .92rem; }

/* ---------- Secties ---------- */
.section { padding: 72px 0; }
.section--tight { padding: 40px 0 72px; }
.section--cream { background: var(--cream); border-block: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0; }
.kicker { display: block; text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 700; color: var(--amber); margin-bottom: .4rem; }
.kicker--light { color: var(--gold-300); }
.explore-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.explore-grid h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }

/* ---------- Uitgelicht ---------- */
.feature { display: grid; grid-template-columns: 1fr 1.15fr; background: #fff; border: 1px solid var(--line); border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); }
.feature-media { position: relative; display: grid; place-items: center; min-height: 420px; padding: 40px;
  background: radial-gradient(circle at 50% 62%, color-mix(in srgb, var(--style-color) 38%, transparent), transparent 58%), radial-gradient(circle at 50% 40%, #fff, var(--cream) 60%, var(--amber-100)); }
.feature-media .feature-img { max-height: 340px; width: auto; height: 340px; object-fit: contain; filter: drop-shadow(0 20px 26px rgba(43, 26, 16, .28)); }
.feature-body { padding: 48px; display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; }
.feature-badge { display: inline-flex; align-items: center; gap: .4rem; background: var(--brown-800); color: var(--gold-300); padding: .4rem .9rem; border-radius: 999px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .8rem; }
.feature-body h2 { font-size: clamp(2rem, 4vw, 3rem); margin: .2rem 0; }
.feature-brewery { color: var(--muted); display: flex; gap: .4rem; align-items: center; }
.feature-summary { font-size: 1.1rem; color: var(--brown-700); max-width: 46ch; }
.spec-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; width: 100%; margin: .6rem 0 1.4rem; }
.spec { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 0; }
.spec dt { display: flex; align-items: center; gap: .35rem; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.spec dd { margin: .2rem 0 0; font-family: var(--font-serif); font-weight: 700; font-size: 1.12rem; color: var(--brown-800); }

/* ---------- Bierkaarten ---------- */
.beer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; transition: opacity .2s; }
.beer-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s; animation: cardIn .35s ease both; }
.beer-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #DCC9A8; }
@keyframes cardIn { from { opacity: 0; transform: translateY(8px); } }
.beer-card__link { display: flex; flex-direction: column; height: 100%; color: inherit; }
.beer-card__link:hover { color: inherit; }
.beer-card__media { position: relative; aspect-ratio: 1 / .92; display: grid; place-items: center; padding: 22px;
  background: radial-gradient(circle at 50% 70%, color-mix(in srgb, var(--style-color) 26%, transparent), transparent 62%), radial-gradient(circle at 50% 45%, #fff, var(--cream) 62%, var(--amber-100)); }
.beer-card__media > img, .beer-card__media > svg { height: 100%; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 12px 14px rgba(43, 26, 16, .22)); transition: transform .4s ease; }
.beer-card:hover .beer-card__media > img, .beer-card:hover .beer-card__media > svg { transform: scale(1.05) rotate(-2deg); }
.abv-badge { position: absolute; top: 12px; right: 12px; background: var(--brown-800); color: var(--gold-300); font-weight: 700; font-size: .8rem; padding: .3rem .65rem; border-radius: 999px; }
.trappist-badge .icon { width: 1em; height: 1em; }
.trappist-badge { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: .3rem; background: rgba(214, 168, 74, .95); color: var(--brown-900); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: .3rem .6rem; border-radius: 999px; }
.beer-card__body { display: flex; flex-direction: column; gap: .2rem; padding: 16px 18px 18px; flex: 1; }
.style-chip { display: inline-flex; align-items: center; gap: .45em; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--brown-500); }
.style-chip::before { content: ""; width: .7em; height: .7em; border-radius: 50%; background: var(--chip, var(--amber)); box-shadow: 0 0 0 2px rgba(0, 0, 0, .06); }
.beer-card__title { font-size: 1.22rem; margin: .1rem 0 0; }
.beer-card__brewery { margin: 0; color: var(--muted); font-size: .92rem; }
.beer-card__meta { display: flex; gap: 1rem; margin: auto 0 0; padding-top: .75rem; border-top: 1px dashed var(--line); font-size: .8rem; color: var(--muted); }
.beer-card__meta span { display: inline-flex; align-items: center; gap: .3rem; }

/* ---------- Chips & tags ---------- */
.chip-cloud { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.chip { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .55rem .5rem .9rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--brown-800); font-weight: 500; font-size: .92rem; transition: .2s; }
.chip:hover { border-color: var(--amber); color: var(--amber-600); transform: translateY(-1px); }
.chip .icon { color: var(--amber); }
.chip .count { background: var(--cream); border-radius: 999px; padding: .05rem .55rem; font-size: .78rem; color: var(--muted); }
.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag { display: inline-block; padding: .4rem .9rem; border-radius: 999px; background: var(--amber-50); border: 1px solid #EED6AC; color: var(--brown-700); font-size: .9rem; font-weight: 500; }
.tag:hover { background: var(--amber); border-color: var(--amber); color: #fff; }

/* ---------- CTA ---------- */
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; background: linear-gradient(120deg, var(--brown-800), var(--brown-700)); color: var(--cream); border-radius: 24px; padding: 40px 44px; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(214, 168, 74, .35), transparent 70%); }
.cta-band h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: .2em; }
.cta-band p { margin: 0; color: rgba(245, 237, 223, .75); }
.cta-band .btn { position: relative; z-index: 1; }

/* ---------- Paginakop ---------- */
.page-head { color: var(--cream); padding: 52px 0 44px; background: radial-gradient(700px 300px at 90% 0%, rgba(214, 168, 74, .25), transparent 60%), linear-gradient(160deg, var(--brown-900), var(--brown-700)); }
.page-head h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: .2em; }
.page-head p { margin: 0; color: rgba(245, 237, 223, .75); }

/* ---------- Catalogus ---------- */
.catalog { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 32px; align-items: start; padding-top: 36px; padding-bottom: 72px; }
.filters { position: sticky; top: calc(var(--header-h) + 20px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.filters-head { display: flex; justify-content: space-between; align-items: center; }
.filters-head h2 { font-size: 1.15rem; margin: 0; display: flex; align-items: center; gap: .5rem; }
.filters-close { display: none; }
.filter-group { border: 0; margin: 0; padding: 16px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.filter-group:last-of-type { border-bottom: 0; }
.filter-title { display: block; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--brown-500); margin-bottom: .55rem; padding: 0; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; inset: 0; }
.segmented span { display: block; text-align: center; padding: .5rem .4rem; border-radius: 8px; border: 1px solid var(--line); font-size: .86rem; background: var(--paper); transition: .15s; }
.segmented input:checked + span { background: var(--brown-800); color: var(--gold-300); border-color: var(--brown-800); font-weight: 600; }
.segmented input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 1px; }
.filters-actions { display: flex; gap: .5rem; padding-top: 14px; }
.filters-actions .btn { flex: 1; }
.filters-apply { display: none; }
.results { position: relative; min-height: 320px; }
.results-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 14px; }
.result-count { margin: 0; font-weight: 600; color: var(--brown-700); flex: 1; }
.filter-toggle { display: none; }
.active-chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 16px; }
.active-chips:empty { display: none; }
.active-chip { display: inline-flex; align-items: center; gap: .35rem; border: 0; cursor: pointer; background: var(--amber-100); color: var(--brown-800); font: 500 .85rem var(--font-sans); padding: .38rem .55rem .38rem .85rem; border-radius: 999px; transition: .15s; }
.active-chip:hover { background: var(--amber); color: #fff; }
.active-chip .icon { width: .9em; height: .9em; }
.active-chip--reset { background: transparent; text-decoration: underline; color: var(--muted); padding-left: .4rem; }
.results-loader { position: absolute; top: 140px; left: 50%; transform: translateX(-50%); z-index: 5; display: none; align-items: center; gap: .6rem; background: #fff; padding: .7rem 1.1rem; border-radius: 999px; box-shadow: var(--shadow); font-weight: 600; font-size: .9rem; color: var(--brown-700); }
.results.is-loading .results-loader { display: inline-flex; }
.results.is-loading .beer-grid { opacity: .4; pointer-events: none; }
.empty-state { text-align: center; padding: 64px 24px; background: #fff; border: 1px dashed #D9C6A6; border-radius: var(--radius); }
.empty-icon { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%; background: var(--amber-50); display: grid; place-items: center; color: var(--amber); }
.empty-icon .icon { width: 30px; height: 30px; }
.load-more-wrap { text-align: center; margin-top: 32px; }
.filters-backdrop { position: fixed; inset: 0; background: rgba(31, 19, 11, .5); z-index: 90; }

/* ---------- Detailpagina ---------- */
.detail-head { background: linear-gradient(160deg, var(--brown-900), var(--brown-700)); padding: 18px 0 110px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .45rem; font-size: .86rem; color: rgba(245, 237, 223, .6); }
.breadcrumb a { color: var(--gold-300); }
.breadcrumb a:hover { color: #fff; }
.detail { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; margin-top: -90px; padding-bottom: 40px; }
.detail-draft { grid-column: 1 / -1; margin: 0; }
.detail-visual { position: sticky; top: calc(var(--header-h) + 20px); display: grid; place-items: center; min-height: 520px; padding: 48px; border-radius: 26px; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  background: radial-gradient(circle at 50% 68%, color-mix(in srgb, var(--style-color) 42%, transparent), transparent 58%), radial-gradient(circle at 50% 38%, #fff, var(--cream) 62%, var(--amber-100)); }
.detail-visual .detail-img { height: 420px; max-height: 60vh; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 24px 30px rgba(43, 26, 16, .3)); }
.trappist-badge--lg { top: 18px; left: 18px; font-size: .74rem; padding: .4rem .8rem; }
.detail-info { padding-top: 100px; }
.detail-info h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin: .2em 0 .25em; }
.detail-sub { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; color: var(--muted); }
.detail-sub a { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; }
.detail-sub span { display: inline-flex; align-items: center; gap: .35rem; }
.detail-summary { font-family: var(--font-serif); font-size: 1.3rem; line-height: 1.45; color: var(--brown-700); border-left: 3px solid var(--gold); padding-left: 1rem; margin: 1.2rem 0 1.4rem; }
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0 0 8px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin-top: 18px; }
.panel h2 { display: flex; align-items: center; gap: .5rem; font-size: 1.2rem; margin-bottom: .8rem; }
.panel h2 .icon { color: var(--amber); }
.panel-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.prose p { color: #4A3726; }
.prose p:last-child { margin-bottom: 0; }
.serve-list, .food-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.serve-list li, .food-list li { position: relative; padding-left: 1.3rem; font-size: .95rem; }
.serve-list li::before, .food-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.brewery-card { display: flex; gap: 18px; margin-top: 18px; padding: 26px; border-radius: var(--radius); background: linear-gradient(150deg, var(--brown-800), var(--brown-700)); color: rgba(245, 237, 223, .85); }
.brewery-card h2 { color: #fff; font-size: 1.4rem; margin-bottom: .2em; }
.brewery-card__icon { flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(214, 168, 74, .16); color: var(--gold); }
.brewery-card__icon .icon { width: 26px; height: 26px; }
.brewery-meta { color: var(--gold-300); font-size: .9rem; }
.brewery-actions { display: flex; flex-wrap: wrap; gap: .6rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brown-900); color: rgba(245, 237, 223, .66); padding: 56px 0 26px; margin-top: 30px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: var(--cream); font-size: 1.02rem; margin-bottom: .8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .45rem; }
.site-footer a { color: rgba(245, 237, 223, .75); }
.site-footer a:hover { color: var(--gold-300); }
.brand--footer { margin-bottom: 1rem; }
.footer-note { font-size: .82rem; color: rgba(245, 237, 223, .5); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 36px; padding-top: 20px; font-size: .84rem; color: rgba(245, 237, 223, .45); }

/* ---------- Foutpagina ---------- */
.error-body { background: linear-gradient(160deg, var(--brown-900), var(--brown-700)); min-height: 100vh; }
.error-page { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.error-card { background: #fff; border-radius: 22px; padding: 44px 36px; max-width: 480px; text-align: center; box-shadow: var(--shadow-lg); }
.error-code { display: inline-block; font-family: var(--font-serif); font-size: 3.4rem; font-weight: 700; color: var(--amber); line-height: 1; margin-bottom: .3rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .panel-row { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { display: none; }
  .feature { grid-template-columns: 1fr; }
  .feature-media { min-height: 300px; }
  .feature-media .feature-img { height: 260px; }
  .feature-body { padding: 30px 24px; }
  .catalog { grid-template-columns: 1fr; padding-top: 22px; }
  .filters { position: fixed; top: 0; bottom: 0; left: 0; z-index: 100; width: min(340px, 88vw); overflow-y: auto; border-radius: 0 18px 18px 0; transform: translateX(-105%); transition: transform .3s ease; box-shadow: var(--shadow-lg); }
  .filters.is-open { transform: none; }
  .filters-close, .filter-toggle, .filters-apply { display: inline-flex; }
  .explore-grid { grid-template-columns: 1fr; gap: 40px; }
  .detail { grid-template-columns: 1fr; gap: 24px; margin-top: -80px; }
  .detail-visual { position: relative; top: 0; min-height: 360px; padding: 30px; }
  .detail-visual .detail-img { height: 300px; }
  .detail-info { padding-top: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 16px 18px; background: var(--brown-900); border-bottom: 1px solid rgba(214, 168, 74, .2); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: .8rem 1rem; border-radius: 10px; }
  .site-nav .nav-admin { margin-left: 0; }
  .hero { padding: 28px 0 64px; }
  .search-bar { padding-left: 14px; }
  .search-bar .btn { padding: .8em 1em; }
  .section { padding: 52px 0; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-item { flex-direction: column; align-items: center; gap: 0; padding: 16px 6px; text-align: center; }
  .stat-num { font-size: 1.6rem; }
  .stat-label { font-size: .78rem; }
  .spec-list { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .spec { padding: 10px; }
  .spec dd { font-size: 1rem; }
  .beer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .beer-card__body { padding: 12px 12px 14px; }
  .beer-card__title { font-size: 1.02rem; }
  .beer-card__brewery { font-size: .82rem; }
  .beer-card__meta { gap: .6rem; font-size: .72rem; flex-wrap: wrap; }
  .abv-badge { top: 8px; right: 8px; font-size: .72rem; }
  .trappist-badge { top: 8px; left: 8px; font-size: .6rem; padding: .25rem .45rem; }
  .results-toolbar { flex-wrap: wrap; }
  .result-count { order: 3; flex-basis: 100%; }
  .cta-band { padding: 30px 24px; }
  .brewery-card { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 380px) {
  .beer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
legend.filter-title { float: left; width: 100%; }
legend.filter-title + * { clear: both; }
.hero-grid > *, .feature > *, .explore-grid > * { min-width: 0; }

/* ---------- Bierkaart ---------- */
.section--map { background: linear-gradient(180deg, var(--paper), var(--cream)); border-top: 1px solid var(--line); }
.section-note { margin: 0; max-width: 40ch; }
.bmap { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.bmap-figure { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 18px; box-shadow: var(--shadow);
  background-image: radial-gradient(circle at 12% 10%, rgba(120, 170, 190, .16), transparent 40%); }
.bmap-svg { width: 100%; height: auto; display: block; overflow: visible; }
.bmap-land { stroke: #C9AE82; stroke-width: 2; stroke-linejoin: round; }
.bmap-sea { font: italic 15px var(--font-serif); fill: #6E9AAE; letter-spacing: .08em; }
.bmap-city { fill: #B9A285; }
.bmap-city-label { font: 500 12px var(--font-sans); fill: #9A8468; }
.bmap-pin { cursor: pointer; outline: none; }
.bmap-dot { fill: var(--pin, var(--amber)); stroke: #fff; stroke-width: 3; transition: r .2s; filter: drop-shadow(0 3px 4px rgba(43, 26, 16, .3)); }
.bmap-count { font: 800 12px var(--font-sans); fill: #fff; pointer-events: none; paint-order: stroke; stroke: rgba(0, 0, 0, .25); stroke-width: 2px; }
.bmap-label { font: 700 13px var(--font-sans); fill: var(--brown-800); paint-order: stroke; stroke: #FBF3E2; stroke-width: 4px; stroke-linejoin: round; pointer-events: none; }
.bmap-pulse { pointer-events: none; fill: var(--pin, var(--amber)); opacity: 0; transform-box: fill-box; transform-origin: center; }
.bmap-pin:hover .bmap-dot, .bmap-pin:focus-visible .bmap-dot, .bmap-pin.is-active .bmap-dot { r: 15; stroke: var(--brown-800); }
.bmap-pin.is-active .bmap-pulse, .bmap-pin.is-highlight .bmap-pulse { animation: pinPulse 1.8s ease-out infinite; }
.bmap-pin.is-dim { opacity: .35; }
.bmap-pin.is-dim .bmap-label { display: none; }
@keyframes pinPulse { 0% { opacity: .5; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.9); } }
.bmap-panel { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 24px; box-shadow: var(--shadow); min-width: 0; }
.bmap-panel h3 { font-size: 1.25rem; margin-bottom: .8rem; }
.bmap-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.bmap-list a { display: flex; align-items: center; gap: .6rem; padding: .28rem .5rem; border-radius: 10px; color: var(--ink); line-height: 1.25; }
.bmap-list a:hover, .bmap-list a.is-active { background: var(--amber-50); }
.bmap-list strong { display: block; font-size: .9rem; color: var(--brown-800); }
.bmap-list small { display: block; color: var(--muted); font-size: .76rem; }
.bmap-list-dot { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--pin); color: #fff; font-weight: 800; font-size: .72rem; box-shadow: 0 0 0 3px #fff, 0 2px 6px rgba(43, 26, 16, .25); }
.bmap-back { background: none; border: 0; padding: 0; color: var(--amber-600); font: 600 .88rem var(--font-sans); cursor: pointer; display: inline-flex; gap: .3rem; align-items: center; margin-bottom: 14px; }
.bmap-detail-place { color: var(--muted); margin-top: -.4rem; }
.bmap-beers { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .4rem; }
.bmap-beers a { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .7rem .9rem; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); color: var(--brown-800); font-weight: 600; }
.bmap-beers a:hover { border-color: var(--amber); color: var(--amber-600); }
.brewery-card__map { flex: 0 0 210px; align-self: center; background: rgba(255, 255, 255, .06); border-radius: 16px; padding: 10px; }
.brewery-card__map .bmap-land { fill: #F5EDDF; stroke: #D6A84A; }
.brewery-card__map .bmap-sea, .brewery-card__map .bmap-city, .brewery-card__map .bmap-city-label { display: none; }
.brewery-card__map .bmap-label { font-size: 30px; stroke: #3D2716; stroke-width: 6px; fill: #E9CD8C; }
.brewery-card__map .bmap-pin.is-dim .bmap-dot { r: 7; stroke-width: 0; }
.brewery-card__map .bmap-count { display: none; }
@media (max-width: 900px) {
  .bmap { grid-template-columns: 1fr; }
  .bmap-figure { padding: 10px; border-radius: 18px; }
  .brewery-card__map { flex-basis: auto; width: 100%; max-width: 260px; }
}
@media (max-width: 600px) {
  .bmap-label { font-size: 17px; }
  .bmap-city-label { font-size: 15px; }
}

/* ---------- Detail: fotoduo, bronvermelding, technische fiche ---------- */
.detail-photos { display: flex; align-items: flex-end; justify-content: center; gap: 6%; width: 100%; }
.detail-photos--duo .detail-img { height: 400px; max-height: 56vh; }
.detail-photos--duo .detail-img--glass { height: 300px; max-height: 42vh; }
.photo-credit { position: absolute; bottom: 12px; right: 16px; margin: 0; font-size: .72rem; color: var(--muted); }
.tech-sheet { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.4rem; margin: 14px 0 4px; padding: 14px 18px; border-radius: 12px; background: var(--brown-800); color: rgba(245, 237, 223, .8); font-size: .88rem; }
.tech-title { font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .7rem; color: var(--gold-300); width: 100%; }
.tech-item { display: inline-flex; align-items: center; gap: .45rem; }
.tech-item strong { font-family: var(--font-serif); font-size: 1.25rem; color: #fff; }
.tech-bar { display: inline-block; width: 60px; height: 6px; border-radius: 9px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.tech-bar span { display: block; height: 100%; background: var(--gold); }
.tech-swatch { width: 18px; height: 18px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255, 255, 255, .3); }
@media (max-width: 900px) {
  .detail-photos--duo .detail-img { height: 280px; }
  .detail-photos--duo .detail-img--glass { height: 210px; }
}
/* Echte foto's in kaarten: binnen het vak blijven */
.beer-card__media > img, .beer-card__media > svg { position: absolute; inset: 18px; width: calc(100% - 36px); height: calc(100% - 36px); max-width: none; object-fit: contain; }
.abv-badge, .trappist-badge { z-index: 1; }
.feature-media > img.feature-img { width: auto; max-width: 100%; }
.thumb img { position: static; }
.bmap-labels { pointer-events: none; }

/* ===================== Leden: account, proefnotities en foto's ===================== */
.btn-block { width: 100%; }
.field { margin-bottom: 14px; min-width: 0; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; color: var(--brown-800); }
.field label.check { display: flex; font-weight: 500; }
.hint { font-size: .8rem; color: var(--muted); margin: .35rem 0 0; }
.field-error { color: var(--danger); font-size: .83rem; font-weight: 600; margin: .35rem 0 0; }
.has-error .input { border-color: var(--danger); background: #FFF8F7; }
textarea.input { resize: vertical; min-height: 96px; line-height: 1.5; }
.muted { color: var(--muted); }
.small { font-size: .82rem; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.nav-account { display: inline-flex; align-items: center; gap: .45rem; }
.nav-account .avatar-sm { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--brown-900); font-size: .72rem; font-weight: 800; }

.page-head--slim { padding: 38px 0 30px; }
.auth-wrap { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 32px; align-items: start; padding: 36px 20px 64px; }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: var(--shadow); }
.auth-card .muted { margin-top: 0; }
.auth-switch { text-align: center; margin: 18px 0 0; font-size: .92rem; }
.auth-switch a { color: var(--amber); font-weight: 700; }
.auth-benefits { background: linear-gradient(160deg, var(--brown-900), var(--brown-700)); color: var(--cream); border-radius: 20px; padding: 28px 30px; }
.auth-benefits h2 { color: #fff; font-size: 1.35rem; margin-bottom: 1rem; }
.auth-benefits ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.auth-benefits li { display: flex; gap: .75rem; align-items: flex-start; }
.auth-benefits li .icon { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: rgba(214, 168, 74, .18); color: var(--gold); }
.auth-benefits strong { display: block; color: #fff; }
.auth-benefits span { color: rgba(245, 237, 223, .78); font-size: .93rem; }

/* Sterren */
.stars { display: inline-flex; gap: 2px; vertical-align: -3px; }
.stars .star .icon { width: 18px; height: 18px; fill: #E6D9C4; stroke: none; }
.stars .star.is-full .icon { fill: var(--gold); }
.stars .star.is-half .icon { fill: var(--gold); opacity: .5; }
.stars--sm .star .icon { width: 15px; height: 15px; }
.community-rating { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: -.2rem 0 .9rem; font-size: .92rem; }

/* Paneel op de bierpagina */
.member-panel { border: 2px solid #EBCF9F; background: linear-gradient(180deg, #FFFCF6, #fff); scroll-margin-top: calc(var(--header-h) + 16px); }
.member-panel h2 { flex-wrap: wrap; }
.private-hint { margin-left: auto; display: inline-flex; align-items: center; gap: .3rem; font-family: var(--font-sans); font-size: .75rem; font-weight: 600; color: var(--muted); background: var(--cream); padding: .25rem .6rem; border-radius: 999px; }
.private-hint .icon { width: 13px; height: 13px; color: var(--muted) !important; }
.member-teaser p { margin-top: 0; color: var(--muted); }
.member-teaser__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.notes-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 14px; }
.tasted-toggle { display: flex; align-items: center; gap: .7rem; cursor: pointer; padding: .55rem .9rem .55rem .6rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .2s, background .2s; }
.tasted-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.tasted-toggle__box { width: 30px; height: 30px; border-radius: 9px; border: 2px solid #D9C6A6; display: grid; place-items: center; color: transparent; transition: all .2s; }
.tasted-toggle__box .icon { width: 18px; height: 18px; stroke-width: 3; }
.tasted-toggle strong { display: block; line-height: 1.2; }
.tasted-toggle small { color: var(--muted); font-size: .8rem; }
.tasted-toggle input:checked + .tasted-toggle__box { background: var(--success); border-color: var(--success); color: #fff; }
.tasted-toggle:has(input:checked) { border-color: #BFDDCB; background: #F1F8F4; }
.tasted-toggle input:focus-visible + .tasted-toggle__box { box-shadow: 0 0 0 4px rgba(196, 122, 22, .25); }
.field--inline { display: flex; align-items: center; gap: .5rem; margin: 0; }
.field--inline label { margin: 0; }
.field--inline .input--sm { padding-right: .8rem; }
.rating-field { border: 0; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .8rem; }
.rating-field legend { font-weight: 600; font-size: .9rem; color: var(--brown-800); margin-bottom: .35rem; width: 100%; }
.rating-input { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.rating-input input { position: absolute; opacity: 0; pointer-events: none; }
.rating-input label { cursor: pointer; padding: 2px; border-radius: 8px; }
.rating-input label .icon { width: 32px; height: 32px; fill: #E6D9C4; stroke: none; transition: fill .15s, transform .15s; }
.rating-input input:checked ~ label .icon, .rating-input label:hover .icon, .rating-input label:hover ~ label .icon { fill: var(--gold); }
.rating-input:hover input:checked ~ label .icon { fill: #E6D9C4; }
.rating-input:hover label:hover .icon, .rating-input:hover label:hover ~ label .icon { fill: var(--gold); }
.rating-input label:hover .icon { transform: scale(1.12); }
.rating-input input:focus-visible + label { box-shadow: 0 0 0 3px rgba(196, 122, 22, .35); }
.rating-clear { font-size: .8rem; color: var(--muted); cursor: pointer; text-decoration: underline; }
.rating-label { font-size: .88rem; font-weight: 600; color: var(--amber); }
.notes-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; }
.my-photos { margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--line); }
.my-photos h3 { display: flex; align-items: center; gap: .45rem; font-size: 1.05rem; margin-bottom: .8rem; }
.my-photos h3 .icon { color: var(--amber); }
.upload-form { display: grid; gap: 10px; margin-top: 14px; }
.upload-form .check { margin: 0; }
.upload-form .input--sm { padding-right: .8rem; border-radius: var(--radius-sm); }
.upload-drop { position: relative; display: flex; align-items: center; justify-content: center; min-height: 64px; border: 2px dashed #D9C6A6; border-radius: 14px; background: var(--paper); cursor: pointer; color: var(--muted); font-weight: 600; text-align: center; padding: 10px; transition: border-color .2s, background .2s; }
.upload-drop:hover { border-color: var(--amber); background: #fff; }
.upload-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-drop__text { display: inline-flex; align-items: center; gap: .45rem; }
.upload-drop.has-file { border-style: solid; border-color: var(--amber); color: var(--ink); }

/* Fotogalerij */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.photo-grid--sm { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.photo-tile { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.photo-tile > a { display: block; aspect-ratio: 1; overflow: hidden; background: var(--cream); }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.photo-tile > a:hover img { transform: scale(1.05); }
.photo-tile figcaption { padding: 9px 11px 11px; display: grid; gap: 4px; font-size: .86rem; }
.photo-tile figcaption a { color: var(--ink); }
.visibility { display: inline-flex; align-items: center; gap: .3rem; font-size: .76rem; font-weight: 700; color: var(--muted); }
.visibility .icon { width: 13px; height: 13px; }
.visibility.is-public { color: var(--success); }
.photo-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.photo-actions form { margin: 0; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-size: .8rem; font-weight: 600; color: var(--amber); cursor: pointer; text-decoration: underline; }
.link-btn--danger { color: var(--danger); }
.community-photos .muted .icon { width: 13px; height: 13px; vertical-align: -2px; }

/* Badges op de bierkaarten */
.my-badge { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: .3rem; background: var(--success); color: #fff; font-size: .72rem; font-weight: 700; padding: .25rem .55rem; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,.15); z-index: 2; }
.my-badge .icon { width: 12px; height: 12px; stroke-width: 3; }
.my-badge--rating { background: var(--brown-900); color: var(--gold); }
.my-badge--rating .icon { fill: var(--gold); stroke: none; }
.my-badges { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 6px; z-index: 2; }
.my-badges .my-badge { position: static; }

/* Mijn bieren */
.account-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.account-stats { display: flex; gap: 10px; }
.account-stats div { min-width: 92px; text-align: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 10px 14px; }
.account-stats strong { display: block; font-family: var(--font-serif); font-size: 1.7rem; color: var(--gold); line-height: 1.1; }
.account-stats span { font-size: .78rem; color: rgba(245,237,223,.75); }
.account { padding: 26px 20px 64px; }
.progress-card { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 18px; }
.progress-text { flex: 1 1 260px; }
.progress-bar { flex: 2 1 240px; height: 12px; border-radius: 999px; background: var(--cream); overflow: hidden; }
.progress-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--amber), var(--gold)); }
.progress-pct { font-weight: 800; color: var(--amber); }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -ms-overflow-style: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { padding: .7rem 1rem; font-weight: 600; color: var(--muted); border-bottom: 3px solid transparent; white-space: nowrap; }
.tabs a:hover { color: var(--ink); }
.tabs a.is-active { color: var(--brown-900); border-bottom-color: var(--amber); }
.list-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-bottom: 12px; font-size: .9rem; }
.sort-links { display: flex; gap: .7rem; align-items: center; color: var(--muted); }
.sort-links a { color: var(--muted); font-weight: 600; }
.sort-links a.is-active { color: var(--amber); text-decoration: underline; }
.list-intro { margin-top: 0; }
.tasted-list { display: grid; gap: 10px; }
.tasted-item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 16px 10px 10px; color: var(--ink); transition: box-shadow .2s, transform .2s; }
.tasted-item:hover { box-shadow: var(--shadow); transform: translateY(-1px); }
.tasted-item__img { width: 72px; height: 84px; border-radius: 10px; display: grid; place-items: center; background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--style-color) 22%, #fff), var(--cream)); overflow: hidden; }
.tasted-item__img img, .tasted-item__img svg { max-height: 74px; max-width: 60px; width: auto; height: auto; object-fit: contain; }
.tasted-item__body { display: grid; gap: 3px; min-width: 0; font-size: .88rem; }
.tasted-item__title { font-family: var(--font-serif); font-size: 1.12rem; font-weight: 700; }
.tasted-item__notes { color: var(--ink); font-style: italic; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.tasted-item__meta { display: grid; justify-items: end; gap: 6px; }
.badge-tasted { display: inline-flex; align-items: center; gap: .3rem; font-size: .78rem; font-weight: 700; color: var(--success); background: #E7F3EC; padding: .2rem .55rem; border-radius: 999px; }
.badge-tasted .icon { width: 13px; height: 13px; stroke-width: 3; }
.profile-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.profile-grid .panel:first-child { margin-top: 0; }
.profile-grid > div > .panel:first-child { margin-top: 0; }
.sub-title { font-size: 1rem; margin: 18px 0 10px; }
.panel--danger { border-color: #F0C3BC; }
.panel--danger h2 .icon { color: var(--danger); }

@media (max-width: 860px) {
  .auth-wrap, .profile-grid { grid-template-columns: 1fr; }
  .tasted-item { grid-template-columns: 60px minmax(0, 1fr); }
  .tasted-item__img { width: 60px; height: 72px; }
  .tasted-item__meta { grid-column: 2; justify-items: start; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
  .account-stats { width: 100%; }
  .account-stats div { flex: 1; min-width: 0; }
}

/* ===================== Biervoorstellen ===================== */
.req { color: var(--danger); }
.suggest-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.suggest-grid > .panel { margin-top: 0; }
.suggest-form .muted { margin-top: 0; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.suggest-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.suggest-list li { display: grid; gap: 4px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.suggest-list__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.suggest-list a { color: var(--amber); font-weight: 600; display: inline-flex; align-items: center; gap: .25rem; }
.suggest-list a .icon { width: 14px; height: 14px; }
.suggest-note { font-size: .85rem; color: var(--ink); display: flex; gap: .35rem; align-items: flex-start; }
.suggest-note .icon { width: 15px; height: 15px; color: var(--amber); flex: none; margin-top: .15em; }
.status-chip { display: inline-flex; align-items: center; font-size: .74rem; font-weight: 700; padding: .2rem .6rem; border-radius: 999px; white-space: nowrap; background: var(--amber-50); color: #8A5A12; }
.status-chip--accepted { background: #E7F3EC; color: var(--success); }
.status-chip--rejected { background: #F3ECE6; color: var(--muted); }
.nav-count { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--gold); color: var(--brown-900); font-size: .72rem; font-weight: 800; display: inline-grid; place-items: center; }
.suggest-admin { display: grid; gap: 12px; }
.suggest-card { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 18px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.suggest-card__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.suggest-card__head h3 { margin: 0; font-size: 1.15rem; }
.suggest-meta { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 6px 16px; margin: 0; font-size: .88rem; }
.suggest-meta dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; }
.suggest-meta dd { margin: 0; }
.suggest-meta a { color: var(--amber); }
.suggest-meta .icon { width: 13px; height: 13px; vertical-align: -2px; }
.suggest-info { margin: 10px 0 0; padding: 10px 12px; background: var(--paper); border-radius: 10px; font-size: .9rem; }
.suggest-card__actions { display: grid; gap: 8px; align-content: start; }
.suggest-card__actions form { margin: 0; }
.reject-form { display: grid; gap: 6px; }
.reject-form .input--sm { padding-right: .8rem; border-radius: var(--radius-sm); }
.suggest-card__actions .icon-btn { justify-self: end; }
@media (max-width: 860px) {
  .suggest-grid, .suggest-card { grid-template-columns: 1fr; }
}
.suggest-hint { margin: 14px 0 0; font-size: .9rem; color: var(--muted); }
.suggest-hint a { color: var(--amber); font-weight: 700; }
.suggest-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 28px; padding: 14px 18px; border: 1px dashed #D9C6A6; border-radius: var(--radius); background: #fff; color: var(--brown-800); font-weight: 600; }
.suggest-cta span { display: inline-flex; align-items: center; gap: .45rem; }
.suggest-cta span .icon { color: var(--amber); }
