#bukotec-cookie-banner[hidden],
.bukotec-cookie-footer [hidden],
.bukotec-map-consent [hidden] {
    display: none;
}

#bukotec-cookie-banner {
    position: fixed;
    inset: auto 1rem 1rem 1rem;
    bottom: max(1rem, env(safe-area-inset-bottom));
    left: max(1rem, env(safe-area-inset-left));
    right: max(1rem, env(safe-area-inset-right));
    z-index: 9998;
    box-sizing: border-box;
    max-width: 25rem;
    color: #362d27;
    background: #fffdf9;
    border: 1px solid #795549;
    border-radius: .2rem;
    box-shadow: 0 3px 20px #0002;
    font: 16px/1.45 system-ui, sans-serif;
    max-height: 65vh;
    overflow: auto;
}

.bukotec-cookie-inner {
    display: grid;
    gap: .75rem;
    padding: .8rem 1rem;
}

#bukotec-cookie-title {
    margin: 0;
    font-size: 1.1rem;
}

.bukotec-cookie-inner p,
.bukotec-map-consent p {
    margin: .25rem 0;
}

.bukotec-cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
}

.bukotec-cookie-button {
    background: #fff;
    color: #362d27;
    border: 1px solid #795549;
    border-radius: .2rem;
    padding: .55rem .85rem;
    min-height: 44px;
    font: 600 .95rem/1.35 system-ui, sans-serif;
    cursor: pointer;
}

.bukotec-cookie-button:hover {
    background: #f3ede9;
}

.bukotec-cookie-button:focus-visible,
.bukotec-cookie-footer :focus-visible {
    outline: 2px solid #722c19;
    outline-offset: 3px;
}

.bukotec-cookie-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: .5rem 1.2rem;
    padding: .5rem 1rem;
    color: #362d27;
    background: #f3ede9;
    font: 15px/1.4 system-ui, sans-serif;
}

.bukotec-cookie-footer button {
    background: none;
    border: 0;
    color: inherit;
    text-decoration: underline;
    padding: .35rem;
    font: inherit;
    cursor: pointer;
}

.bukotec-cookie-footer a,
.bukotec-cookie-inner a,
.bukotec-map-consent a {
    color: #722c19;
    text-decoration: underline;
}

.bukotec-map-consent {
    display: grid;
    min-height: 18rem;
    height: 100%;
    background: #f3ede9;
    color: #362d27;
}

.bukotec-map-placeholder {
    align-self: center;
    text-align: center;
    padding: 1.25rem;
}

.bukotec-map-consent iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 18rem;
    border: 0;
}

@media (max-width: 22rem) {
    .bukotec-cookie-actions button {
        flex: 1 1 100%;
    }
}
