#products-container h2 a, #products-container h2 a:visited {
    font-size: 14px;
    overflow: hidden;
    white-space: normal;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
}

#products-container h2 a:hover {
    color: red;
}

#products-container .product img {
    vertical-align: top;
    display: block;
    width: 100%;
    height: auto;
    transition: 300ms ease-in-out;
}

.page-nav{ 
    padding: 8px 0 14px 0;
    font-size: 14px;
    text-align: center;}
	
.page-nav a{	
    background-color: green;
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    border-radius: 8px;
	text-decoration: none;
}

.page-nav a:hover{
	 background-color: orange;
}

.page-nav a:first-child{
	margin-right: 10px;
}

.products {
    display: flex;
    flex-wrap: wrap;
    padding: 10px 10px 16px 10px;
    box-sizing: border-box;
	width: 100%;
}

.cover-picture-mg {
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.cover-picture-mg img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease-in-out; /* Анимация увеличения */
}

.cover-picture-mg:hover img {
    transform: scale(1.1); /* Увеличение на 10% */
}

.product {
    width: calc(25% - 24px); 
    margin: 6px;
    border: 1px solid #5f5f5f;
    background-color: #333;
    padding: 5px;
	text-align: center;
}
.product[data-visible="false"] {
    display: none !important;
}
.product[data-visible="true"] {
    display: block !important;
}
}

@media (max-width: 1024px) {
    .product {
        width: calc(33.333% - 12px);
    }
}

@media (max-width: 768px) {
    .product {
        width: calc(50% - 12px); 
    }
}

@media (max-width: 480px) {
    .product {
        width: 100%; 
    }
}