.listpage-wrapper {
    max-width: 1164px;
    margin: auto;
    font-family: 'Roboto', sans-serif;
    padding: 20px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.page-title {
    font-size: 30px;
    font-weight: 700;
}

.sort-by-dropdown {
    width: 204px;
    height: 48px;
    padding: 0 14px;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #000;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 20 20"><polygon points="5,7 15,7 10,12" fill="black"/></svg>');
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 20px 20px;
    box-sizing: border-box;
}

.sort-by-dropdown option {
    padding: 0 10px;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
}

.content-container {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.filters {
    width: 230px;
    flex-shrink: 0;
}

.filter-category {
    margin-bottom: 50px;
}

.filter-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
}

.filter-list {
    list-style-type: none;
    padding: 0;
    width: 230px;
}

.filter-list li {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 4px;
}

.filter-list input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    vertical-align: middle;
}

.filter-list label {
    vertical-align: middle;
}

.page-link {
    text-decoration: none;
    color: #005180;
}

.page-dots {
    padding: 0 5px;
}

.title-and-filter {
    display: flex;
    align-items: center;
}

.title-and-filter a {
    color: #005180;
}

.page-title {
    margin-right: 20px;
}

.header.with-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.filter-btn {
    display: none;
    padding: 8px 20px;
    font-size: 14px;
    cursor: pointer;
    background-color: #f1f1f1;
    border: 1px solid #ddd;
}

@media (max-width: 768px) {
    .filters {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.9);
        padding: 20px;
    }

    .filters-bottom-actions {
        position: absolute;
        top: 10px;
        right: 60px;
        z-index: 20;
    }
}

.special-offer {
    flex: 1 1 0;
    min-width: 0;
}

button.filter-reset-btn {
    padding: 10px 18px;
    background: var(--primary-light-gray-color);
    border: 1px solid #ccc;
    color: white;
    font-size: 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button.filter-done-btn {
    padding: 10px 18px;
    background: var(--primary-blue-color);
    color: #fff;
    font-size: 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.filter-button-show {
    display: inline;
}

@media (max-width: 768px) {
    .title-and-filter {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        gap: 12px;
    }

    .page-title {
        font-size: 20px;
        margin: 0;
        white-space: nowrap;
    }

    .filter-controls {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-shrink: 0;
    }

    .toggle-filters {
        white-space: nowrap;
        font-size: 14px;
        margin-right: 20px;
    }

    .filter-controls button {
        font-size: 14px;
        padding: 4px 10px;
        white-space: nowrap;
    }

    .sort-by-dropdown {
        font-size: 14px;
    }

    .filter-button-show {
        display: none;
    }
}