/* ==========================================================================
   Bierkelder — "Etiket"-ontwerp (MVP 0.20, zie ARCHITECTURE.md sectie 4.18)

   Geïnspireerd op de etiketten van Belgische/Nederlandse abdij- en
   trappistenbieren (La Trappe, Achel, Val-Dieu, Hertog Jan): crème papier,
   donkere inkt, één diepe merkkleur (abdijbordeaux) en spaarzaam goudfolie.

   Opbouw: 1 tokens · 2 basis · 3 layout/navigatie · 4 componenten ·
   5 pagina-specifiek · 6 responsive · 7 beweging.
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
    --bg: #f6f1e7;
    --surface: #fffdf8;
    --surface-2: #f0e8da;
    --border: #e4d9c6;
    --border-strong: #cdbb9e;

    --text: #2a1f17;
    --text-muted: #6b5b4b;
    --text-subtle: #8c7b69;

    --primary: #7a1f2b;
    --primary-hover: #5f1621;
    --primary-soft: #f5e6e6;
    --accent: #b08a3e;
    --accent-ink: #6e5420;
    --accent-soft: #f4ebd6;
    --blue: #2e4a6b;
    --blue-soft: #e4eaf1;

    --success: #2f6b3a;
    --success-bg: #e8f1e6;
    --error: #9b2226;
    --error-bg: #f9e7e4;

    --header-bg: #221812;
    --header-text: #f3e9d8;
    --header-muted: #bba98f;

    --radius: 12px;
    --radius-sm: 8px;
    --shadow-sm: 0 1px 2px rgba(42, 31, 23, 0.06);
    --shadow: 0 1px 2px rgba(42, 31, 23, 0.05), 0 4px 14px rgba(42, 31, 23, 0.07);
    --shadow-lg: 0 10px 30px rgba(42, 31, 23, 0.16);

    --font-display: "Fraunces", Georgia, "Times New Roman", serif;
    --font-ui: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

    --content-width: 1120px;
    --tabbar-height: 64px;
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* 2. Basis ----------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    background: var(--bg);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-ui);
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    font-feature-settings: "tnum" 1;
}

h1,
h2,
h3 {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin: 0 0 0.5rem;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.35rem;
    margin-top: 2rem;
}

h3 {
    font-size: 1.05rem;
}

p {
    margin: 0 0 0.75rem;
}

a {
    color: var(--blue);
    text-underline-offset: 2px;
}

a:hover {
    color: var(--primary);
}

img {
    max-width: 100%;
}

hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 1.5rem 0;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Het hidden-attribuut (gebruikt door de camera-scripts) wint altijd van
   een display-regel uit deze stylesheet. */
[hidden] {
    display: none !important;
}

.eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-ink);
    margin-bottom: 0.25rem;
}

.muted {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0.15rem 0;
}

.empty {
    color: var(--text-muted);
    font-style: italic;
    padding: 1.25rem;
    background: var(--surface);
    border: 1px dashed var(--border-strong);
    border-radius: var(--radius);
    text-align: center;
}

.inline-form {
    display: inline;
}

section {
    margin-bottom: 1.5rem;
}

/* 3. Layout & navigatie ---------------------------------------------------- */
main {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 2rem 1.5rem 3rem;
}

.page-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.page-header h1 {
    margin: 0;
}

.page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Bovenbalk */
.topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    background: var(--header-bg);
    color: var(--header-text);
    border-bottom: 2px solid var(--accent);
}

.topbar-inner {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 64px;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--header-text);
    text-decoration: none;
    white-space: nowrap;
}

.brand:hover {
    color: #fff;
}

.brand-mark {
    width: 28px;
    height: 28px;
    color: var(--accent);
    flex-shrink: 0;
}

.main-nav {
    display: flex;
    gap: 0.25rem;
    flex: 1;
}

.main-nav a {
    color: var(--header-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.45rem 0.75rem;
    border-radius: var(--radius-sm);
    transition: color 0.15s var(--ease), background 0.15s var(--ease);
}

.main-nav a:hover {
    color: var(--header-text);
    background: rgba(255, 255, 255, 0.06);
}

.main-nav a.active {
    color: #fff;
    background: rgba(176, 138, 62, 0.22);
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Accountmenu (native <details>, geen JS) */
.account-menu {
    position: relative;
}

.account-menu > summary {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.3rem 0.5rem 0.3rem 0.3rem;
    border-radius: 999px;
    color: var(--header-text);
    font-size: 0.9rem;
    transition: background 0.15s var(--ease);
}

.account-menu > summary::-webkit-details-marker {
    display: none;
}

.account-menu > summary:hover,
.account-menu[open] > summary {
    background: rgba(255, 255, 255, 0.08);
}

.account-menu .chevron {
    width: 14px;
    height: 14px;
    opacity: 0.7;
}

.menu-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 220px;
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 0.4rem;
    z-index: 40;
    animation: menu-in 0.14s var(--ease);
}

.menu-panel a,
.menu-panel button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.55rem 0.75rem;
    border-radius: var(--radius-sm);
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-ui);
    letter-spacing: normal;
    text-transform: none;
}

.menu-panel a:hover,
.menu-panel button:hover {
    background: var(--surface-2);
    color: var(--text);
}

.menu-panel .menu-label {
    display: block;
    padding: 0.5rem 0.75rem 0.25rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-subtle);
}

.menu-panel hr {
    margin: 0.35rem 0;
}

/* Rode teller voor ongelezen berichten (admin) */
.notify-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: #c62828;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.menu-panel a.menu-link-count {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.avatar-wrap {
    position: relative;
    display: inline-flex;
}

.notify-badge-avatar {
    position: absolute;
    top: -8px;
    right: -12px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 0.66rem;
    border: 2px solid var(--header-bg);
    box-sizing: content-box;
}

.menu-panel .menu-danger {
    color: var(--error);
}

/* Taalkeuze rechtsboven (MVP 0.40): vlaggetje, klik = keuzelijst */
.lang-menu {
    position: relative;
}

.lang-menu > summary {
    list-style: none;
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.45rem;
    border-radius: var(--radius-sm);
    transition: background 0.15s var(--ease);
}

