/* Cristal Frios — Menu Digital v1.4.7 */

.cf-menu-dropdown {
    position: relative;
    flex-shrink: 0;
    z-index: 5;
}

.cf-menu-split {
    display: flex;
    align-items: stretch;
}

.cf-menu-split .menu-digital {
    border-radius: 8px 0 0 8px;
    animation: none;
}

.cf-menu-toggle {
    display: block!important;
    background: #f5cd3e;
    color: #252525;
    border: 0;
    border-left: 1px solid #bda12f;
    border-radius: 0 8px 8px 0;
    padding: 0 12px;
    cursor: pointer;
    font-size: 18px;
}

.cf-menu-options {
    position: absolute;
    right: 0;
    top: 100%;
    min-width: 230px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 8px 24px #0002;
    padding: 6px;
}

.cf-menu-options[hidden] {
    display: none!important;
}

.cf-menu-options a {
    display: block;
    padding: 10px;
    color: #005c79;
    text-decoration: none;
    border-radius: 5px;
}

.cf-menu-options a:hover,.cf-menu-options a:focus-visible {
    background: #f1faff;
}

.cf-menu-split {
    animation: cf-menu-nudge 5s infinite;
}

@keyframes cf-menu-nudge {
    0%,90%,100% {
        transform: translateX(0);
    }
    92%,96% {
        transform: translateX(-2px);
    }
    94%,98% {
        transform: translateX(2px);
    }
}

.cf-menu-dropdown:hover .cf-menu-split,.cf-menu-dropdown:focus-within .cf-menu-split {
    animation: none;
}

#cf-server-clock {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.cf-bx-channels {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0;
}

.cf-bx-panfleto {
    margin: 16px auto;
    text-align: center;
}

.cf-bx-panfleto img {
    display: block;
    max-width: min(100%,680px);
    height: auto;
    margin: auto;
    border-radius: 8px;
}

.cf-bx-panfleto figcaption {
    font-size: .85em;
    margin: 8px;
}

@media(max-width:760px) {
    .top {
        flex-wrap: wrap;
        gap: 4px;
    }
    #cf-server-clock {
        font-size: 11px;
    }
}

@media (max-width:900px) {
    header .nav .cf-menu-options {
        width: max-content;
        min-width: 220px;
        max-width: calc(100vw - 80px);
        padding: 6px;
    }
    header .nav .cf-menu-options a {
        white-space: nowrap;
        font-size: 14px;
        line-height: 1.4;
        padding: 12px 10px;
    }
}

@media (max-width:360px) {
    header .nav .cf-menu-options a {
        font-size: 13px;
        padding: 10px 8px;
    }
}

@media(prefers-reduced-motion:reduce) {
    .cf-menu-split {
        animation: none;
    }
}

/* Padronização dos botões de pedidos do Baxinho. */

.cf-bx-channels {
    align-items: stretch;
}

.cf-bx-channels > a.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    margin: 0;
    padding: 11px 19px;
    min-height: 44px;
    line-height: 1.4;
    font-size: 14px;
    text-align: center;
}

.cf-bx-panfleto a {
    display: block;
}

.cf-bx-panfleto a:focus-visible {
    outline: 2px solid #00789d;
    outline-offset: 4px;
}

@media (max-width: 480px) {
    .cf-bx-channels > a.button {
        flex: 1 1 100%;
    }
}
