.ets_cookie_banber_block {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #fff;
    border: 1px solid #ccc;
    padding: 20px 30px 20px;
    z-index: 10000;
    border-radius: 0;
    max-width: calc(100vw - 40px);
    max-width: -webkit-calc(100vw - 40px);
    box-sizing: border-box;
    font-size: 1rem;
}

.ets_cookie_banber_block.left_bottom {
    left: 20px;
    bottom: 20px;
    right: auto;
}

.ets_cookie_banber_block.bottom {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    text-align: center;
    display: flex;
    display: -webkit-flex;
    justify-content: center;
    -webkit-justify-content: center;
    align-items: end;
    -webkit-align-items: end;
    padding: 20px 30px;
}

.ets_cookie_banner_content img {
    max-width: 100%;
    height: auto;
}

.ets_cookie_banner_content p {
    margin-bottom: 9px;
    font-size: 1rem;
}

.ets_cookie_banner_footer {
    text-align: center;
    padding-top: 10px;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    margin-top: 10px;
    gap: 12px;
}

.ets_cookie_banber_block.bottom .ets_cookie_banner_footer {
    text-align: center;
}

.ets_cookie_banber_block iframe {
    max-width: 100%;
}

span.close_cookie {
    width: 30px;
    height: 30px;
    position: absolute;
    cursor: pointer;
    right: 0;
    top: 0;
}
span.close_cookie:before,
span.close_cookie:after {
    content: "";
    width: 16px;
    height: 2px;
    background: #999;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -1px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}
span.close_cookie:before {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}
span.close_cookie:hover:before, span.close_cookie:hover:after {
    background: #555555;
}

.btn.btn-primary.full-left.ets-cb-btn-not-ok {
    margin-top: 0;
    background: #fff !important;
    color: #000 !important;
    border: 1px solid #ccc;
    text-transform: none;
    font-weight: normal;
    border-radius: 4px;
    padding: 10px 18px;
    font-size: 1rem;
}
.btn.btn-primary.full-left.ets-cb-btn-not-ok:hover {
    background: #24b9d7 !important;
    color: #fff !important;
    border-color: #24b9d7 !important;
}
a.btn.ets-cb-btn-ok, button.ets-cb-btn-ok {
    font-weight: normal;
    text-transform: none;
    border-radius: 3px;
    padding: 10px 18px;
    background: #2445a2;
    color: #fff;
    border: none;
    transition: background 0.2s;
    font-size: 1rem;
}
a.btn.ets-cb-btn-ok:hover, button.ets-cb-btn-ok:hover {
    background: #ff5722;
    color: #fff;
}

.ets_cookie_banner_content {
    line-height: 1.6;
}

/* --- MOBILE RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 600px) {
    .ets_cookie_banber_block,
    .ets_cookie_banber_block.bottom,
    .ets_cookie_banber_block.left_bottom {
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        border-radius: 0 !important;
        padding: 2px 1vw !important;
        box-sizing: border-box;
        min-height: unset;
        font-size: 0.93rem !important;
    }
    .ets_cookie_banner_content {
        font-size: 0.93rem !important;
        padding: 2px 2px;
        word-break: break-word;
    }


    .ets_cookie_banner_content p {
    /*margin-bottom: 9px;*/
    font-size: 10px;
    }
    
    .ets_cookie_banner_footer {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
    }
    .btn.btn-primary.full-left.ets-cb-btn-not-ok,
    a.btn.ets-cb-btn-ok, button.ets-cb-btn-ok {
        width: 100%;
        min-width: 0;
        font-size: 11px !important;
        padding: 5px 5px;
    }
    span.close_cookie {
        right: 8px;
        top: -8px;
        width: 36px;
        height: 36px;
    }
}
