.od24-cookie {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 10050;
    max-width: 380px;
    width: calc(100% - 40px);
    padding: 16px 18px 14px;
    border-radius: 14px;
    background: #fff;
    color: #353535;
    border: 1px solid rgba(28, 31, 33, 0.1);
    box-shadow: 0 12px 40px rgba(28, 31, 33, 0.14);
    font-size: 13px;
    line-height: 1.55;
    transform: translateY(110%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.od24-cookie::before {
    content: "";
    position: absolute;
    top: 0;
    left: 18px;
    right: 18px;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: rgb(229, 28, 68);
}

.od24-cookie--visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.od24-cookie__text {
    margin: 6px 0 14px;
}

.od24-cookie__text a {
    color: rgb(229, 28, 68);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.od24-cookie__text a:hover,
.od24-cookie__text a:focus {
    color: #1c1f21;
}

.od24-cookie__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: center;
}

.od24-cookie__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 20px;
    border: 2px solid rgb(229, 28, 68);
    border-radius: 999px;
    background: rgb(229, 28, 68);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease, border-color 0.12s ease;
}

.od24-cookie__btn:hover,
.od24-cookie__btn:focus {
    background: #c9183d;
    border-color: #c9183d;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(229, 28, 68, 0.28);
    outline: none;
}

.od24-cookie__link {
    background: none;
    border: none;
    padding: 0;
    color: #6b6b6b;
    font-size: 12px;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.od24-cookie__link:hover,
.od24-cookie__link:focus {
    color: #1c1f21;
    outline: none;
}

@media (max-width: 575px) {
    .od24-cookie {
        right: 12px;
        bottom: 12px;
        left: 12px;
        width: auto;
        max-width: none;
    }

    .od24-cookie__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .od24-cookie__btn {
        width: 100%;
    }

    .od24-cookie__link {
        text-align: center;
    }
}
