.products h1 {
  font-family: "Public Sans", sans-serif;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 2px;
  font-size: 1.5rem;
  font-weight: 500;
  text-align: center;
  padding: 0 20px 0 20px;
}
.products h2 {
  font-family: "Public Sans", sans-serif;
  color: #eec300;
  letter-spacing: 2px;
  font-size: 1.8rem;
  font-weight: 600;
  padding: 20px 0;
  text-align: center;
}
.product-page {
  display: flex;
  align-items: flex-start;
}
.product-container {
  display: flex;
  flex-direction: column;
  width: 100vw;
}
.filters-button-block {
    display: none;
}
.filters-button-block p {
    font-family: "Public Sans", sans-serif;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    font-weight: 500;
    padding: 0 10px 0 20px;
}
.filters-modal {
    display: none;
}
.filters-open-img {
    width: 40px;
    height: 40px;
    cursor: pointer;
    border: 1px solid #eec300;
    border-radius: 2px;
}
.nofilters-img {
        width: 40px;
    height: 40px;
    cursor: pointer;
}
/* Модальное окно */
.filters-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: none;
    justify-content: center;
    align-items: flex-start;
    padding-top: 40px;
    z-index: 9999;

}
.filters-modal-content {
    background: rgba(51, 51, 51, 0.8);
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 20px 20px 0 20px;
    border-radius: 2px;
    position: relative;
    border: none;
    border: 1px solid #eec300;
    border-radius: 2px;
}
.filters-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 35px;
    cursor: pointer;
    color: #eec300;
}
.filters-bm-no,
.filters-bm-yes {
    width: 45px;
    height: 45px;
    border: 1px solid #eec300;
    border-radius: 2px;
    background: rgba(51, 51, 51, 0.8);
    cursor: pointer;
}
.filters-bm-no:hover,
.filters-bm-yes:hover {
    background: #eec300;
}
.filters-bm-no img,
.filters-bm-yes img {
    width: 40px;
}
.filters-buttons-modal {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 10px 0;
     position: sticky;
    bottom: 0;
    z-index: 10;
}
.products-wrapper {
    width: 100%;
    margin: auto;
    padding: 0 20px 40px 20px;
}
.products-wrapper-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px; 
    align-content: start;
}
/*ПАГИНАЦИЯ*/
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin: 25px 0;
}
.pagination {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.page-btn {
    padding: 8px 14px;
    border: 1px solid #eec300;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    border-radius: 2px;
    font-size: 1rem;
    transition: all 0.2s ease;
}
.page-btn:hover {
    background: #eec300;
}
.page-btn.active {
    background: #eec300;
    color: rgba(255, 255, 255, 0.8);
}


@media (max-width: 1300px) {
    .products-wrapper-grid {
        grid-template-columns: repeat(3, 1fr);
    }
} 
@media (max-width: 1000px) {
    .product-page {
        flex-direction: column;
    }
    .filters-desktop {
        display: none;
    }
    .filters-button-block {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .sorting-wrapper {
        display: flex;
        justify-content: end;
        align-items: center;
        padding: 0 20px 20px 20px;
    }
    .custom-select__current {
        height: 40px;
    }
    .filters-open-img:hover {
        background: #eec300;
    }
    .catalog-filters {
        padding: 0 60px 0 20px;
    }
    .filters-content-scroll {
        overflow-y: auto;
    }
}   
@media (max-width: 800px) { 
        .products-wrapper-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 500px) { 
    .sorting-wrapper {
        justify-content: space-between;
    }
    .products-wrapper {
        padding: 0 10px 30px 10px;
    }
    .products-wrapper-grid {
        gap: 10px;
    }
    .filters-modal-content {
    padding: 20px 20px 0 0;
    }
    .catalog-filters {
        padding: 0 30px 0 20px;
    }
}
@media (max-width: 400px) {
    .filters-button-block p {
        display: none;
    }
} 