.category-bar {
    margin-bottom: 0rem;
    overflow: hidden;
}

.category-item {
    text-align: center;
    flex: 0 0 auto; /* Verhindert, dass das Element schrumpft */
    transition: transform 0.2s;
    color: #898989;
}

.category-item:hover {
    transform: scale(1.10); /* Effekt beim Hover */
}

.category-scroll {
    display: flex;
    overflow-x: auto;
    padding: 1rem;
    gap: 2rem; /* Abstand zwischen den Kategorien */
}

.category-item img {
    width: 60px;
    height: auto;
    display: block;
    margin: 0 auto 0.5rem auto;
}

.category-item p {
    font-family: 'aktiv-grotesk-thin';
    font-size: 0.9rem;
    margin: 0;
    color: #898989;
    white-space: nowrap;
}

.category-item.active p {
    font-weight: 700;
}

/* PRODUKTE */

.product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem; /* Abstand zwischen den Kacheln */
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1200px; /* Maximale Breite des Grids */
}

.product-tile {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    flex: 1 1 calc(33.333% - 1rem); /* Drei Kacheln pro Reihe */
    box-sizing: border-box;
    transition: transform 0.2s;
}

.product-tile:hover {
    transform: translateY(-10px); /* Effekt beim Hover */
}

.product-image img {
    width: 100%;
    height: auto;
    display: block;
}

.product-info {
    padding: 1rem;
    text-align: center;
}

.product-info h3 {
    font-size: 1.25rem;
    font-weight: 300;
    margin: 0.5rem 0;
    color: #898989!important;
}

.product-info p {
    font-size: 1rem;
    color: #555;
}

.search-container {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.search-container form {
    align-items: center;
}

.gruppen-search {
    width: 80%;
    padding: 15px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px 0 0 5px;
    transition: all 0.3s ease;
}

.gruppen-search:focus {
    outline: none;
    border-color: #0073e6;
    box-shadow: 0 0 10px rgba(0, 115, 230, 0.5);
    transform: scale(1.05);
}

.gruppen-search-button {
    padding: 15px 20px;
    font-size: 16px;
    background-color: darkgray;
    color: white;
    border: 1px solid darkgray;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-left: -10px;
    right: 0px;
    position: absolute;
}

.gruppen-search-button:hover {
    background-color: black;
}


@media (max-width: 768px) {
    .product-tile {
        flex: 1 1 calc(50% - 1rem); /* Zwei Kacheln pro Reihe auf kleinen Bildschirmen */
    }
}

@media (min-width: 1024px) {
    .product-tile {
        max-width: 33%;
    }
}

@media (max-width: 480px) {
    .product-tile {
        flex: 1 1 100%; /* Eine Kachel pro Reihe auf sehr kleinen Bildschirmen */
    }
}