/* Trilu.cz theme overrides */

/* Hamburger tlacitko - oranžová, bez fontello */
/* Styly platí vždy (barva, layout), ale display:flex jen na mobilech */
.mobile-nav {
    background: #f78c00 !important;
    border-color: #fff !important;
    color: #fff !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

@media only screen and (max-width: 1024px) {
    .mobile-nav {
        display: flex !important;
    }
}

/* Skryj fontello 'n' znak */
.mobile-nav:before {
    content: '' !important;
    font-family: inherit !important;
    display: none !important;
}

/* CSS hamburger - 3 linky */
.mobile-nav .hb-line {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
    transform-origin: center;
}

/* Stav "otevřeno" - křížek */
.mobile-nav.nav-open .hb-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mobile-nav.nav-open .hb-line:nth-child(2) {
    opacity: 0;
}
.mobile-nav.nav-open .hb-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav:hover { opacity: 0.85; }

/* Overlay pro zaviraci vrstvu mobilniho menu */
#mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 80px; /* jen pravý okraj, ne přes menu */
    z-index: 99998;
    background: transparent;
    pointer-events: none;
}
#mobile-nav-overlay.visible {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 14px;
}
#mobile-nav-close {
    width: 44px;
    height: 44px;
    background: rgba(0,0,0,0.55);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    user-select: none;
    flex-shrink: 0;
    pointer-events: all;
}
