#filtrowanieDanychZamow {
    width: 70%;
    margin: 10px auto 0 auto;

    display: flex;
    flex-direction: column;
    align-items: center;
}

#product-filter-form {
    width: 75%;
    padding: 30px;
    border-radius: 20px;

    background: linear-gradient(135deg, #ecd7be, #f5e6d3);
    backdrop-filter: blur(10px);

    box-shadow:
            0 10px 30px rgba(116, 0, 0, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.4);

    display: flex;
    flex-direction: column;
    gap: 20px;

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#product-filter-form:hover {
    transform: translateY(-2px);
    box-shadow:
            0 20px 40px rgba(116, 0, 0, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.filters-row input[type="text"],
.filters-row select {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(116, 0, 0, 0.2);

    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(5px);

    font-size: 14px;
    transition: all 0.25s ease;
}

#filtrowanieDanychZamow input:focus,
#filtrowanieDanychZamow select:focus {
    outline: none;
    border-color: #740000;
    box-shadow: 0 0 0 3px rgba(116, 0, 0, 0.1);
    background: rgba(116, 0, 0, 0.1);
}

.filters-row {
    display: flex;
    gap: 15px;
    align-items: center;
    width: 100%;
}

.filters-row input[type="text"] {
    flex: 2;
    min-width: 0;
}

.filters-row select {
    flex: 1;
    min-width: 0;
}

.reset-filters-button {
    flex: 0 0 auto;
    white-space: nowrap;
    align-self: stretch;
}

.price-filter-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

label[for="price_range"] {
    font-size: 16px;
    font-weight: 600;
    color: #740000;
    font-family: 'Oswald', sans-serif;
}

.price-wrapper {
    position: relative;
    width: 100%;
    height: 60px;
}

#price_range {
    margin-top: 25px;
}

.noUi-target {
    background: #f3e2cf;
    border-radius: 20px;
    border: none;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.1);
}

.noUi-horizontal .noUi-connect {
    background: #740000 !important;
}

.noUi-handle {
    border-radius: 50%;
    background: white;
    border: 3px solid #740000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.noUi-handle:hover {
    transform: scale(1.15);
}

#min-cena-value,
#max-cena-value {
    position: absolute;
    top: -10px;

    background: linear-gradient(135deg, #740000, #b30000);
    color: white;

    padding: 6px 10px;
    border-radius: 8px;

    font-size: 13px;
    font-weight: 600;

    box-shadow: 0 5px 15px rgba(0,0,0,0.2);

    transform: translateX(-50%);
    pointer-events: none;
    white-space: nowrap;
}

.reset-filters-button {
    background: linear-gradient(135deg, #740000, #a00000);
    color: white;

    border: none;
    border-radius: 12px;

    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    box-shadow: 0 5px 15px rgba(116, 0, 0, 0.3);

    transition: all 0.25s ease;
}

.reset-filters-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(116, 0, 0, 0.4);
}

.add-product-button {
    width: 75%;
    margin: 15px auto 0 auto;

    display: flex;
    gap: 15px;
    justify-content: center;
}

.addbutton,
.quick-cart-button {
    flex: 1;
    text-align: center;

    padding: 12px 18px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    color: white;

    transition: all 0.25s ease;
}

.addbutton {
    background: linear-gradient(135deg, #740000, #b30000);
    box-shadow: 0 5px 15px rgba(116,0,0,0.3);
}

.addbutton:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(116,0,0,0.4);
}

.quick-cart-button {
    background: linear-gradient(135deg, #ecd7be, #d6bfa3);
    color: #740000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.quick-cart-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

@media (max-width: 1200px) {
    #product-filter-form {
        width: 90%;
    }
}

@media screen and (max-width: 768px) {
    #product-filter-form {
        width: 95%;
        padding: 20px;
    }

    .filters-row {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .filters-row input[type="text"],
    .filters-row select {
        width: 100%;
        flex: none;
        box-sizing: border-box;
    }

    .reset-filters-button {
        width: 100%;
        flex: none;
        align-self: stretch;
        box-sizing: border-box;
    }

    .price-filter-container {
        flex-direction: column;
        align-items: flex-start;
    }
}