:root{
  --bg:#f5f3ee;
  --surface:#ffffff;
  --text:#22201c;
  --muted:#6f6a61;
  --accent:#d6a51c;
  --accent-dark:#a67d0f;
  --border:#e3d9ba;
  --shadow:0 8px 24px rgba(50,40,10,.08);
  --radius:18px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--text);line-height:1.55}
body.dark{--bg:#171612;--surface:#22211d;--text:#f5f1e8;--muted:#b9b2a4;--border:#4a4023;--shadow:0 8px 24px rgba(0,0,0,.25)}
button,input{font:inherit}
button{cursor:pointer}
.topbar{position:sticky;top:0;z-index:10;display:flex;justify-content:space-between;align-items:center;padding:14px clamp(14px,3vw,32px);background:color-mix(in srgb,var(--bg) 90%,transparent);backdrop-filter:blur(10px);border-bottom:1px solid var(--border)}
.brand-wrap{display:flex;gap:12px;align-items:center}.brand-wrap h1{font-size:1.45rem;margin:0}.eyebrow{font-size:.78rem;color:var(--muted)}
.icon-btn{width:42px;height:42px;border-radius:12px;border:1px solid var(--border);background:var(--surface);color:var(--text);font-size:1.25rem}
main{max-width:1080px;margin:0 auto;padding:22px clamp(14px,3vw,28px) 50px}.view{display:none}.view.active{display:block}
.card{background:var(--surface);border:1.5px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}
.hero{padding:26px}.hero h2{font-size:clamp(1.7rem,4vw,2.5rem);margin:10px 0}.hero p{max-width:720px;margin:0;color:var(--muted)}
.pill{display:inline-block;padding:5px 10px;border-radius:999px;background:#f4e5aa;color:#6f5300;font-size:.78rem;font-weight:700}
.search-wrap{margin:20px 0}.search-wrap input{width:100%;padding:15px 16px;border-radius:14px;border:1.5px solid var(--border);background:var(--surface);color:var(--text);outline:none}.search-wrap input:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(214,165,28,.15)}
.tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.drink-tile{text-align:left;padding:22px;border-radius:var(--radius);border:2px solid var(--accent);background:var(--surface);color:var(--text);box-shadow:var(--shadow);transition:.18s transform,.18s box-shadow}.drink-tile:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(50,40,10,.12)}.drink-tile h3{font-size:1.35rem;margin:8px 0 6px}.drink-tile p{margin:0;color:var(--muted)}.tile-icon{font-size:2rem}.back-btn{border:0;background:transparent;color:var(--text);font-weight:700;padding:8px 0 14px}.detail-head{padding:24px;margin-bottom:18px}.detail-head h2{margin:6px 0 4px;font-size:2rem}.detail-head p{margin:0;color:var(--muted)}
.section-card{padding:22px;margin:14px 0}.section-card h3{margin-top:0;font-size:1.25rem}.section-card h4{margin-bottom:6px}.section-card ul,.section-card ol{padding-left:22px}.section-card li+li{margin-top:7px}
.process{display:grid;gap:12px}.step{display:grid;grid-template-columns:42px 1fr;gap:12px;align-items:start;padding:14px;border:1px solid var(--border);border-radius:14px;background:color-mix(in srgb,var(--surface) 92%,var(--accent) 8%)}.step-num{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:var(--accent);color:#2c2100;font-weight:800}.step h4{margin:2px 0 4px}.step p{margin:0;color:var(--muted)}
.info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.info-box{padding:15px;border:1px solid var(--border);border-radius:14px}.info-box strong{display:block;margin-bottom:5px}.info-box span{color:var(--muted)}

.recipe-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:14px}
.recipe-tile{text-align:left;padding:18px;border-radius:16px;border:1.5px solid var(--border);background:var(--surface);color:var(--text);box-shadow:var(--shadow);transition:.18s transform,.18s border-color}
.recipe-tile:hover{transform:translateY(-2px);border-color:var(--accent)}
.recipe-tile h4{font-size:1.08rem;margin:7px 0 5px}
.recipe-tile p{margin:0;color:var(--muted);font-size:.94rem}
.recipe-icon{font-size:1.55rem}
.recipe-category-panel{margin-top:16px;padding:18px;border:1px solid var(--border);border-radius:14px;background:color-mix(in srgb,var(--surface) 94%,var(--accent) 6%)}
.recipe-category-panel h4{margin:0 0 6px;font-size:1.15rem}
.recipe-category-panel p{margin:0;color:var(--muted)}

