.bottom-wrapper {
    display: none;
}

/* MOBIL NÉZET */
@media (max-width: 768px) {

    .bottom-wrapper {
        display: block;
        position: fixed;
        bottom: 10px;
        left: 10px;
        right: 10px;
        z-index: 9999;

        /* ❌ KIVETTEM a fix height-et */
    }

    /* 🔥 FELSŐ KAPSZULA */
    .top-tabs {
        display: flex;
        position: relative;
        background: #f2f2f2;
        border-radius: 20px;
        padding: 4px;
        overflow: hidden;
        margin-bottom: 8px;

        box-shadow: 
            0 6px 15px rgba(0,0,0,0.12),
            inset 0 1px 2px rgba(255,255,255,0.6);
    }

    .top-tabs::after {
        content: "";
        position: absolute;
        left: 20%;
        right: 20%;
        bottom: -5px;
        height: 8px;
        border-radius: 50px;

        background: radial-gradient(
            ellipse at center,
            rgba(0,0,0,0.2) 0%,
            rgba(0,0,0,0.05) 60%,
            transparent 100%
        );

        filter: blur(5px);
    }

    .tab-slider {
        position: absolute;
        top: 4px;
        left: 4px;
        height: calc(100% - 8px);
        width: calc((100% - 8px) / 3);

        border-radius: 16px;

        background: linear-gradient(135deg, #1fa5a3, #1cc7c5);

        transition: transform 0.3s ease;

        box-shadow: 
            0 3px 8px rgba(31,165,163,0.3),
            inset 0 1px 2px rgba(255,255,255,0.3);

        z-index: 1;
    }

    .tab {
        flex: 1;
        text-align: center;
        font-size: 12px;
        padding: 5px 0;
        z-index: 2;
        color: #666;
        transition: 0.2s;
    }

    .tab.active {
        color: white;
        font-weight: 600;
    }

    .tab:active {
        transform: scale(0.95);
    }

    /* 🔻 ALSÓ KAPSZULA */
    .bottom-nav {
        display: flex;
        justify-content: space-between;
        align-items: center;

        background: #f2f2f2;
        border-radius: 30px;
        padding: 10px 0;

        box-shadow: 
            0 8px 25px rgba(0,0,0,0.18),
            inset 0 2px 3px rgba(255,255,255,0.5);

        overflow: hidden;
        position: relative;
    }

    .bottom-nav::after {
        content: "";
        position: absolute;
        left: 10%;
        right: 10%;
        bottom: -8px;
        height: 18px;
        border-radius: 50px;

        background: radial-gradient(
            ellipse at center,
            rgba(0,0,0,0.35) 0%,
            rgba(0,0,0,0.15) 50%,
            transparent 100%
        );

        filter: blur(8px);
    }

    .nav-item {
        flex: 1;
        text-align: center;
        font-size: 12px;
        color: #555;
        text-decoration: none;
        position: relative;
        padding: 5px 0;
    }

    .nav-item:not(:last-child)::after {
        content: "";
        position: absolute;
        right: 0;
        top: 20%;
        height: 60%;
        width: 1px;
        background: rgba(0,0,0,0.1);
    }

    .nav-item .icon {
        display: block;
        font-size: 20px;
        margin-bottom: 3px;
    }

    .nav-item.active {
        color: #00a8a8;
    }

    .nav-item .badge {
        position: absolute;
        top: -4px;
        right: 8px;
        background: orange;
        color: #000;
        font-size: 10px;
        padding: 2px 6px;
        border-radius: 50%;
        font-weight: bold;
    }

    /* 🔥 EZ A LÉNYEG (FIX PROBLÉMA) */
    #wrapper {
        padding-bottom: calc(var(--top-menu-h, 60px) + var(--bottom-menu-h, 80px) + 20px);
    }

}