.zimnie-cookie-notice {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 900;
    width: 380px;
    max-width: calc(100vw - 40px);
    color: #1a1b1f;
    font-family: 'Onest', 'Manrope', -apple-system, 'Segoe UI', system-ui, sans-serif;
}

.zimnie-cookie-notice,
.zimnie-cookie-notice * {
    box-sizing: border-box;
}

.zimnie-cookie-notice[hidden] {
    display: none !important;
}

.zimnie-cookie-notice__in {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: calc(100vh - 40px);
    max-height: calc(100dvh - 40px);
    overflow: auto;
    padding: 20px;
    border: 1px solid #e6eaee;
    border-radius: 0 20px 0 20px;
    background: #fff;
    box-shadow: 0 24px 64px -20px rgba(20, 24, 40, .36);
}

.zimnie-cookie-notice__in::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: #2017e0;
}

.zimnie-cookie-notice.is-visible .zimnie-cookie-notice__in {
    animation: zimnieCookieIn .46s cubic-bezier(.22, 1.1, .3, 1) both;
}

@keyframes zimnieCookieIn {
    from {
        opacity: 0;
        transform: translateX(-24px) translateY(12px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.zimnie-cookie-notice__top {
    display: flex;
    align-items: center;
    gap: 14px;
}

.zimnie-cookie-notice__cookie {
    background-image: url("/local/templates/zimnie/images/zimnie-cookie-notice.9ed65d9842a1.png");
    display: block;
    width: 64px;
    height: 64px;
    flex: none;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    filter: drop-shadow(0 6px 14px rgba(120, 72, 20, .26));
    animation: zimnieCookieBob 5s ease-in-out .6s infinite;
}

@keyframes zimnieCookieBob {
    0%, 100% {
        transform: translateY(0) rotate(0);
    }
    50% {
        transform: translateY(-5px) rotate(-5deg);
    }
}

.zimnie-cookie-notice__h {
    font-size: 15.5px;
    font-weight: 700;
    letter-spacing: -.015em;
    line-height: 1.3;
}

.zimnie-cookie-notice .zimnie-cookie-notice__t {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.55;
    color: #6f7682;
    text-wrap: pretty;
}

.zimnie-cookie-notice__t a {
    color: #2017e0;
    text-decoration: none;
    border-bottom: 1px solid rgba(32, 23, 224, .35);
    transition: border-color .15s;
}

.zimnie-cookie-notice__t a:hover {
    border-bottom-color: #2017e0;
}

.zimnie-cookie-notice__btns {
    display: flex;
    margin-top: 2px;
}

.zimnie-cookie-notice__ok {
    flex: 1;
    height: 46px;
    padding: 0 24px;
    border: 0;
    border-radius: 14px;
    background: #2017e0;
    color: #fff;
    font: 700 14px/1 'Onest', 'Manrope', -apple-system, 'Segoe UI', system-ui, sans-serif;
    cursor: pointer;
    white-space: nowrap;
    transition: background .15s, transform .12s, box-shadow .15s;
}

.zimnie-cookie-notice__ok:hover {
    background: #1810bf;
    box-shadow: 0 10px 24px -10px rgba(32, 23, 224, .6);
}

.zimnie-cookie-notice__ok:active {
    transform: scale(.97);
}

.zimnie-cookie-notice__ok:focus-visible,
.zimnie-cookie-notice__t a:focus-visible {
    outline: 2px solid #2017e0;
    outline-offset: 3px;
}

@media (max-width: 700px) {
    .zimnie-cookie-notice {
        left: 10px;
        right: 10px;
        bottom: calc(73px + env(safe-area-inset-bottom, 0px));
        width: auto;
        max-width: none;
    }

    .zimnie-cookie-notice__in {
        border-radius: 0 16px 0 16px;
        padding: 16px;
        gap: 12px;
        max-height: calc(100vh - 20px);
        max-height: calc(100dvh - 20px - env(safe-area-inset-bottom, 0px));
    }

    .zimnie-cookie-notice__cookie {
        width: 54px;
        height: 54px;
    }

    .zimnie-cookie-notice__h {
        font-size: 14.5px;
    }

    .zimnie-cookie-notice .zimnie-cookie-notice__t {
        font-size: 12px;
    }

    .zimnie-cookie-notice__ok {
        width: 100%;
        height: 48px;
        padding: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .zimnie-cookie-notice.is-visible .zimnie-cookie-notice__in,
    .zimnie-cookie-notice__cookie {
        animation: none;
    }
}

@media print {
    .zimnie-cookie-notice {
        display: none !important;
    }
}
