
#ht-cookie-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 99999;
    max-width: 1100px;
    margin: auto;
    padding: 22px 26px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-top: 4px solid #c62828;
    border-radius: 14px;
    box-shadow: 0 12px 45px rgba(0,0,0,.2);
    font-family: "Open Sans", sans-serif;
    transform: translateY(calc(100% + 60px));
    opacity: 0;
    visibility: hidden;
    transition: transform .4s ease, opacity .4s ease,
                visibility .4s ease;
}

#ht-cookie-banner.ht-visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.ht-cookie-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.ht-cookie-content {
    flex: 1;
}

.ht-cookie-content h3 {
    font-size: 19px;
    font-weight: 700;
    color: #253547;
    margin: 0 0 8px;
}

.ht-cookie-content p {
    font-size: 14px;
    color: #475569;
    line-height: 1.65;
    margin: 0;
}

.ht-cookie-content a {
    color: #c62828;
    text-decoration: underline;
}

.ht-cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.ht-cookie-btn {
    border: 1px solid #c62828;
    border-radius: 7px;
    padding: 12px 18px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease;
}

.ht-cookie-btn-necessary {
    color: #c62828;
    background: white;
}

.ht-cookie-btn-necessary:hover {
    background: #fff1f2;
}

.ht-cookie-btn-all {
    color: white;
    background: #c62828;
}

.ht-cookie-btn-all:hover {
    background: #a91f24;
}

@media(max-width: 767px) {
    #ht-cookie-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 20px;
    }

    .ht-cookie-layout {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
    }

    .ht-cookie-actions {
        flex-direction: column;
    }

    .ht-cookie-btn {
        width: 100%;
    }
}

@media(prefers-reduced-motion: reduce) {
    #ht-cookie-banner {
        transition: none;
    }
}