.note{padding:14px 16px;border-left:4px solid var(--accent);background:color-mix(in srgb,var(--surface) 88%,var(--accent) 12%);border-radius:10px}.search-results{margin-top:18px}.search-results h2{font-size:1.3rem}.result{padding:15px;margin:10px 0;background:var(--surface);border:1px solid var(--border);border-radius:14px}.result button{border:0;background:none;padding:0;color:var(--accent-dark);font-weight:800}.result p{margin:6px 0 0;color:var(--muted)}.hidden{display:none!important}
footer{display:flex;justify-content:center;gap:8px;padding:18px;color:var(--muted);font-size:.85rem;border-top:1px solid var(--border)}
@media(max-width:700px){.tiles,.info-grid,.recipe-tiles{grid-template-columns:1fr}.hero{padding:20px}.section-card{padding:18px}.detail-head h2{font-size:1.7rem}}


/* V1.0.6 - Populaire Cocktails + extra huislikeuren */
.recipe-panel-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:14px}
.recipe-panel-head h4{margin:0 0 5px;font-size:1.25rem}
.recipe-panel-head p{margin:0;color:var(--muted);max-width:720px}
.recipe-count{white-space:nowrap;background:var(--accent);color:#2c2100;border-radius:999px;padding:6px 10px;font-size:.8rem;font-weight:800}
.cocktail-list{display:grid;gap:12px}
.cocktail-card{border:1px solid var(--border);border-radius:15px;background:var(--surface);overflow:hidden}
.cocktail-card[open]{box-shadow:var(--shadow)}
.cocktail-card summary{list-style:none;display:flex;justify-content:space-between;gap:18px;align-items:center;padding:16px;cursor:pointer}
.cocktail-card summary::-webkit-details-marker{display:none}
.cocktail-card summary::after{content:'＋';font-size:1.2rem;font-weight:800;color:var(--accent-dark);flex:0 0 auto}
.cocktail-card[open] summary::after{content:'−'}
.cocktail-summary-main{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
.cocktail-summary-main strong{font-size:1.08rem}
.cocktail-summary-main span{color:var(--muted);font-size:.9rem}
.cocktail-summary-meta{display:flex;flex-direction:column;align-items:flex-end;gap:4px;flex:0 0 auto}
.rating-badge{background:#f4e5aa;color:#6f5300;border-radius:999px;padding:4px 8px;font-size:.78rem;font-weight:800}
.source-mini{color:var(--muted);font-size:.76rem}
.cocktail-body{border-top:1px solid var(--border);padding:16px}
.whiskey-choice{display:flex;gap:12px;align-items:flex-start;padding:12px 14px;border-radius:12px;background:color-mix(in srgb,var(--surface) 88%,var(--accent) 12%);margin-bottom:14px}
.whiskey-choice strong{min-width:108px}.whiskey-choice span{color:var(--muted)}
.cocktail-columns{display:grid;grid-template-columns:1fr 1.25fr;gap:18px}
.cocktail-columns h5{margin:0 0 8px;font-size:1rem}
.cocktail-columns ul,.cocktail-columns ol{margin:0;padding-left:20px}
.cocktail-columns li+li{margin-top:5px}
.source-link{display:inline-block;margin-top:14px;color:var(--accent-dark);font-weight:800;text-decoration:none}
.source-link:hover{text-decoration:underline}
body.dark .rating-badge{background:#5a4812;color:#ffe9a4}
@media(max-width:700px){
  .recipe-panel-head{display:block}.recipe-count{display:inline-block;margin-top:10px}
  .cocktail-card summary{align-items:flex-start;flex-wrap:wrap;gap:10px}
  .cocktail-summary-meta{align-items:flex-start;width:100%}
  .cocktail-columns{grid-template-columns:1fr}
  .whiskey-choice{display:block}.whiskey-choice strong{display:block;margin-bottom:4px}
}

.cocktail-ranking-source{margin:14px 2px 0!important;color:var(--muted)!important;font-size:.85rem}


/* Zelf likeur maken */
.liqueur-safety{margin:0 0 14px;padding:12px 14px;border-left:4px solid var(--accent);border-radius:10px;background:color-mix(in srgb,var(--surface) 88%,var(--accent) 12%);font-size:.9rem}
.liqueur-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:14px}
.liqueur-meta>div{padding:11px 12px;border:1px solid var(--border);border-radius:12px}
.liqueur-meta strong{display:block;font-size:.78rem;color:var(--muted);margin-bottom:3px}
.liqueur-meta span{font-weight:700}
@media(max-width:700px){.liqueur-meta{grid-template-columns:1fr}}


/* V1.0.10 - cocktailfavorieten */
.rating-favorite-row{display:flex;align-items:center;justify-content:flex-end;gap:8px}
.favorite-btn{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;border:1px solid var(--border);border-radius:50%;background:var(--surface);color:var(--muted);font-size:1.45rem;line-height:1;padding:0;transition:transform .15s ease,border-color .15s ease,background .15s ease,color .15s ease}
.favorite-btn:hover{transform:scale(1.08);border-color:#c84d5d;color:#c84d5d}
.favorite-btn.active{background:#fff0f2;border-color:#c84d5d;color:#c33148}
.favorite-category{display:inline-block;border:1px solid var(--border);border-radius:999px;padding:3px 8px;color:var(--muted);font-size:.73rem;font-weight:700}
.favorites-empty{padding:24px;text-align:center;border:1px dashed var(--border);border-radius:14px;color:var(--muted);background:var(--surface)}
body.dark .favorite-btn.active{background:#48232a;border-color:#d96b7a;color:#ff9dac}
@media(max-width:700px){.rating-favorite-row{width:100%;justify-content:space-between}.favorite-btn{width:40px;height:40px;flex-basis:40px}}

.knowledge-panel-head{margin-bottom:14px}.knowledge-panel-head h3{margin:0 0 8px}.knowledge-panel-head p{margin:0;color:var(--muted)}
.favorite-type-tiles{margin-top:12px}


/* V1.0.12 - whiskymerken op smaakprofiel */
.whiskey-source-note{padding:11px 13px;margin:0 0 14px;border-left:4px solid var(--accent);border-radius:10px;background:color-mix(in srgb,var(--surface) 90%,var(--accent) 10%);color:var(--muted);font-size:.86rem}
.whiskey-flavor-scale{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}
.flavor-tile{text-align:left;min-height:120px;padding:14px;border:1.5px solid var(--border);border-radius:14px;background:var(--surface);color:var(--text);display:grid;grid-template-columns:auto 1fr;gap:4px 9px;align-content:start;transition:.15s transform,.15s border-color,.15s background}
.flavor-tile:hover,.flavor-tile.active{transform:translateY(-1px);border-color:var(--accent);background:color-mix(in srgb,var(--surface) 92%,var(--accent) 8%)}
.flavor-tile .profile-step{grid-row:1 / span 3}.profile-step{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--accent);color:#2c2100;font-size:.74rem;font-weight:900}
.flavor-icon{font-size:1.2rem}.flavor-tile strong{font-size:.9rem;line-height:1.25}.flavor-tile small{color:var(--muted)}
.whiskey-brand-search{margin:14px 0}.whiskey-brand-search input{width:100%;padding:13px 14px;border:1.5px solid var(--border);border-radius:12px;background:var(--surface);color:var(--text);outline:none}.whiskey-brand-search input:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(214,165,28,.13)}
.whiskey-profile-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin:16px 0 12px}.whiskey-profile-head>div{flex:1}.whiskey-profile-head h4{margin:0 0 4px!important}.whiskey-profile-head p{margin:0!important;color:var(--muted)}.whiskey-profile-head .profile-step{float:left;margin:0 9px 12px 0}
.whiskey-brand-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.whiskey-brand-card{padding:14px;border:1px solid var(--border);border-radius:13px;background:var(--surface)}.whiskey-brand-top{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.whiskey-brand-card h5{margin:0 0 2px;font-size:1rem}.whiskey-brand-card span{font-size:.78rem;color:var(--muted)}.whiskey-brand-card p{margin:8px 0 0!important;color:var(--muted);font-size:.84rem}
.brand-favorite-btn{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;border:1px solid var(--border);border-radius:50%;background:var(--surface);color:var(--muted);font-size:1.25rem;padding:0}.brand-favorite-btn:hover{border-color:#c84d5d;color:#c84d5d}.brand-favorite-btn.active{background:#fff0f2;border-color:#c84d5d;color:#c33148}body.dark .brand-favorite-btn.active{background:#48232a;border-color:#d96b7a;color:#ff9dac}
@media(max-width:850px){.whiskey-flavor-scale,.whiskey-brand-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.whiskey-flavor-scale,.whiskey-brand-grid{grid-template-columns:1fr}.whiskey-profile-head{display:block}.whiskey-profile-head .recipe-count{display:inline-block;margin-top:8px}}

/* V1.0.13: specifieke whiskybottelingen */
.whiskey-bottle-card .whiskey-type{margin:.35rem 0 .45rem;font-weight:600}
.whiskey-bottle-card .whiskey-taste{margin:.25rem 0 .6rem;line-height:1.45}
.whiskey-bottle-card .whiskey-taste.muted{opacity:.65;font-style:italic}
.flavour-badge{display:inline-block;margin-top:.15rem;padding:.25rem .5rem;border-radius:999px;background:rgba(214,165,28,.12);font-size:.78rem;font-weight:700}


/* V1.0.14: bierbibliotheek */
.beer-style-scale .flavor-tile{min-height:112px}
.beer-bottle-card .flavour-badge{margin-top:.4rem}
@media(max-width:560px){.beer-style-scale{grid-template-columns:1fr}}
