/* Cookie popup "C2 definitief" (owner 2026-11-27), template Mirasvit_GdprCookie/templates/cookie_bar.phtml, script
   /web/js/rdk-ui.js. Desktop: centred 520px dialog over a dark blurred overlay. Under 768px: a card at the bottom
   with 12px margins. On the cookie policy pages (.is-docked): no overlay, the card docks bottom right. Everything is
   scoped to #redableCookieBar so the theme's button/h2/p/input rules cannot leak in. */
#redableCookieBar{position:fixed;inset:0;z-index:2147483647;font-family:Lato,"Helvetica Neue",Arial,sans-serif;font-size:14px;line-height:20px;color:#1f274a;-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%}
#redableCookieBar *,#redableCookieBar *::before,#redableCookieBar *::after{box-sizing:border-box}
#redableCookieBar .rdck-ov{position:absolute;inset:0;background:rgba(17,22,58,.56);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
#redableCookieBar .rdck-pos{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:24px}
#redableCookieBar .rdck-m{position:relative;width:520px;max-width:100%;max-height:100%;overflow-y:auto;overscroll-behavior:contain;background:#fff;border-radius:18px;box-shadow:0 24px 64px rgba(10,14,40,.35);padding:32px;color:#1f274a;text-align:left}
#redableCookieBar .rdck-v[hidden]{display:none}
#redableCookieBar .rdck-i{display:block;flex:none}
/* first view */
#redableCookieBar .rdck-hd{display:flex;flex-direction:column;align-items:flex-start}
#redableCookieBar .rdck-tile{display:flex;align-items:center;justify-content:center;flex:none;width:56px;height:56px;border-radius:14px;background:#e3f6f1}
#redableCookieBar .rdck-tile svg{display:block}
#redableCookieBar .rdck-ttl{margin:16px 0 0;padding:0;font-family:Bitter,Georgia,serif;font-size:26px;line-height:32px;font-weight:600;letter-spacing:-.4px;color:#1f274a;text-transform:none;outline:0}
#redableCookieBar .rdck-txt{margin:8px 0 0;padding:0;font-size:14px;line-height:21px;font-weight:400;color:#4b5168}
#redableCookieBar .rdck-txt a,#redableCookieBar .rdck-pol a{color:#1f274a;font-weight:700;text-decoration:underline;text-underline-offset:2px;text-decoration-thickness:1px}
#redableCookieBar .rdck-txt a:hover,#redableCookieBar .rdck-pol a:hover{color:#1f274a;text-decoration-thickness:2px}
/* buttons: 44 / radius 8 / gap 8 (owner scale) */
#redableCookieBar .rdck-b2,#redableCookieBar .rdck-b11{display:grid;gap:8px;margin:24px 0 0}
#redableCookieBar .rdck-b2{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}
#redableCookieBar .rdck-b11{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
#redableCookieBar .rdck-btn{display:flex;align-items:center;justify-content:center;width:100%;height:44px;min-height:0;margin:0;padding:0 12px;border:1px solid #1f274a;border-radius:8px;background:#1f274a;color:#fff;font-family:inherit;font-size:15px;line-height:20px;font-weight:700;letter-spacing:0;text-transform:none;white-space:nowrap;cursor:pointer;box-shadow:none;opacity:1;pointer-events:auto;transition:background-color .15s,border-color .15s;-webkit-appearance:none;appearance:none}
#redableCookieBar .rdck-btn:hover{background:#2c3768;border-color:#2c3768;color:#fff}
#redableCookieBar .rdck-btn:active{background:#151b36;border-color:#151b36}
#redableCookieBar .rdck-btn.is-out{background:#fff;color:#1f274a;border-color:#1f274a}
#redableCookieBar .rdck-btn.is-out:hover{background:#f1f2f5}
#redableCookieBar .rdck-btn.is-out:active{background:#e6e8ee}
#redableCookieBar.is-busy .rdck-btn{cursor:progress}
#redableCookieBar :focus-visible{outline:2px solid #1f274a;outline-offset:2px}
#redableCookieBar .rdck-ttl:focus-visible{outline:0}
/* preferences */
#redableCookieBar .rdck-back{display:inline-flex;align-items:center;gap:6px;height:32px;margin:0;padding:0 8px 0 4px;border:0;border-radius:8px;background:none;box-shadow:none;font-family:inherit;font-size:14px;line-height:20px;font-weight:700;color:#1f274a;cursor:pointer;opacity:1}
#redableCookieBar .rdck-back:hover{background:#f1f2f5}
#redableCookieBar [data-rdck-view="prefs"] .rdck-ttl{margin-top:8px}
#redableCookieBar .rdck-intro{margin-top:4px}
#redableCookieBar .rdck-rows{margin:16px 0 0;border-top:1px solid #eceef2;border-bottom:1px solid #eceef2}
#redableCookieBar .rdck-row{display:grid;grid-template-columns:36px minmax(0,1fr) auto;column-gap:16px;align-items:start;padding:16px 0;border-top:1px solid #eceef2}
#redableCookieBar .rdck-row:first-child{border-top:0}
#redableCookieBar .rdck-gt{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:8px;background:#f1f2f5;color:#1f274a}
#redableCookieBar .rdck-gt svg{display:block}
#redableCookieBar .rdck-t{padding-top:8px;min-width:0}
#redableCookieBar .rdck-t label{display:block;margin:0;padding:0;font-size:14px;line-height:20px;font-weight:700;color:#1f274a;cursor:pointer}
#redableCookieBar .rdck-row[data-type="essential"] .rdck-t label{cursor:default}
#redableCookieBar .rdck-ctl{display:flex;justify-content:flex-end;align-items:center;padding-top:5px}
#redableCookieBar .rdck-d{grid-column:2 / 4;margin-top:-6px;min-width:0}
#redableCookieBar .rdck-d small{display:block;font-size:13px;line-height:18px;font-weight:400;color:#6e6e73}
#redableCookieBar .rdck-more{display:flex;width:max-content;align-items:center;gap:4px;height:auto;margin:8px 0 0;padding:0;border:0;border-radius:4px;background:none;box-shadow:none;font-family:inherit;font-size:13px;line-height:18px;font-weight:700;color:#1f274a;cursor:pointer;opacity:1}
#redableCookieBar .rdck-more .rdck-i{color:#6e6e73;transition:transform .15s}
#redableCookieBar .rdck-more[aria-expanded="true"] .rdck-i{transform:rotate(180deg)}
#redableCookieBar .rdck-more:hover{text-decoration:underline;text-underline-offset:2px}
#redableCookieBar .rdck-list{display:flex;flex-wrap:wrap;gap:4px;margin:8px 0 0;padding:0;list-style:none}
#redableCookieBar .rdck-list[hidden]{display:none}
#redableCookieBar .rdck-list li{margin:0;padding:0}
#redableCookieBar .rdck-list code{display:block;padding:1px 6px;border-radius:4px;background:#f6f7fa;font-family:ui-monospace,Menlo,Consolas,monospace;font-size:12px;line-height:18px;color:#1f274a;white-space:nowrap}
/* switch: a real checkbox */
#redableCookieBar input.rdck-sw{position:relative;display:block;flex:none;width:44px;height:26px;margin:0;padding:0;border:0;border-radius:13px;background:#c9cdd8;cursor:pointer;-webkit-appearance:none;appearance:none;transition:background-color .15s;box-shadow:none;opacity:1;clip:auto}
#redableCookieBar input.rdck-sw::before{content:"";position:absolute;left:3px;top:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(17,22,58,.25);transition:left .15s}
#redableCookieBar input.rdck-sw::after{content:none;display:none}
#redableCookieBar input.rdck-sw:checked{background:#1f274a}
#redableCookieBar input.rdck-sw:checked::before{left:21px}
#redableCookieBar input.rdck-sw:hover{background:#b6bbc9}
#redableCookieBar input.rdck-sw:checked:hover{background:#2c3768}
#redableCookieBar input.rdck-req{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0);opacity:0}
#redableCookieBar .rdck-pill{display:inline-flex;align-items:center;gap:4px;height:26px;padding:0 10px;border-radius:13px;background:#e3f6f1;color:#0b6e5a;font-size:12px;line-height:16px;font-weight:700;white-space:nowrap}
#redableCookieBar .rdck-pol{margin:16px 0 0;padding:0;text-align:center;font-size:13px;line-height:18px;color:#6e6e73}
/* docked on the cookie policy pages: no overlay, the page stays readable */
#redableCookieBar.is-docked{inset:auto 24px 24px auto;width:520px;max-width:calc(100% - 48px)}
#redableCookieBar.is-docked .rdck-ov{display:none}
#redableCookieBar.is-docked .rdck-pos{position:static;display:block;padding:0}
#redableCookieBar.is-docked .rdck-m{max-height:calc(100vh - 48px);box-shadow:0 16px 48px rgba(17,22,58,.28),0 0 0 1px rgba(17,22,58,.06)}
html.rdck-lock,html.rdck-lock body{overflow:hidden!important}
/* phone: a card at the bottom, 12px from the edges; the chat bubble stays hidden while it is open */
@media (max-width:767px){
#redableCookieBar .rdck-pos{align-items:flex-end;padding:12px}
#redableCookieBar .rdck-m{width:100%;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);padding:24px 16px 16px}
#redableCookieBar .rdck-hd{flex-direction:row;align-items:center;gap:16px}
#redableCookieBar .rdck-hd .rdck-ttl{margin:0;font-size:22px;line-height:28px}
#redableCookieBar [data-rdck-view="first"] .rdck-txt{margin-top:16px}
#redableCookieBar [data-rdck-view="prefs"] .rdck-ttl{font-size:22px;line-height:28px}
#redableCookieBar .rdck-btn{padding:0 8px}
#redableCookieBar .rdck-row{column-gap:12px}
#redableCookieBar.is-docked{inset:auto 12px 12px 12px;width:auto;max-width:none}
#redableCookieBar.is-docked .rdck-m{max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px)}
html.rdck-open #chat-widget-trigger,html.rdck-open .chat-widget-login-tip,html.rdck-open .chat-widget-badge{display:none!important}
}
@media (prefers-reduced-motion:reduce){#redableCookieBar *{transition:none!important}}