.lang-menu > summary::-webkit-details-marker {
    display: none;
}

.lang-menu > summary:hover,
.lang-menu[open] > summary {
    background: rgba(255, 255, 255, 0.08);
}

.flag {
    display: block;
    width: 24px;
    height: 16px;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
    flex-shrink: 0;
}

.lang-panel {
    min-width: 180px;
}

.menu-panel .lang-option {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.65rem;
}

.menu-panel .lang-option[aria-current="true"] {
    background: var(--surface-2);
    font-weight: 600;
}

.only-mobile {
    display: none !important;
}

.tablet-only {
    display: none;
}

/* Tabbalk onderin (mobiel) */
.tabbar {
    display: none;
}

/* 4. Componenten ----------------------------------------------------------- */

/* Knoppen */
button,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-family: var(--font-ui);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
    padding: 0.6rem 1.1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--primary);
    background: var(--primary);
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s var(--ease), border-color 0.15s var(--ease),
        color 0.15s var(--ease), transform 0.1s var(--ease), box-shadow 0.15s var(--ease);
}

button:hover,
.btn:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    color: #fff;
}

button:active,
.btn:active {
    transform: translateY(1px);
}

button.btn-secondary,
.btn.btn-secondary,
button[name="action"] {
    background: var(--surface);
    color: var(--text);
    border-color: var(--border-strong);
}

button.btn-secondary:hover,
.btn.btn-secondary:hover,
button[name="action"]:hover {
    background: var(--surface-2);
    border-color: var(--text-subtle);
    color: var(--text);
}

.btn.btn-ghost,
button.btn-ghost {
    background: transparent;
    border-color: transparent;
    color: var(--text-muted);
}

.btn.btn-ghost:hover,
button.btn-ghost:hover {
    background: var(--surface-2);
    color: var(--text);
    border-color: transparent;
}

.btn.btn-on-dark {
    background: var(--accent);
    border-color: var(--accent);
    color: #1d140d;
}

.btn.btn-on-dark:hover {
    background: #c49d52;
    border-color: #c49d52;
    color: #1d140d;
}

.btn.btn-outline-on-dark {
    background: transparent;
    border-color: rgba(243, 233, 216, 0.35);
    color: var(--header-text);
}

.btn.btn-outline-on-dark:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(243, 233, 216, 0.6);
    color: #fff;
}

button.btn-danger,
.btn.btn-danger {
    background: var(--surface);
    color: var(--error);
    border-color: #e3b7b2;
}

button.btn-danger:hover,
.btn.btn-danger:hover {
    background: var(--error-bg);
    border-color: var(--error);
    color: var(--error);
}

.btn-sm,
button.btn-sm {
    font-size: 0.82rem;
    padding: 0.4rem 0.75rem;
}

.btn-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Kaarten */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 1.25rem;
}

/* Meldingen: als toast bovenaan (flashes), inline als callout (.flash) */
.flash {
    display: block;
    padding: 0.7rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    border: 1px solid transparent;
    margin: 0.5rem 0;
}

.flash-error {
    background: var(--error-bg);
    color: var(--error);
    border-color: #efc9c3;
}

.flash-success {
    background: var(--success-bg);
    color: var(--success);
    border-color: #c9ddc5;
}

.flashes {
    list-style: none;
    margin: 0;
    padding: 0;
    position: fixed;
    top: 76px;
    right: 1.25rem;
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: min(420px, calc(100vw - 2.5rem));
    pointer-events: none;
}

.flashes .flash {
    margin: 0;
    box-shadow: var(--shadow-lg);
    pointer-events: auto;
    animation: toast-in 0.25s var(--ease);
    font-weight: 500;
}

/* Succesmeldingen verdwijnen vanzelf; fouten blijven staan. */
.flashes .flash-success {
    animation: toast-in 0.25s var(--ease), toast-out 0.4s var(--ease) 4.5s forwards;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    border: 1px solid transparent;
    vertical-align: middle;
    white-space: nowrap;
}

.badge-year {
    background: var(--accent-soft);
    color: var(--accent-ink);
    border-color: #e6d4ab;
    font-variant-numeric: tabular-nums;
}

.badge-private {
    background: var(--surface-2);
    color: var(--text-muted);
    border-color: var(--border);
}

.badge-low {
    background: var(--primary-soft);
    color: var(--primary);
    border-color: #ebc9cb;
}

.badge-admin {
    background: var(--accent-soft);
    color: var(--accent-ink);
    border-color: #e6d4ab;
    margin-left: 0.4rem;
}

.badge-approved {
    background: var(--success-bg);
    color: var(--success);
    border-color: #c9ddc5;
    margin-left: 0.4rem;
}

.badge-rejected {
    background: var(--error-bg);
    color: var(--error);
    border-color: #efc9c3;
    margin-left: 0.4rem;
}

/* Bier-thumbnails en de fles-placeholder */
.bottle-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, var(--surface-2), #e6dcc9);
    color: var(--border-strong);
}

.bottle-placeholder svg {
    height: 70%;
    width: auto;
}

/* Segmented toggle (scope, tabs) */
.scope-toggle {
    display: inline-flex;
    gap: 0.2rem;
    padding: 0.25rem;
    background: var(--surface-2);
    border-radius: 999px;
    margin-bottom: 1.25rem;
}

.scope-toggle a {
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--text-muted);
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    transition: background 0.15s var(--ease), color 0.15s var(--ease);
}

.scope-toggle a:hover {
    color: var(--text);
}

.scope-toggle a.active {
    background: var(--surface);
    color: var(--text);
    box-shadow: var(--shadow-sm);
}

/* Formulieren */
.stacked-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 760px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 1.5rem;
}

.stacked-form label,
.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
}

/* Hint staat in de markup naast het label, maar wordt onder het veld
   getoond: zo lijnen de invoervelden in een .form-grid netjes uit. */
/* Een losse hint (direct in het formulier, niet in een label) blijft
   gewoon op zijn plek staan. */
.stacked-form > .field-hint {
    order: 0;
    margin: -0.5rem 0 0;
}

