/* public/navigation.css */

/* Grundstruktur für die App */
body {
    margin: 0;
    padding: 0;
    padding-bottom: 38px; /* FINAL REDUZIERT */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Haupt-Navigationsleiste am unteren Rand */
.main-navigation {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 38px; /* FINAL REDUZIERT */
    background-color: #1a1a1a;
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
}

.nav-item {
    height: 100%; /* NEU: Nimmt volle Höhe der Leiste ein */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 8px; /* Vertikales Padding entfernt */
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.nav-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-item svg {
    width: 22px;
    height: 22px;
    stroke: #a8a8a8;
    stroke-width: 2;
    fill: none;
}

.nav-item.active svg {
    fill: #007aff;
    stroke: #007aff;
}

.view-container { display: none; padding: 20px; width: 100%; min-height: 100vh; box-sizing: border-box; }
.view-container.active { display: block; }

/* Action-Bar */
.action-bar-container {
    position: fixed;
    bottom: 38px; /* Angepasst an neue Nav-Höhe */
    left: 0;
    right: 0;
    height: 38px; /* FINAL REDUZIERT */
    background-color: #1c1c1c;
    border-top: 1px solid #333;
    padding: 0 10px;
    z-index: 999;
    display: none;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: opacity 0.4s ease, visibility 0.4s;
    opacity: 1;
}

.action-bar-container:not(.visible) {
    opacity: 0;
    visibility: hidden;
}

.action-bar-container.visible {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.action-bar-button {
    height: 28px; /* Feste Höhe für den Button */
    background-color: transparent;
    border: 1.5px solid #a8a8a8;
    color: #a8a8a8;
    padding: 0 12px; /* Vertikales Padding entfernt */
    border-radius: 14px; /* Halbe Höhe für perfekte Rundung */
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex; /* NEU: Für interne Zentrierung */
    align-items: center; /* NEU: Für interne Zentrierung */
}

.action-bar-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.action-bar-button.active {
    border-color: #007aff;
    color: #007aff;
    background-color: transparent;
}

/* ... Restliche Stile ... */
#view-feed .grid-wrapper {
    #scroll-left-button, #scroll-right-button {
        display: none;
    }
}

#view-feed #product-grid-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    overflow-x: hidden;
    width: 100%;
}
