/* Cookie consent box (EM_Cookie_Consent). Colours come from the active theme through the plugin palette. */
.em-consent[hidden],.em-consent-reopen[hidden]{display:none!important}
.em-consent{position:fixed;left:20px;bottom:20px;z-index:100000;box-sizing:border-box;width:min(420px,calc(100vw - 40px));max-height:calc(100vh - 40px);overflow:auto;padding:20px 22px;background:#fff;color:var(--em-charcoal,#2f2a33);border:1px solid var(--em-line,#e6dfeb);border-radius:14px;box-shadow:0 18px 48px rgba(0,0,0,.2);font-size:14px;line-height:1.5;text-align:left}
.em-consent p{margin:0;color:inherit;font-size:inherit;line-height:inherit}
.em-consent .em-consent-title{margin:0 0 6px;font-weight:700;font-size:17px;line-height:1.3}
.em-consent a{color:inherit;font-weight:600;text-decoration:underline;text-underline-offset:2px}
.em-consent-actions{display:flex;gap:10px;margin-top:14px}
/* Both answers look the same on purpose. */
.em-consent button.em-consent-btn{flex:1 1 0;min-width:0;min-height:44px;margin:0;padding:10px 14px;border:1px solid var(--em-purple,#76528d);border-radius:8px;background:var(--em-purple,#76528d);color:#fff;font:inherit;font-weight:600;line-height:1.2;text-align:center;text-transform:none;letter-spacing:0;box-shadow:none;cursor:pointer;transition:background .15s ease,border-color .15s ease}
.em-consent button.em-consent-btn:hover{background:color-mix(in srgb,var(--em-purple,#76528d) 85%,#000);border-color:color-mix(in srgb,var(--em-purple,#76528d) 85%,#000);color:#fff}
.em-consent button.em-consent-btn:focus-visible,button.em-consent-reopen:focus-visible{outline:2px solid var(--em-charcoal,#2f2a33);outline-offset:2px}
button.em-consent-reopen{position:fixed;left:12px;bottom:12px;z-index:9990;margin:0;padding:5px 11px;min-height:0;border:1px solid var(--em-line,#e6dfeb);border-radius:999px;background:#fff;color:var(--em-charcoal,#2f2a33);font-family:inherit;font-size:12px;font-weight:500;line-height:1.4;text-transform:none;letter-spacing:0;box-shadow:0 2px 8px rgba(0,0,0,.12);cursor:pointer}
button.em-consent-reopen:hover{background:#fff;color:var(--em-charcoal,#2f2a33);border-color:var(--em-charcoal,#2f2a33)}
button.em-consent-reopen svg{display:none;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round}
button.em-consent-reopen svg circle{fill:currentColor;stroke:none}
@media(max-width:560px){.em-consent{left:12px;bottom:12px;width:calc(100vw - 24px);max-height:calc(100vh - 24px);padding:16px}}
/* Phones: a small faint icon rather than a labelled button, which takes up too much of a small screen. */
@media(max-width:760px){
 button.em-consent-reopen{display:flex;align-items:center;justify-content:center;left:8px;bottom:8px;width:30px;height:30px;padding:0;background:color-mix(in srgb,#fff 85%,transparent);box-shadow:none;opacity:.7}
 button.em-consent-reopen:hover,button.em-consent-reopen:focus-visible{opacity:1}
 button.em-consent-reopen svg{display:block}
 button.em-consent-reopen span{display:none}
}
@media print{.em-consent,.em-consent-reopen{display:none!important}}
/* Keep the Cookie settings button above the configurators' bottom summary bar. */
body.em-has-sumbar button.em-consent-reopen{bottom:calc(var(--em-sumbar-h,72px) + 12px)}
