/* Plovoucí tlačítko „Kontaktujte mě“ */
#contact-fab {
    position: fixed;
    right: 1.5em;
    bottom: 1.5em;
    z-index: 10000;
    display: inline-flex;
    align-items: center;
    gap: 0.6em;
    padding: 0 1.5em;
    height: 3.25em;
    line-height: 3.25em;
    border-radius: 3em;
    background-color: #F3EFED;
    color: #865823 !important;
    border-bottom: 0;
    font-size: 0.8em;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 0.4em 1.5em rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(1em);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, background-color 0.2s ease;
}

#contact-fab:hover {
    background-color: #ffffff;
}

#contact-fab.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#contact-fab:before {
    font-size: 1.2em;
    letter-spacing: 0;
}

/* Když je otevřená cookie lišta, tlačítko se nezobrazuje (překrývaly by se). */
#cookie-banner:not([hidden]) ~ #contact-fab {
    display: none;
}

@media screen and (max-width: 480px) {
    #contact-fab {
        right: 1em;
        bottom: 1em;
    }
}