.field-hint {
    order: 1;
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--text-subtle);
}

input,
select,
textarea {
    font-family: var(--font-ui);
    font-size: 0.95rem;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    padding: 0.6rem 0.75rem;
    transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
    min-width: 0;
}

input::placeholder {
    color: var(--text-subtle);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(176, 138, 62, 0.2);
}

select {
    appearance: none;
    -webkit-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%),
        linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);
    background-position: calc(100% - 17px) center, calc(100% - 12px) center;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 2rem;
}

input[type="file"] {
    padding: 0.45rem;
    background: var(--surface-2);
    border-style: dashed;
}

input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    padding: 0;
}

.checkbox-label {
    flex-direction: row !important;
    align-items: center;
    gap: 0.6rem !important;
    font-weight: 500;
}

.form-section {
    border: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
}

.form-section + .form-section {
    border-top: 1px solid var(--border);
    padding-top: 1.25rem;
}

/* float + width maakt van de legend een gewoon flex-item, zodat hij niet
   in de scheidingslijn van de fieldset wordt getekend. */
.form-section legend {
    float: left;
    width: 100%;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0;
    margin-bottom: 0.25rem;
}

.form-section .section-hint {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: -0.5rem 0 0;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.25rem;
}

.form-grid .span-2 {
    grid-column: 1 / -1;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.form-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    border-top: 1px solid var(--border);
    padding-top: 1.25rem;
}

.secondary-form {
    margin-top: 0.75rem;
}

#barcode-scan-video,
#photo-capture-video {
    width: 100%;
    max-width: 420px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: #000;
}

.photo-capture-preview {
    display: block;
    max-width: 160px;
    max-height: 160px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

/* Gevarenzone */
/* MVP 0.43: privacyblok in het profiel en de privacyverklaring. */
.profile-privacy {
    max-width: 760px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.privacy-statement {
    max-width: 46rem;
}

.privacy-statement h2 {
    margin-top: 1.75rem;
}

.privacy-statement li {
    margin-bottom: 0.5rem;
}

.danger-zone {
    max-width: 760px;
    margin-top: 2rem;
    padding: 1.25rem 1.5rem;
    border: 1px solid #efc9c3;
    border-radius: var(--radius);
    background: #fdf6f4;
}

.danger-zone h2 {
    margin-top: 0;
    font-size: 1.1rem;
    color: var(--error);
}

/* Avatars */
.avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.avatar-sm {
    width: 32px;
    height: 32px;
    font-size: 0.75rem;
}

.avatar-lg {
    width: 88px;
    height: 88px;
    font-size: 1.8rem;
}

.avatar-initials {
    background: var(--primary);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 600;
    border: 2px solid var(--accent);
}

.profile-avatar-preview {
    display: flex;
    justify-content: center;
}

/* 5. Pagina-specifiek ------------------------------------------------------ */

/* Dashboard: statistieken */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
    margin-bottom: 1rem;
}

.stat-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 1.1rem 1.25rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.stat-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: var(--accent);
}

.stat-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.1;
    color: var(--text);
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
}

.stat-card-link {
    text-decoration: none;
    transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease),
        border-color 0.15s var(--ease);
}

.stat-card-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: var(--border-strong);
}

/* Dashboard: grafieken */
.charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.chart-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 1.25rem;
}

.chart-card h3 {
    margin-bottom: 1rem;
}

