/* Cookie choice: a calm bottom sheet, never a wall. Weigeren and Accepteren share one style (.ep-cb-btn).
   Colours come from the theme tokens (--ep-*), with fallbacks so the plugin also works on its own. */
.ep-cb { position: fixed; z-index: 92; left: 50%; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); width: min(720px, calc(100% - 24px)); max-height: min(80vh, 680px); overflow: auto; overscroll-behavior: contain; padding: 20px 22px 0; background: var(--ep-surface, #fff); color: var(--ep-text, #13291f); border: 1.5px solid var(--ep-border, #d3ddd0); border-radius: 20px; box-shadow: 0 16px 48px rgb(19 41 31 / .22); font-family: var(--ep-font, system-ui, sans-serif); opacity: 0; transform: translate(-50%, 16px); transition: opacity .25s ease-out, transform .3s ease-out; }
.ep-cb.is-in { opacity: 1; transform: translate(-50%, 0); }
.ep-cb:focus, .ep-cb:focus-visible { outline: none; }
.ep-cb h2 { margin: 0; font-family: var(--ep-font-display, inherit); font-size: 1.35rem; line-height: 1.15; }
.ep-cb-text { margin: 6px 0 0; font-size: .9375rem; line-height: 1.5; color: var(--ep-text-2, #354c40); }
.ep-cb-text a { white-space: nowrap; color: inherit; }
.ep-cb-actions { position: sticky; bottom: 0; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 4px; padding: 12px 0 18px; background: var(--ep-surface, #fff); }
.ep-cb-btn { flex: 0 1 170px; min-width: 0; min-height: 46px; padding: .6em 1.1em; font: 700 1rem/1 var(--ep-font, system-ui, sans-serif); color: var(--ep-bg-ink-contrast, #fff); background: var(--ep-ink, #13291f); border: 1.5px solid var(--ep-ink, #13291f); border-radius: 12px; cursor: pointer; }
.ep-cb-btn:hover { background: var(--ep-ink-2, #1f3d2f); }
.ep-cb-btn:focus-visible, .ep-cb-more:focus-visible { outline: 3px solid var(--ep-focus, #0a6660); outline-offset: 3px; }
.ep-cb-more { min-height: 44px; padding: 0 6px; background: none; border: 0; font: 600 1rem/1 var(--ep-font, system-ui, sans-serif); color: var(--ep-text, #13291f); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ep-cb-panel { margin-top: 14px; border-top: 1px solid var(--ep-border, #d3ddd0); }
.ep-cb-cats { list-style: none; margin: 0; padding: 0; }
.ep-cb-cat { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--ep-border, #d3ddd0); }
.ep-cb-cat-title { font-weight: 700; }
.ep-cb-cat-desc { margin: 2px 0 0; font-size: .875rem; line-height: 1.45; color: var(--ep-muted, #56615c); }
.ep-cb-tag { display: inline-block; padding: 0 8px; border-radius: 999px; background: var(--ep-surface-2, #ebf0e4); font-size: .875rem; font-weight: 600; line-height: 1.6; color: var(--ep-text-2, #354c40); white-space: nowrap; }
.ep-cb-switch { position: relative; flex: none; width: 48px; height: 28px; margin-top: 2px; }
.ep-cb-switch input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.ep-cb-switch span { position: absolute; inset: 0; border: 2px solid #8a978f; border-radius: 999px; background: #fff; }
.ep-cb-switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #8a978f; transition: transform .2s ease-out; }
.ep-cb-switch input:checked + span { background: var(--ep-accent-soft, #dff2ef); border-color: var(--ep-ink, #13291f); }
.ep-cb-switch input:checked + span::after { transform: translateX(20px); background: var(--ep-ink, #13291f); }
.ep-cb-switch input:disabled { cursor: not-allowed; }
.ep-cb-switch input:disabled + span { opacity: .55; }
.ep-cb-switch input:focus-visible + span { outline: 3px solid var(--ep-focus, #0a6660); outline-offset: 3px; }
@media (max-width: 600px) {
	.ep-cb { left: 0; right: 0; bottom: 0; width: 100%; max-height: 80vh; padding: 16px 16px 0; border-width: 1.5px 0 0; border-radius: 20px 20px 0 0; transform: translateY(16px); box-shadow: 0 -10px 40px rgb(19 41 31 / .18); }
	.ep-cb.is-in { transform: none; }
	.ep-cb h2 { font-size: 1.2rem; }
	.ep-cb-actions { gap: 8px 10px; padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
	.ep-cb-btn { flex: 1 1 40%; }
	.ep-cb-more { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.ep-cb, .ep-cb.is-in { transition: none; }
	.ep-cb-switch span::after { transition: none; }
}
