.produkty {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 1rem;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

#lewy{
    background-color: white;;
    padding: 1rem 2.5rem;
    border-radius: 12px;
}

#lewy h1{
    color: #1F2232;
    font-weight: 600;
    text-transform: uppercase;
    font-family: "Instrument Sans";
}

.filtr{
    color: #1F2232;
    font-weight: 600;
    text-transform: uppercase;
    font-family: system-ui;
    padding-left: 10px;
}

.filtr label{
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem .2rem;
}

#rodzaj label:hover, #ocena label:hover{
    background-color: rgb(248, 248, 248);
    color: rgb(65, 72, 122);
    cursor: pointer;
    border-radius: 4px;
}

.filtr label input[type=checkbox]{
    height: 18px;
    width: 18px;
    accent-color: #1F2232;
}

input[type="checkbox"]:checked {
    background-color: #eb2525; 
}

#ocena span{
    color: #E0A000;
}

#oddo{
    justify-content: center;
}

#cena input[type=number]{
    width: 20%;
    padding: .5rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    transition: all 0.2s ease;
    outline: none;
    text-align: center;
}

#prawy{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.belka{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 2rem;
    background-color: white;;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    box-sizing: border-box;
}

.sortowanie {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sortowanie span{
    text-wrap: nowrap;
    color: #1F2232;
    font-weight: 600;
    text-transform: uppercase;
    font-family: system-ui;
}

#sort {
    padding: 6px 14px 6px 6px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

#sort:focus {
    outline: none;
    border-color: #9ca3af;
}

#o_sort{
    color: rgb(100, 100, 100);
    width: 30px;
    padding: 4px;
    transition: .1s ease-in-out;
}

#o_sort:hover{
    background-color: rgb(248, 248, 248);
    color: rgb(65, 72, 122);
    cursor: pointer;
    border-radius: 4px;
}

.r_sort{
    transform: rotate(180deg);
}

.wyszukiwarka{
    position: relative;
}

#search {
    padding: 0.6rem 1rem 0.6rem 2.5rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    transition: all 0.2s ease;
    outline: none;
}

#search:focus {
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
}

#brak{
    margin-top: .8rem;
    color: #1F2232;
    font-weight: 600;
    text-transform: uppercase;
    font-family: system-ui;
}

.ikona-szukaj {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    pointer-events: none;
    transition: color 0.2s ease;
}

#produkty{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.klatka{
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    gap: 3rem;
    background-color: white;;
    padding: 1rem 2rem;
    border-radius: 12px;
    height: 200px;
}

.klatka:hover{
    cursor: pointer;
}

.klatka .dodaj{
    border: transparent 2px solid;
    background-color: #dfdfdf;
    transition: .1s ease-in-out;
    padding: 10px 25px;
    color: white;
    border-radius: 12px;
}

.klatka .dodaj:hover{
    border: #0e7700 2px solid;
    background-color: #3BB03B;
    cursor: pointer;
    
}

.klatka-lewy {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.klatka-lewy img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.klatka-srodek h2{
    font-family: 'Kaushan Script';
    color: #1f243f;
    margin: 0;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.klatka-srodek .k_opis, .ocena{
    color: rgb(100, 100, 100);
}

.ocena{
    margin-top: .5rem;
}

.ocena span{
    color: #E0A000 !important;
}

.klatka-prawy .cena{
    color: #1a224e;
    font-size: 20px;
    font-family: 'Lobster', cursive;
}

@media (max-width: 1000px) {
    .produkty {
        grid-template-columns: 1fr;
    }
}