.bar-chart {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.bar-chart-row {
    display: grid;
    grid-template-columns: minmax(80px, 32%) 1fr auto;
    align-items: center;
    gap: 0.75rem;
}

.bar-chart-label {
    font-size: 0.85rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bar-chart-track {
    height: 10px;
    background: var(--surface-2);
    border-radius: 999px;
    overflow: hidden;
}

.bar-chart-fill {
    height: 100%;
    min-width: 4px;
    border-radius: 999px;
    background: var(--accent);
    animation: bar-grow 0.6s var(--ease);
    transform-origin: left;
}

.bar-chart--country .bar-chart-fill {
    background: var(--blue);
}

.bar-chart-value {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    min-width: 1.5em;
    text-align: right;
}

/* Kaartweergave (dashboard: "Bijna op"/"Recent toegevoegd") */
.beer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

/* Geen overflow: hidden op kaarten en lijsten: dan zou het ⋯-menu worden
   afgeknipt. De afbeelding krijgt zelf de afgeronde hoeken. */
.beer-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.beer-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.beer-card-image {
    aspect-ratio: 4 / 3;
    background: var(--surface-2);
    overflow: hidden;
    border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
}

.beer-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.beer-card-body {
    padding: 0.9rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.beer-card-body h3 {
    margin: 0;
    font-size: 1rem;
}

.beer-card-meta {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.beer-card-actions {
    margin-top: auto;
    padding-top: 0.6rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.beer-card-actions a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--blue);
    text-decoration: none;
}

.beer-card-actions a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.beer-card-title-link {
    color: var(--text);
    text-decoration: none;
}

.beer-card-title-link:hover {
    color: var(--primary);
}

/* Kelder: filters */
.filter-bar {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 1rem;
    margin-bottom: 1rem;
}

.filter-form {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

/* Regel 1: filtervelden + Filteren; regel 2: sorteren + Sorteren (MVP 0.26.3). */
.filter-row-main {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.25fr) auto;
    gap: 0.6rem;
}

.filter-row-sort {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
    justify-content: center;
    padding-top: 0.6rem;
    border-top: 1px solid var(--border);
}

.filter-row-sort select {
    flex: 0 1 260px;
}

.filter-search {
    position: relative;
}

.filter-search input {
    width: 100%;
    padding-left: 2.3rem;
}

.filter-search svg {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    width: 16px;
    height: 16px;
    transform: translateY(-50%);
    color: var(--text-subtle);
    pointer-events: none;
}

.filter-more-toggle {
    display: none;
}

.filter-more-label {
    display: none;
}

.results-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Kelder: compacte lijst */
.beer-list {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.beer-row {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.7rem 1rem;
    border-top: 1px solid var(--border);
    transition: background 0.15s var(--ease);
}

.beer-row:first-child {
    border-top: none;
    border-radius: var(--radius) var(--radius) 0 0;
}

.beer-row:last-child {
    border-radius: 0 0 var(--radius) var(--radius);
}

.beer-row:only-child {
    border-radius: var(--radius);
}

.beer-row:hover {
    background: #fbf7ef;
}

.beer-row-image {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--surface-2);
    border: 1px solid var(--border);
}

.beer-row-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.beer-row-body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.beer-row-name {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.beer-row-name a {
    color: var(--text);
    text-decoration: none;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.beer-row-name a:hover {
    color: var(--primary);
}

.beer-row-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.beer-row-qty {
    flex-shrink: 0;
    text-align: right;
    min-width: 3.5rem;
}

.qty-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1;
}

.qty-label {
    font-size: 0.72rem;
    color: var(--text-subtle);
}

.beer-row-actions {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-shrink: 0;
}

.beer-row-actions a {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.35rem 0.55rem;
    border-radius: var(--radius-sm);
}

.beer-row-actions a:hover {
    background: var(--surface-2);
    color: var(--text);
}

/* Rij-menu (⋯) op mobiel */
.row-menu {
    position: relative;
}

.row-menu > summary {
    list-style: none;
    cursor: pointer;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
}

.row-menu > summary::-webkit-details-marker {
    display: none;
}

.row-menu > summary:hover,
.row-menu[open] > summary {
    background: var(--surface-2);
    color: var(--text);
}

.row-menu .menu-panel {
    min-width: 190px;
}

/* Bierdetail */
.beer-detail {
    display: grid;
    grid-template-columns: minmax(220px, 320px) 1fr;
    gap: 2.5rem;
    align-items: start;
}

.beer-detail-image {
    aspect-ratio: 3 / 4;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    position: sticky;
    top: 88px;
}

.beer-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.beer-detail-body h1 {
    font-size: 2.2rem;
    margin-bottom: 0.25rem;
}

.beer-detail-sub {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.fact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.75rem;
    margin: 0 0 1.5rem;
}

.fact {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.7rem 0.9rem;
}

.fact dt {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-subtle);
}

.fact dd {
    margin: 0.15rem 0 0;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 1.75rem 0 0.75rem;
}

.section-title h2 {
    margin: 0;
}

.batch-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.batch-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 1rem 1.1rem;
}

.batch-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.batch-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.batch-qty {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
}

.batch-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1.25rem;
    margin: 0.6rem 0 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.batch-meta strong {
    color: var(--text);
    font-weight: 500;
}

.batch-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

/* Drinken: uitklappaneel i.p.v. een volledig formulier per partij */
.drink-disclosure {
    margin-top: 0.85rem;
}

.drink-disclosure > summary {
    list-style: none;
}

.beer-detail-body .page-actions {
    margin-bottom: 0.5rem;
}

.menu-panel form {
    display: block;
    margin: 0;
}

.drink-disclosure > summary::-webkit-details-marker {
    display: none;
}

.drink-panel {
    margin-top: 0.9rem;
    padding: 0.9rem;
    background: var(--surface-2);
    border-radius: var(--radius-sm);
    max-width: 420px;
    animation: panel-in 0.18s var(--ease);
}


/* Detail-lijst (dl), o.a. voor oudere pagina's */
.detail-list {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 0.4rem 1.25rem;
    margin: 1rem 0;
}

.detail-list dt {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.detail-list dd {
    margin: 0;
    font-weight: 500;
}

/* Geschiedenis */
.history-list {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.history-row {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 0.85rem 1rem;
    border-top: 1px solid var(--border);
}

.history-row:first-child {
    border-top: none;
}

.history-row-image {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--surface-2);
    border: 1px solid var(--border);
}

.history-row-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.history-row-body {
    flex: 1;
    min-width: 0;
}

.history-row-body > a {
    color: var(--text);
    font-weight: 600;
    text-decoration: none;
}

.history-row-body > a:hover {
    color: var(--primary);
}

.history-comment {
    margin: 0.35rem 0 0;
    font-family: var(--font-display);
    font-style: italic;
    color: var(--text);
}

.rating {
    color: var(--accent);
    letter-spacing: 0.05em;
}

/* Biergenoten & gebruikersbeheer */
/* Geen overflow: hidden: het ⋯-menu per lid mag niet worden afgeknipt. */
.user-list {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.user-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.9rem 1.1rem;
    border-top: 1px solid var(--border);
}

.user-row:first-child {
    border-top: none;
}

.user-row-identity {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-row-identity p {
    margin: 0;
}

.user-row-actions {
    display: flex;
    gap: 0.5rem;
}

/* Inloggen / registreren */
.auth-wrap {
    max-width: 440px;
    margin: 2rem auto 0;
}

.auth-wrap .auth-intro {
    text-align: center;
    margin-bottom: 1.5rem;
}

.auth-wrap .auth-intro .brand-mark {
    width: 44px;
    height: 44px;
    color: var(--accent);
}

.auth-wrap .stacked-form {
    max-width: none;
}

.auth-wrap .stacked-form button[type="submit"] {
    width: 100%;
}

.auth-footer {
    text-align: center;
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Infopagina (/over) */
.about-hero {
    text-align: center;
    max-width: 720px;
    margin: 1rem auto 2.5rem;
}

.about-hero .brand-mark {
    width: 52px;
    height: 52px;
    margin-bottom: 0.75rem;
}

.about-hero h1 {
    font-size: 2.4rem;
}

.about-lead {
    font-size: 1.08rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.about-actions {
    justify-content: center;
    margin-top: 1.25rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 1.25rem;
    transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent-ink);
    margin-bottom: 0.75rem;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 22px;
    height: 22px;
}

.steps {
    list-style: none;
    counter-reset: step;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.steps li {
    counter-increment: step;
    position: relative;
    padding: 1.1rem 1.25rem 1.1rem 3.6rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.steps li strong {
    display: block;
    color: var(--text);
    margin-bottom: 0.2rem;
}

.steps li::before {
    content: counter(step);
    position: absolute;
    left: 1.1rem;
    top: 1.05rem;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-privacy {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-top: 2rem;
}

.about-privacy .feature-icon {
    margin-bottom: 0;
}

.about-privacy h3 {
    margin-bottom: 0.25rem;
}

.contact-form {
    margin-top: 0.75rem;
}

textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
}

/* Honeypot: buiten beeld i.p.v. display:none, zodat simpele bots het veld
   wel "zien" en invullen. */
.hp-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.captcha-row {
    padding: 0.9rem 1rem;
    background: var(--surface-2);
    border-radius: var(--radius-sm);
}

.captcha-row input {
    max-width: 120px;
}

/* Voettekst */
.site-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem 1.25rem;
    margin-top: 3rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
    font-size: 0.82rem;
    color: var(--text-subtle);
}

.site-footer span {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--text-muted);
}

.site-footer a {
    color: var(--text-muted);
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.topbar-actions-guest {
    margin-left: auto;
}

/* Beheer: berichten */
.message-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.message-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 1rem 1.15rem;
}

.message-card.is-unread {
    border-left: 3px solid var(--primary);
}

.message-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.message-head .badge {
    margin-left: 0.35rem;
}

.message-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.2rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.mail-ok {
    color: var(--success);
}

.mail-no {
    color: var(--error);
}

.message-body {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    margin: 0.75rem 0;
    padding: 0.75rem 0.9rem;
    background: var(--bg);
    border-radius: var(--radius-sm);
}

.message-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
}

/* Biergenootschappen (MVP 0.22) */
.badge-owner {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.page-meta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.eyebrow a {
    color: inherit;
    text-decoration: none;
}

.eyebrow a:hover {
    text-decoration: underline;
}

/* Tabs binnen een biergenootschap/bieravond; scrollt horizontaal op mobiel. */
.sub-nav {
    display: flex;
    gap: 0.25rem;
    margin: -0.5rem 0 1.5rem;
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
    scrollbar-width: none;
}

.sub-nav::-webkit-scrollbar {
    display: none;
}

.sub-nav a {
    flex-shrink: 0;
    padding: 0.6rem 0.9rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color 0.15s var(--ease), border-color 0.15s var(--ease);
}

.sub-nav a:hover {
    color: var(--text);
}

.sub-nav a.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    font-weight: 600;
}

.society-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 0.9rem;
    margin: 1rem 0 0.5rem;
}

.society-card {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1rem 1.1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    color: var(--text);
    text-decoration: none;
    transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.society-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    color: var(--text);
}

.society-card .feature-icon {
    margin-bottom: 0;
}

.society-card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.society-card-body strong {
    font-family: var(--font-display);
    font-size: 1.05rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.info-card {
    margin-top: 1rem;
    border-left: 3px solid var(--accent);
}

.card + .card {
    margin-top: 1rem;
}

.form-row .grow {
    flex: 1 1 220px;
}

.user-row .row-menu .menu-panel {
    min-width: 260px;
}

/* Uitnodigingen (MVP 0.23) */
.invite-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 0.75rem;
}

.invite-message {
    margin: 0 0 1.25rem;
    padding: 1rem 1.25rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius-sm);
}

.invite-message p {
    font-family: var(--font-display);
    font-style: italic;
    white-space: pre-wrap;
    margin: 0 0 0.5rem;
}

.invite-message cite {
    font-style: normal;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.invite-actions {
    display: flex;
    gap: 0.6rem;
}

.invite-actions form,
.invite-actions button,
.invite-cta {
    flex: 1;
    width: 100%;
}

.main-nav .notify-badge {
    margin-left: 0.2rem;
    vertical-align: 1px;
}

.section-title h2 .notify-badge {
    vertical-align: 3px;
}

/* Bieravonden (MVP 0.24) */
.avond-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.avond-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1.1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    color: var(--text);
    text-decoration: none;
    transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.avond-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    color: var(--text);
}

.avond-card.is-past {
    opacity: 0.75;
}

/* Kalenderblaadje: dag + maand */
.avond-date {
    flex-shrink: 0;
    width: 52px;
    height: 56px;
    border-radius: var(--radius-sm);
    background: var(--primary);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.avond-card.is-past .avond-date,
.avond-date:has(svg) {
    background: var(--surface-2);
    color: var(--text-muted);
}

.avond-date svg {
    width: 24px;
    height: 24px;
}

.avond-day {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
}

.avond-month {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.15rem;
}

.avond-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.avond-body strong {
    font-family: var(--font-display);
    font-size: 1.05rem;
}

.avond-description p {
    white-space: pre-wrap;
    margin: 0;
}

.avond-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.edit-disclosure {
    margin-top: 1rem;
}

.edit-disclosure > summary {
    cursor: pointer;
}

.flat-form {
    border: none;
    box-shadow: none;
    padding: 1rem 0 0;
    max-width: none;
    background: transparent;
}

/* Nieuwe bieravond: datumkeuze */
.mode-choice {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
}

.stacked-form label.mode-option {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.8rem 0.9rem;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}

.mode-option input {
    margin-top: 0.15rem;
    accent-color: var(--primary);
}

.mode-option > span {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.mode-option:has(input:checked) {
    border-color: var(--primary);
    background: var(--primary-soft);
}

.mode-panel {
    display: none;
}

.bieravond-form:has(#mode-direct:checked) .panel-direct,
.bieravond-form:has(#mode-poll:checked) .panel-poll {
    display: block;
    animation: panel-in 0.18s var(--ease);
}

/* Datum-poll */
.poll-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.poll-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.poll-option.is-mine {
    border-color: var(--primary);
}

.poll-option.is-leading .poll-bar span {
    background: var(--primary);
}

.poll-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.poll-bar {
    height: 6px;
    background: var(--surface-2);
    border-radius: 999px;
    overflow: hidden;
    margin-top: 0.25rem;
}

.poll-bar span {
    display: block;
    height: 100%;
    background: var(--accent);
    border-radius: 999px;
    transition: width 0.3s var(--ease);
}

.poll-count {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    flex-shrink: 0;
}

.poll-count small {
    font-size: 0.8rem;
    color: var(--text-subtle);
    font-weight: 400;
}

.poll-actions {
    display: flex;
    gap: 0.25rem;
    flex-shrink: 0;
}

.date-hero {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    border-left: 3px solid var(--primary);
}

.date-hero > div {
    display: flex;
    flex-direction: column;
}

.date-hero strong {
    font-family: var(--font-display);
    font-size: 1.35rem;
}

.date-hero-icon {
    width: 32px;
    height: 32px;
    color: var(--primary);
    flex-shrink: 0;
}

/* Chat bij een bieravond (MVP 0.25) */
.chat-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.chat-message {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    max-width: 80%;
    scroll-margin-top: 90px;
}

.chat-message.is-mine {
    align-self: flex-end;
}

.chat-bubble {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius) var(--radius) var(--radius) 4px;
    padding: 0.6rem 0.9rem;
    box-shadow: var(--shadow-sm);
}

.chat-message.is-mine .chat-bubble {
    background: var(--primary-soft);
    border-color: #ebc9cb;
    border-radius: var(--radius) var(--radius) 4px var(--radius);
    padding-right: 2.2rem;
}

.chat-meta {
    display: flex;
    gap: 0.6rem;
    align-items: baseline;
    font-size: 0.78rem;
    color: var(--text-subtle);
}

.chat-meta strong {
    color: var(--text);
    font-size: 0.85rem;
}

.chat-bubble p {
    margin: 0.2rem 0 0;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.chat-delete {
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
}

.chat-delete button {
    padding: 0.2rem 0.45rem;
    font-size: 0.75rem;
    color: var(--text-subtle);
}

.chat-form {
    display: flex;
    gap: 0.5rem;
    align-items: flex-end;
    padding: 0.75rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    scroll-margin-top: 90px;
}

.chat-form textarea {
    flex: 1;
    min-height: 48px;
}

.chat-hint {
    margin-top: 0.4rem;
}

/* Bieren voorstellen (MVP 0.25) */
.proposal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.proposal-card {
    position: relative;
    display: flex;
    gap: 0.9rem;
    padding: 0.9rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.proposal-image {
    width: 56px;
    height: 72px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--surface-2);
}

.proposal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.proposal-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.proposal-body strong {
    font-family: var(--font-display);
    font-size: 1.05rem;
    padding-right: 4.5rem;
}

.proposal-people {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 0.1rem 0.6rem;
    margin: 0.4rem 0 0;
    font-size: 0.82rem;
}

.proposal-people dt {
    color: var(--text-subtle);
}

.proposal-people dd {
    margin: 0;
    font-weight: 600;
}

.proposal-remove {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
}

.proposals-left {
    font-size: 0.8rem;
    padding: 0.3rem 0.75rem;
    white-space: normal;
}

/* Titel + badge/knop naast elkaar, maar op smalle schermen eronder. */
.section-title {
    flex-wrap: wrap;
}

.kelder-picker {
    flex-wrap: wrap;
    border-radius: var(--radius);
}

/* Icoon van een biergenootschap (MVP 0.25.1) */
.society-icon {
    overflow: hidden;
}

.society-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.society-icon-lg {
    width: 52px;
    height: 52px;
    margin-bottom: 0;
}

.society-icon-xl {
    width: 96px;
    height: 96px;
    margin-bottom: 0;
}

.society-icon-xl svg {
    width: 44px;
    height: 44px;
}

.title-with-icon {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
}

.icon-form {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
}

.icon-upload {
    flex: 1 1 260px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Naamsvermelding bronnen (MVP 0.25.2) */
.footer-attribution {
    flex-basis: 100%;
    text-align: center;
    font-family: var(--font-ui) !important;
    font-weight: 400 !important;
    font-size: 0.75rem;
    color: var(--text-subtle) !important;
}

.fact-note {
    display: block;
    font-size: 0.72rem;
    font-weight: 400;
    color: var(--text-subtle);
}

/* catalog.beer-keuzelijst (MVP 0.26) */
.catalog-search-row {
    gap: 0.75rem;
}

.catalog-picker {
    padding: 0.9rem 1rem;
    background: var(--surface-2);
    border-radius: var(--radius-sm);
}

/* MVP 0.31: eigen database boven catalog.beer, met wat ruimte ertussen */
.own-picker + .catalog-picker {
    margin-top: 0.75rem;
}

.catalog-picker-title {
    margin: 0 0 0.6rem;
    font-size: 0.88rem;
}

.catalog-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.catalog-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.catalog-option-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.catalog-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
    font-size: 0.82rem;
    font-weight: 600;
}

.catalog-attribution {
    margin: 0.6rem 0 0;
}

/* Onzichtbare standaard-knop: Enter in een veld = Opslaan. */
.default-submit {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Drinken met score (MVP 0.26.1) */
.drink-pop {
    position: relative;
}

.drink-pop > summary {
    list-style: none;
}

.drink-pop > summary::-webkit-details-marker {
    display: none;
}

.drink-pop[open] > summary {
    background: var(--surface-2);
}

.drink-pop-panel {
    min-width: 270px;
    padding: 0.9rem;
}

.drink-form {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.drink-form .drink-comment {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    font-size: 0.82rem;
    font-weight: 500;
}

/* MVP 0.42: drinken zonder geschiedenisregel verbergt score, notitie en foto. */
.drink-history-fields {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.drink-form:has(.drink-log-toggle input:not(:checked)) .drink-history-fields {
    display: none;
}

/* Knoppen in een menupaneel zijn normaal tekstlinks; deze is een echte knop. */
.menu-panel .drink-form button {
    display: inline-flex;
    width: auto;
    align-self: flex-end;
    background: var(--primary);
    color: #fff;
    border: 1px solid var(--primary);
    padding: 0.4rem 0.9rem;
}

.menu-panel .drink-form button:hover {
    background: var(--primary-hover);
    color: #fff;
}

.star-rating {
    border: none;
    margin: 0;
    padding: 0;
}

.star-rating legend {
    font-size: 0.82rem;
    font-weight: 500;
    padding: 0;
    margin-bottom: 0.25rem;
}

/* Sterrenbalk (MVP 0.37): vijf sterren met een kleurverloop dat tot
   --score / 5 loopt, zodat ook halve sterren kloppen. Geen letter-spacing,
   anders verschuift de grens. Geen :hover, dat blijft op een telefoon hangen. */
.star-meter {
    --score: 0;
    display: inline-block;
    font-size: 1.9rem;
    line-height: 1;
    background: linear-gradient(90deg, var(--accent) calc(var(--score) / 5 * 100%), var(--border-strong) 0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.star-picker {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
}

.star-picker .star-meter {
    cursor: pointer;
    touch-action: none; /* slepen over de sterren scrolt de pagina niet */
    user-select: none;
    padding: 0.15rem 0;
}

.star-number input {
    width: 6.5rem;
}

.star-meter-sm {
    font-size: 1rem;
    vertical-align: -0.1em;
}

.star-value {
    margin-left: 0.2rem;
}

/* Biergenoten zoeken op nickname (MVP 0.38) */
.user-search {
    position: relative;
}

.user-search-results {
    position: absolute;
    z-index: 20;
    left: 0;
    right: 0;
    margin-top: 0.25rem;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.user-search-option {
    display: block;
    width: 100%;
    padding: 0.6rem 0.8rem;
    text-align: left;
    background: none;
    border: none;
    border-radius: 0;
    color: var(--text);
    cursor: pointer;
}

.user-search-option:hover,
.user-search-option:focus-visible {
    background: var(--surface-2);
}

.user-search-empty {
    margin: 0;
    padding: 0.6rem 0.8rem;
}

/* Vrije namen bij een bezette naam (MVP 0.38) */
.name-suggestions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

/* Terugknop boven pagina's binnen een biergenootschap (MVP 0.37) */
.back-link {
    margin: 0 0 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.back-link a {
    color: var(--text-muted);
    text-decoration: none;
}

.back-link a:hover,
.back-link a:focus-visible {
    color: var(--accent);
}

/* Geschiedenis bewerken/verwijderen (MVP 0.26.4) */
.history-edit {
    margin-top: 0.35rem;
}

.history-edit > summary {
    list-style: none;
    padding-left: 0;
    color: var(--text-muted);
    font-weight: 500;
}

.history-edit > summary::-webkit-details-marker {
    display: none;
}

.history-edit .drink-panel {
    margin-top: 0.5rem;
}

.history-delete button {
    color: var(--text-subtle);
}

.history-delete button:hover {
    color: var(--error);
}

.star-clear {
    margin-top: 0.4rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Dashboard: houdbaarheid in de lijst (MVP 0.26.6) */
.best-before {
    color: var(--text);
    font-weight: 500;
}

.best-before-over {
    color: var(--error);
    font-weight: 600;
}

/* Klikbare dashboardgrafieken (MVP 0.28) */
a.bar-chart-link {
    color: inherit;
    text-decoration: none;
    border-radius: var(--radius-sm);
    margin: -0.2rem -0.4rem;
    padding: 0.2rem 0.4rem;
    transition: background 0.15s var(--ease);
}

a.bar-chart-link:hover {
    background: var(--surface-2);
    color: var(--primary);
}

/* MVP 0.32: cijfers en top-5 boven de drinkgeschiedenis */
.history-top-beers {
    margin-bottom: 1.25rem;
}

.filter-unknown-note {
    margin-bottom: 0.75rem;
}

/* 6. Responsive ------------------------------------------------------------ */
@media (max-width: 1199px) {
    .topbar-inner {
        gap: 0.75rem;
        padding: 0 1rem;
    }

    .main-nav {
        gap: 0;
    }

    .main-nav a {
        padding: 0.45rem 0.5rem;
    }

    .hide-tablet {
        display: none !important;
    }

    .tablet-only {
        display: inline !important;
    }

    .account-menu .chevron {
        display: none;
    }
}

/* Tablet: zoekveld op een eigen regel, overige filters + Filteren eronder. */
@media (min-width: 768px) and (max-width: 1023px) {
    .filter-row-main {
        grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
    }

    .filter-row-main .filter-search {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    body {
        font-size: 15px;
    }

    main {
        padding: 1.25rem 1rem calc(var(--tabbar-height) + 1.5rem);
    }

    h1 {
        font-size: 1.6rem;
    }

    .topbar-inner {
        height: 56px;
        padding: 0 1rem;
        justify-content: space-between;
    }

    .main-nav,
    .only-desktop {
        display: none !important;
    }

    .only-mobile {
        display: revert !important;
    }

    .account-name,
    .hide-mobile {
        display: none;
    }

    .flashes {
        top: 64px;
        left: 1rem;
        right: 1rem;
        max-width: none;
    }

    /* Drinkformulier (MVP 0.41): op mobiel als paneel onderin over de volle
       breedte. Naast de Drink-knop paste het niet en stak het links buiten
       het scherm, waardoor het venster verschoof. */
    .drink-pop-panel {
        position: fixed;
        left: 0.75rem;
        right: 0.75rem;
        top: auto;
        bottom: calc(var(--tabbar-height) + env(safe-area-inset-bottom) + 0.75rem);
        z-index: 40;
        min-width: 0;
        max-height: calc(100dvh - var(--tabbar-height) - env(safe-area-inset-bottom) - 6rem);
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .drink-form input[type="file"] {
        min-width: 0;
        max-width: 100%;
    }

    /* Tabbalk: de meest gebruikte acties binnen duimbereik. */
    .tabbar {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 30;
        height: calc(var(--tabbar-height) + env(safe-area-inset-bottom));
        padding-bottom: env(safe-area-inset-bottom);
        /* Zelfde donkere kleurstelling als de bovenbalk, zodat de tabbalk
           duidelijk opvalt tegen de lichte pagina. */
        background: var(--header-bg);
        border-top: 2px solid var(--accent);
        box-shadow: 0 -4px 16px rgba(42, 31, 23, 0.18);
    }

    .tabbar a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.2rem;
        font-size: 0.68rem;
        font-weight: 500;
        color: var(--header-muted);
        text-decoration: none;
    }

    .tabbar a svg {
        width: 22px;
        height: 22px;
    }

    .tabbar a.active {
        color: var(--accent);
    }

    /* Messing, net als de "Bier toevoegen"-knop in de desktop-bovenbalk. */
    .tabbar a.tab-primary .tab-primary-icon {
        width: 44px;
        height: 44px;
        margin-top: -18px;
        border-radius: 50%;
        background: var(--accent);
        color: #1d140d;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
        border: 3px solid var(--header-bg);
    }

    .page-header {
        margin-bottom: 1rem;
    }

    .page-actions .btn {
        flex: 1;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }

    .stat-value {
        font-size: 1.6rem;
    }

    .filter-row-main {
        /* minmax(0, …): op smalle telefoons mag de eerste kolom krimpen,
           anders duwt "Meer filters & sorteren" Filteren buiten beeld. */
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .filter-row-main .filter-search,
    .filter-row-main .filter-field {
        grid-column: 1 / -1;
    }

    .filter-more-label {
        display: inline-flex;
        justify-self: start;
        order: 1;
        min-width: 0;
        white-space: normal;
        text-align: left;
    }

    .filter-row-main .filter-submit {
        order: 1;
    }

    .filter-row-main .filter-field {
        order: 2;
        display: none;
    }

    .filter-row-sort {
        display: none;
    }

    .filter-more-toggle:checked ~ .filter-row-main .filter-field {
        display: block;
    }

    .filter-more-toggle:checked ~ .filter-row-sort {
        display: flex;
    }

    .filter-row-sort select,
    .filter-row-sort .sort-submit {
        flex: 1 1 100%;
    }

    .beer-row {
        padding: 0.65rem 0.75rem;
        gap: 0.7rem;
    }

    .beer-row-image {
        width: 44px;
        height: 44px;
    }

    .form-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .form-grid input,
    .form-grid select {
        width: 100%;
    }

    .stacked-form {
        padding: 1.1rem;
    }

    .form-footer button,
    .form-footer .btn {
        flex: 1;
    }

    .beer-detail {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .beer-detail-image {
        position: static;
        aspect-ratio: 4 / 3;
        max-height: 280px;
        width: 100%;
    }

    .beer-detail-body h1 {
        font-size: 1.7rem;
    }

    .drink-panel {
        grid-template-columns: 1fr;
    }

    .user-row-actions {
        width: 100%;
    }

    .user-row-actions form,
    .user-row-actions button,
    .user-row-actions a {
        flex: 1;
    }

    .bar-chart-row {
        grid-template-columns: minmax(70px, 38%) 1fr auto;
    }

    .about-hero {
        margin-bottom: 1.75rem;
    }

    .about-hero h1 {
        font-size: 1.75rem;
    }

    .message-meta {
        align-items: flex-start;
    }

    /* Tabs op mobiel: doorlopen naar een tweede regel i.p.v. scrollen,
       zodat de actieve tab altijd zichtbaar is. */
    .sub-nav {
        flex-wrap: wrap;
        overflow-x: visible;
        row-gap: 0.1rem;
    }

    .sub-nav a {
        padding: 0.5rem 0.6rem;
        font-size: 0.85rem;
    }

    .mode-choice {
        grid-template-columns: 1fr;
    }

    .chat-message {
        max-width: 92%;
    }

    .chat-form {
        flex-direction: column;
        align-items: stretch;
    }

    .proposal-grid {
        grid-template-columns: 1fr;
    }

    .poll-option {
        flex-wrap: wrap;
        gap: 0.5rem 0.75rem;
    }

    .poll-main {
        flex-basis: calc(100% - 4rem);
    }

    .poll-actions {
        width: 100%;
    }

    .poll-actions form:first-child,
    .poll-actions form:first-child button {
        flex: 1;
        width: 100%;
    }
}

/* 7. Beweging -------------------------------------------------------------- */
@keyframes toast-in {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes toast-out {
    to {
        opacity: 0;
        transform: translateY(-8px);
        visibility: hidden;
    }
}

@keyframes menu-in {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes panel-in {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes bar-grow {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* MVP 0.45: "Wat drink ik vanavond?" */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.sommelier {
    max-width: 760px;
}

.sommelier-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sommelier-step {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin: 0;
    padding: 0;
    border: none;
    min-width: 0;
}

.sommelier-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem;
}

.sommelier-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.9rem;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: var(--surface);
    cursor: pointer;
    font-weight: 500;
    transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}

.sommelier-chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.sommelier-chip:has(input:checked) {
    border-color: var(--primary);
    background: var(--primary-soft);
    color: var(--primary);
}

.sommelier-chip:has(input:focus-visible) {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.sommelier-appear {
    animation: sommelier-appear 0.25s var(--ease);
}

@keyframes sommelier-appear {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .sommelier-appear { animation: none; }
}

.sommelier-suggestions {
    display: grid;
    gap: 1rem;
}

.sommelier-reasons {
    margin: 0.5rem 0 0;
    padding-left: 1.2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.sommelier-actions {
    margin-top: 1rem;
}

/* MVP 0.45, stap 3: de slimme chat */
.sommelier [hidden] {
    display: none !important;
}

.sommelier-offer {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.sommelier-ai {
    margin-bottom: 1rem;
}

.sommelier-ai-form {
    display: flex;
    gap: 0.5rem;
    margin: 0.75rem 0;
}

.sommelier-ai-form input {
    flex: 1 1 auto;
    min-width: 0;
}

.sommelier-status:empty {
    display: none;
}

.sommelier-error-detail {
    color: var(--text-subtle);
    font-size: 0.75rem;
}

/* De knopjes in de slimme chat zijn echte <button>s: niet de rode
   standaardknop, maar dezelfde chips als in de knoppenchat. */
button.sommelier-chip {
    color: var(--text);
    background: var(--surface);
    border-color: var(--border-strong);
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-weight: 500;
}

button.sommelier-chip:hover,
button.sommelier-chip:focus-visible {
    color: var(--primary);
    background: var(--primary-soft);
    border-color: var(--primary);
}

/* MVP 0.45, stap 5: "Iets anders" met een reden */
.sommelier-options-start {
    justify-content: flex-start;
}

.sommelier-other {
    margin-top: 1rem;
}
