.adamo-cookie-notice-dismissed .adamo-cookie-notice, .adamo-cookie-notice[hidden] { display: none !important; }
.adamo-cookie-notice, .adamo-cookie-notice * { box-sizing: border-box; letter-spacing: 0; }
.adamo-cookie-notice {
    position: fixed; left: 16px; bottom: 16px; z-index: 99990;
    display: flex; align-items: center; gap: 14px;
    width: min(570px, calc(100% - 130px)); padding: 12px 14px;
    color: #000; background: #fff; border: 1px solid #000;
    box-shadow: 0 8px 30px rgba(0,0,0,.12); font-family: inherit;
}
.adamo-cookie-notice p { margin: 0; font-size: 13px; line-height: 1.45; color: #000; }
.adamo-cookie-notice a { color: #000; text-decoration: underline; text-underline-offset: 2px; }
.adamo-cookie-notice button {
    flex: none; min-height: 40px; margin: 0; padding: 9px 14px;
    appearance: none; border: 1px solid #000; border-radius: 0;
    background: #000; color: #fff; font: inherit; font-size: 13px;
    line-height: 1.3; cursor: pointer;
}
.adamo-cookie-notice a:focus-visible, .adamo-cookie-notice button:focus-visible { outline: 2px solid #9a7d52; outline-offset: 3px; }
@media (max-width: 767px) {
    .adamo-cookie-notice {
        position: fixed; top: auto;
        left: max(8px, env(safe-area-inset-left, 0px));
        right: max(8px, env(safe-area-inset-right, 0px));
        bottom: calc(8px + env(safe-area-inset-bottom, 0px) + var(--adamo-cookie-toolbar-height, 0px));
        z-index: 99990; width: auto; margin: 0; padding: 10px; gap: 10px; box-shadow: none;
    }
    html.adamo-cookie-notice-mobile-visible { scroll-padding-bottom: var(--adamo-cookie-notice-clearance, 0px); }
    html.adamo-cookie-notice-mobile-visible .__jivoMobileButton { bottom: var(--adamo-cookie-mobile-chat-bottom, var(--adamo-cookie-notice-clearance, 0px)) !important; }
    .adamo-cookie-notice button { padding: 9px 10px; }
}

/* Only lift the existing bottom chat label when it intersects the visible notice. */
html.adamo-cookie-notice-raise-chat-label #jvLabelWrap { bottom: var(--adamo-cookie-label-bottom, var(--adamo-cookie-notice-clearance, 0px)) !important; }
html.adamo-cookie-notice-raise-callback #jCallbackButton { bottom: var(--adamo-cookie-callback-bottom, 100px) !important; }

.adamo-quiz-open :is(jdiv[id^="jivo"], [id^="jivo-iframe-container"], jdiv#jivochat) { visibility: hidden !important; }
