label {
    font-size: 14px;
    font-weight: 500;
}
  
p {
    font-size: 16px;
    font-weight: 600;
}

h4 {
    font-size: 18px;
    font-weight: 500;
    color: #000;
    margin-bottom: 20px;
    text-align: center;
}

.form-group {
    display: flex;
    justify-content: center;
}

.card {
    width: 400px;
    background-color: #fff;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0px 9px 20px 0px rgba(14, 88, 48, 0.1);
}
  
.price-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 10px;
}
  

  
.range-slider {
    /* width: 400px; */
    position: relative;
    margin: 15px 0 30px 0;
}
  
.range-fill {
    height: 6px;
    background-color: #36b37e;
    position: absolute;
    z-index: 1;
    border-radius: 10px;
}
  
input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
    position: absolute;
    left: 0;
}
  
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    background: #36b37e;
    cursor: pointer;
    margin-top: -5px;
    position: relative;
    z-index: 1;
}
  
input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 5px;
    background: #e8e8e8;
    border-radius: 3px;
    border: none;
}
  





.main_categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.main_categories li{
    display: inline;
    list-style-type: none;
}
.main_categories a{
    display: inline-block;
    color: #fff;
    font-size: large;
}






.col {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.product-card {
    border: 1px solid #c3c3c3;
    border-radius: 6px;
    padding: 20px;
    margin: 12px 12px;
    width: 280px; /* Фиксированная ширина, может быть адаптирована */
    background-color: #eaeaea;
    transition: all 0.10s ease;
}
.product-card:hover {
    box-shadow: 8px 9px 20px -2px rgba(66, 68, 90, 1);
    transition: all 0.15s ease;
}

.product-image {
    width: 100%;
    max-height: 220px; 
    min-height: 140px;
    object-fit: cover; /* Обрезка изображения, чтобы оно подходило по размеру */
    border-radius: 6px;
    /* background-color: #a1a1a1; /* Фоновый цвет для замещения */
    margin-bottom: 15px;
}
.product-title {
    font-size: 20px;
    margin-bottom: 5px;
}
.product-price {
    color: #333;
    font-weight: bold;
    margin-bottom: 15px;
}
.product-categories ul {
    list-style-type: none; /* Убрать стандартные буллеты */
    padding: 0;
    margin: 0;
    font-size: 14px;
    color: #666;
}
.product-categories li {
    display: inline; /* Отобразить элементы списка в одну строку */
    margin-right: 10px; /* Добавить отступ справа */
}
.category-tag {
    display: inline-block;
    padding: 0.2em 0.6em;
    margin-bottom: 0.4em;
    background-color: #5094cf; /* Серый фон, как на примере */
    color: rgb(255, 255, 255);
    font-size: 0.8em;
    border-radius: 5px; /* Скругленные углы */
    text-decoration: none; /* Убрать подчеркивание */
    transition: background-color 0.3s; /* Плавное изменение цвета при наведении */
}
.category-tag:hover {
    text-decoration: none;
    color: white;
    background-color: #7db8e9; /* Немного темнее при наведении */
}
.btn-detail {
    background-color: #28a745;
    border-color: #28a745;
    color: white;
    text-decoration: none;
}
.btn-detail:hover {
    color: white;
    text-decoration: none;
    background-color: #35cc58;
}





.paginator {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}
.pagination {
    display: flex;
    list-style: none;
    padding: 0;
}
.pagination li a {
    border: 1px solid #ddd;
    padding: 5px 10px;
    margin: 0 5px;
    border-radius: 15px; /* Для круглой формы */
    transition: background-color 0.3s;
}
.pagination li:first-child a,
.pagination li:last-child a {
    border-radius: 5px; /* Для стрелки "Следующая" делаем углы скругленными, а не круглыми */
}
.pagination li.active a,
.pagination li a:hover {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}
.pagination li a:focus {
    outline: none;
    box-shadow: none;
}
.pagination .dots {
    padding: 5px 10px;
    margin: 0 5px;
}
.pagination li a {
    cursor: pointer;
    text-decoration: none; /* Убираем подчеркивание текста */
}



.sorting {
    display: flex;
    align-items: baseline;
    margin-bottom: 3px;
}
  
.sorting label {
    margin-right: 15px;
    line-height: 32px;
}
  
.sorting input {
    appearance: none;
  
    border-radius: 50%;
    width: 15px;
    height: 15px;
  
    border: 2px solid #999;
    transition: 0.2s all linear;
    margin-right: 4px;
  
    position: relative;
    top: 4px;
}
  
.sorting input:checked {
    border: 6px solid rgb(31, 94, 255);
}
  
.sorting button, legend {
    color: white;
    background-color: rgb(31, 94, 255);
    padding: 5px 10px;
    border-radius: 0;
    border: 0;
    font-size: 14px;
}
  
.sorting button:hover, button:focus {
    color: #999;
}
  
.sorting button:active {
    background-color: white;
    color: rgb(31, 94, 255);
    outline: 1px solid rgb(31, 94, 255);
}