main {
    width: 100%;
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
    align-items: center;
    padding: 20px;
    background: #273850; /* Niebieskie tło */
}





    
      
       


/* 🌟 Produkty rozciągają się do pełnej szerokości */
.produkty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-content: center;
    width: 100%;
    max-width: 1400px; 
    place-items: center;
}

/* 🌟 Pojedynczy produkt */
.produkt {
    width: 100%;
    max-width: 300px;
    background: #293d5a;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 2px 5px rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    color: black; /* Czarny tekst w kartach produktów */
    font-family: arial;
    text-decoration: none;
   
}
.produkt p {
   
   color: rgb(255, 255, 255);
   font-family: arial;

}

/* 🌟 Efekt hover */
.produkt:hover {
    transform: scale(1.05);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

/* 🌟 Obrazy produktów */
.produkt img {
    width: 100%;
    max-width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
}

/* 🌟 Zmiana koloru dostępności */
.dostepny {
    color: rgb(0, 232, 0) !important;
    font-weight: bold;
}

.niedostepny {
    color: red !important;
    font-weight: bold;
}

/* 🌟 Hiperłącza - bez podkreśleń i domyślnych stylów */
a {
    text-decoration: none;
    color: rgb(255, 255, 255);
}

a:hover {
    text-decoration: none;
}

/* 🌟 Przycisk "Dodaj do koszyka" */
.produkt button {
    background-color: #149825;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s ease-in-out;
    font-family: arial;
    font-weight: bold;
    margin-top: 5px;
}

.produkt button:hover {
    background-color: #1bc031;
}

#h1produkty{

    color: #ffffff;
    display: flex;
    font-weight: bold;
    font-family: bebas;
    text-transform: uppercase;
    font-size: 5vh;
    letter-spacing: 0.2em;
    justify-content: center;  /* Wyrównanie w osi X */
    align-items: center;  
    width: 100%;
    background-color: #253451;
    padding-top: 0.5%;
}

.nowosc-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #28a745; /* Zielone tło */
    color: white;
    font-size: 14px;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
}

.produkt {
    position: relative; /* Aby etykieta "NOWOŚĆ" była poprawnie umiejscowiona */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    border-radius: 8px;
    overflow: hidden;


}



.filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 5px;
    background: #f1f1f100;
    margin-bottom: 20px;
    
}


.filter-bar select, .filter-bar input {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ffffff;
    border-radius: 5px;
    font-family: arial;
    font-weight: bold;
    background-color: #ffffff;
    text-transform: uppercase;
}


.filter-bar input::placeholder {
    color: rgb(0, 0, 0);
    opacity: 1; /* Domyślnie placeholder ma przezroczystość, można ją ustawić na 1 */
}

/* Styl rozwiniętego menu */
select {
    background-color: #ffffff;
    border-style: none;
   
}

/* Styl opcji */
select option {
    
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    border-radius: 4px;
    border-style: none;
}