.product-filter-bar {
    background: #ffffff;
    border: 2px solid #e0f4f3;
    border-radius: 15px;
    padding: 25px 30px;
    margin-bottom: 35px;
    box-shadow: 0 4px 20px rgba(42, 177, 173, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
    transition: all 0.3s ease;
}

.product-filter-bar:hover {
    box-shadow: 0 6px 25px rgba(42, 177, 173, 0.15);
    border-color: #c7e8e7;
    transform: translateY(-1px);
}

.filter-left {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.filter-button {
    background: linear-gradient(135deg, #4B6386 0%, #6c7b95 100%);
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(75, 99, 134, 0.2);
}

.filter-button:hover {
    background: linear-gradient(135deg, #3a5070 0%, #5a6a82 100%);
    box-shadow: 0 4px 15px rgba(75, 99, 134, 0.3);
}

.sale-filter {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    padding: 8px 15px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.sale-filter:hover {
    background: #e9ecef;
    border-color: #ced4da;
}

.sale-filter input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    cursor: pointer;
    accent-color: #4B6386;
}

.sale-filter label {
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #495057;
    margin: 0;
}

.category-filter {
    margin-left: 0;
}

.category-filter select {
    padding: 12px 20px;
    border: 2px solid #e0f4f3;
    border-radius: 10px;
    background-color: #ffffff;
    color: #2c5e5c;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    min-width: 200px;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%232ab1ad' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 15px center;
    background-repeat: no-repeat;
    background-size: 18px;
    padding-right: 45px;
    box-shadow: 0 2px 6px rgba(42, 177, 173, 0.1);
    letter-spacing: 0.3px;
}

.category-filter select:focus {
    outline: none;
    border-color: #2ab1ad;
    background-color: #f8fffe;
    box-shadow: 0 0 0 4px rgba(42, 177, 173, 0.2);
}

.category-filter select:hover {
    border-color: #2ab1ad;
    background-color: #f8fffe;
    box-shadow: 0 4px 12px rgba(42, 177, 173, 0.15);
    transform: translateY(-1px);
}

.filter-right {
    display: flex;
    align-items: center;
}

.sorting-dropdown {
    padding: 10px 15px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    background-color: #ffffff;
    color: #495057;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    min-width: 220px;
    transition: all 0.3s ease;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 10px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
    appearance: none;
}

.sorting-dropdown:focus {
    outline: none;
    border-color: #4B6386;
    box-shadow: 0 0 0 3px rgba(75, 99, 134, 0.1);
}

.sorting-dropdown:hover {
    border-color: #adb5bd;
    background-color: #f8f9fa;
}

.promo-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.promo-pagination-nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination-container {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(42, 177, 173, 0.15);
    border: 2px solid #e0f4f3;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 10px;
    font-size: 15px;
    font-weight: 700;
    color: #64748b;
    background-color: #f8fffe;
    border: 2px solid #e0f4f3;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    letter-spacing: 0.5px;
}

.pagination-btn:hover {
    background: #2ab1ad;
    color: #000000;
    border-color: #2ab1ad;
    box-shadow: 0 6px 15px rgba(42, 177, 173, 0.3);
    text-decoration: none;
}

.pagination-btn.active {
    background: #2ab1ad;
    color: #ffffff;
    border-color: #2ab1ad;
    box-shadow: 0 4px 12px #2ab1ad66;
    transform: translateY(-1px);
}

.pagination-btn.disabled {
    color: #cbd5e1;
    background-color: #f1f5f9;
    border-color: #e2e8f0;
    cursor: not-allowed;
    opacity: 0.6;
}

.pagination-btn.disabled:hover {
    background-color: #f1f5f9;
    color: #cbd5e1;
    border-color: #e2e8f0;
    transform: none;
    box-shadow: none;
}

.modern-filter-button {
    background: linear-gradient(135deg, #2ab1ad 0%, #1e8b87 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 3px 10px rgba(42, 177, 173, 0.3);
    letter-spacing: 0.5px;
}

.modern-filter-button:hover {
    background: linear-gradient(135deg, #1e8b87 0%, #166b68 100%);
    box-shadow: 0 6px 20px rgba(42, 177, 173, 0.4);
}

.modern-filter-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(42, 177, 173, 0.3);
}

.modern-sale-filter {
    display: flex;
    align-items: center;
    background: #f8fffe;
    padding: 12px 20px;
    border-radius: 10px;
    border: 2px solid #e0f4f3;
    transition: all 0.3s ease;
}

.modern-sale-filter:hover {
    background: #f0fcfb;
    border-color: #2ab1ad;
    box-shadow: 0 2px 8px rgba(42, 177, 173, 0.1);
}

.modern-checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #2c5e5c;
    user-select: none;
    gap: 12px;
    letter-spacing: 0.3px;
}

.modern-checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.modern-checkmark {
    height: 22px;
    width: 22px;
    background-color: #fff;
    border: 2px solid #c7e8e7;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.modern-checkbox-container:hover .modern-checkmark {
    border-color: #2ab1ad;
    background-color: #f0fcfb;
    transform: scale(1.05);
}

.modern-checkbox-container input:checked~.modern-checkmark {
    background: linear-gradient(135deg, #2ab1ad 0%, #1e8b87 100%);
    border-color: #2ab1ad;
    box-shadow: 0 2px 8px rgba(42, 177, 173, 0.3);
}

.modern-checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 7px;
    top: 3px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.modern-checkbox-container input:checked~.modern-checkmark:after {
    display: block;
}

.modern-dropdown,
.modern-sort-dropdown {
    padding: 12px 20px;
    border: 2px solid #e0f4f3;
    border-radius: 10px;
    background-color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    color: #2c5e5c;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 220px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%232ab1ad' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 15px center;
    background-repeat: no-repeat;
    background-size: 18px;
    padding-right: 45px;
    box-shadow: 0 2px 6px rgba(42, 177, 173, 0.1);
    letter-spacing: 0.3px;
}

.modern-dropdown:hover,
.modern-sort-dropdown:hover {
    border-color: #2ab1ad;
    background-color: #f8fffe;
    box-shadow: 0 4px 12px rgba(42, 177, 173, 0.15);
    transform: translateY(-1px);
}

.modern-dropdown:focus,
.modern-sort-dropdown:focus {
    outline: none;
    border-color: #2ab1ad;
    background-color: #f8fffe;
    box-shadow: 0 0 0 4px rgba(42, 177, 173, 0.2);
}

.promo-pagination {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e9ecef;
}

.promo-pagination-nav {
    display: flex;
    justify-content: center;
}

.pagination-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 8px 12px;
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    color: #495057;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.pagination-btn:hover {
    background: #4B6386;
    color: white;
    border-color: #4B6386;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(75, 99, 134, 0.2);
}

.pagination-btn.active {
    background: #2ab1ad;
    color: white;
    border-color: #2ab1ad;
    box-shadow: 0 4px 12px rgba(75, 99, 134, 0.3);
}

.pagination-btn.disabled {
    background: #f8f9fa;
    color: #adb5bd;
    border-color: #e9ecef;
    cursor: not-allowed;
    opacity: 0.6;
}

.pagination-btn.disabled:hover {
    background: #f8f9fa;
    color: #adb5bd;
    border-color: #e9ecef;
    transform: none;
    box-shadow: none;
}


.modern-filter-button:focus,
.modern-sort-dropdown:focus,
.modern-dropdown:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(42, 177, 173, 0.25);
}

.category-filter {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.modern-filter-button:active,
.modern-sort-dropdown:active,
.modern-dropdown:active {
    transform: translateY(1px);
    box-shadow: 0 2px 6px rgba(42, 177, 173, 0.2);
}

.filter-form {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.filter-button:focus,
.sale-filter input:focus,
.category-filter select:focus,
.sorting-dropdown:focus,
.pagination-btn:focus,
.modern-filter-button:focus,
.modern-checkbox-container input:focus+.modern-checkmark,
.modern-dropdown:focus,
.modern-sort-dropdown:focus {
    outline: 2px solid #2ab1ad;
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .product-filter-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        padding: 20px;
    }

    .filter-left {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .filter-button,
    .modern-filter-button {
        justify-content: center;
        width: 100%;
        padding: 14px 20px;
    }

    .sale-filter,
    .modern-sale-filter {
        justify-content: center;
        width: 100%;
    }

    .category-filter {
        margin-left: 0;
    }

    .category-filter select,
    .modern-dropdown {
        width: 100%;
        min-width: auto;
    }

    .sorting-dropdown,
    .modern-sort-dropdown {
        width: 100%;
        min-width: auto;
    }

    .pagination-container {
        gap: 4px;
        flex-wrap: wrap;
        padding: 8px;
    }

    .pagination-btn {
        min-width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .product-filter-bar {
        padding: 12px;
    }

    .modern-filter-button {
        padding: 10px 16px;
        font-size: 13px;
    }

    .modern-checkbox-container {
        font-size: 13px;
    }

    .modern-dropdown,
    .modern-sort-dropdown {
        padding: 10px 14px;
        font-size: 13px;
    }

    .pagination-btn {
        min-width: 32px;
        height: 32px;
        font-size: 12px;
        padding: 4px 8px;
    }

    .pagination-container .pagination-btn:not(.active):not(:first-child):not(:last-child):not(:nth-child(2)):not(:nth-last-child(2)) {
        display: none;
    }
}

.filter-button,
.sale-filter,
.sorting-dropdown,
.pagination-btn,
.modern-filter-button,
.modern-sale-filter,
.modern-dropdown,
.modern-sort-dropdown {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.category-filter {
    transition: all 0.3s ease;
    overflow: hidden;
}

.category-filter[style*="block"] {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }

    to {
        opacity: 1;
        max-height: 100px;
    }
}

.filter-button:focus,
.sale-filter input:focus,
.category-filter select:focus,
.sorting-dropdown:focus,
.pagination-btn:focus,
.modern-filter-button:focus,
.modern-checkbox-container input:focus+.modern-checkmark,
.modern-dropdown:focus,
.modern-sort-dropdown:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}