.clg-sorting-wrapper {
    margin-bottom: 20px;
    }
    .clg-sorting-form {
    display: flex;
    align-items: center;
    gap: 16px;
    }
    .clg-sort-label {
    font-weight: 600;
    color: #222;
    font-size: 15px;
    }
    .clg-sort-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    font-family: "Poppins", Sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: #fff;
    border: 1px solid black;
    border-width: 1px 1px 1px 1px;
    border-radius: 36px 36px 36px 36px;
    padding: 20px 30px 20px 30px;
    min-width: 0; /* Usuwa sztywną szerokość */
    width: auto; /* Automatyczna szerokość */
    box-sizing: border-box;
    cursor: pointer;
    outline: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center; /* Strzałka bliżej prawej krawędzi */
    background-size: 16px;
    background-color: transparent !important;
    color: black !important;
    }
    .clg-sort-select:focus {
    outline: none;
    border-color: black;
    box-shadow: 0 0 0 2px rgba(17, 17, 17, 0.1);
    background-color: #222 !important;
    color: white !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    border-radius: 36px 36px 0px 0px !important;
    border-bottom: none !important;
    }
    .clg-sort-select:active {
    background-color: #222 !important;
    color: white !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    border-radius: 36px 36px 0px 0px !important;
    border-bottom: none !important;
    border-radius: 36px 36px 0px 0px;
    }
    .clg-sort-button {
    color: #fff;
    border: 1px solid black;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    padding: 8px 20px;
    cursor: pointer;
    outline: none;
    }
    .clg-sort-button:hover {
    border-color: black;
    }
    .clg-loading {
    text-align: center;
    padding: 20px;
    color: #666;
    font-style: italic;
    }
    @media (max-width: 768px) {
    .clg-sorting-form {
    flex-direction: column;
    align-items: stretch;
    }
    .clg-sort-select,
    .clg-sort-button {
    width: 100%;
    min-width: unset;
    }
    }
    .clg-sort-select:hover {
    background-color: #222 !important;
    color: white !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    }
    .clg-sort-select option {
    background-color: #222;
    color: white;
    padding: 10px 20px;
    border: none;
    }
    .clg-sort-select option:hover,
    .clg-sort-select option:checked {
    background-color: #333;
    color: white;
    }