/* =====================================================================
   Cookie lišta (markup #cc_div / #cm / #c-inr / #c-ttl / #c-txt / #c-bns)
   Styl podle webu vinfest: černá + zlatá var(--primary), Cinzel v nadpisu.
   Soubor byl prázdný, proto lišta neměla žádný styl.
   ===================================================================== */

#cc_div {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    padding: 1rem;
    pointer-events: none;
}

#cc_div #cm {
    pointer-events: auto;
    max-width: 62rem;
    margin: 0 auto;
    background: #101010;
    color: #d8d8d8;
    border: 1px solid #ffffff1f;
    border-top: 2px solid var(--primary, #b49d5b);
    box-shadow: 0 -4px 30px #000000b3;
    padding: 1.5rem 1.75rem;
}

#cc_div #cm.slide {
    animation: cc-slide-up .45s ease-out both;
}

@keyframes cc-slide-up {
    from { transform: translateY(120%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

#cc_div #c-inr {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
}

#cc_div #c-inr-i {
    flex: 1 1 22rem;
    min-width: 0;
}

#cc_div #c-ttl {
    font-family: 'Cinzel', serif;
    font-size: 1.15rem;
    color: var(--primary, #b49d5b);
    margin-bottom: .5rem;
    display: flex;
    align-items: center;
    gap: .75rem;
}

#cc_div #c-ttl img {
    margin-right: 0 !important;
    flex: 0 0 auto;
}

#cc_div #c-txt {
    font-size: .9rem;
    line-height: 1.55;
    color: #aaa;
}

#cc_div #c-bns {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: .6rem;
    min-width: 11rem;
}

#cc_div .c-bn {
    display: block;
    width: 100%;
    font-family: inherit;
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    white-space: nowrap;
    padding: .5rem 1.25rem;
    border: 1px solid var(--primary, #b49d5b);
    border-radius: .25rem;
    cursor: pointer;
    transition: background-color .3s, color .3s, opacity .3s;
}

#cc_div #povolit {
    background-color: var(--primary, #b49d5b);
    color: #000;
}

#cc_div #povolit:hover {
    background-color: #c9b478;
}

#cc_div #nezbytne {
    background-color: transparent;
    color: var(--primary, #b49d5b);
}

#cc_div #nezbytne:hover {
    background-color: #b49d5b26;
}

#cc_div .c-bn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* #saver je jen cíl pro AJAX odpověď z cook.php – nesmí nic vykreslit */
#saver {
    display: none;
}

@media only screen and (max-width: 767px) {
    #cc_div {
        padding: 0;
    }

    #cc_div #cm {
        padding: 1.25rem 1rem;
        border-left: none;
        border-right: none;
        border-bottom: none;
    }

    #cc_div #c-inr {
        gap: 1rem;
    }

    #cc_div #c-bns {
        flex-direction: row;
        width: 100%;
        min-width: 0;
    }

    #cc_div #c-txt {
        font-size: .85rem;
    }
}
