.filter-image,
.filter-name {
    display: block;
}

body {
    font-family: 'Brygada 1918 SemiBold', serif;
    font-size: 18px;
    line-height: 1.6;
    background: #fff;
    color: #000;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 17%;
}

.header {
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
    background: #fff;
    position: relative;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-placeholder {
    width: 100px;
}

.logo {
    font-family: 'Cormorant', serif;
    font-weight: 300;
    font-size: 35px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-decoration: none;
    color: #000;
}

.nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    font-family: 'Brygada 1918 SemiBold', serif;
    font-size: 18px;
    text-decoration: none;
    color: #000;
    padding: 8px 0;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    text-decoration: underline;
}

.nav-links a.active {
    text-decoration: underline;
}

.nav-links a:active {
    color: #666;
}

.catalog-title {
    font-size: 20px;
    text-align: left;
    margin: 60px 0 40px 0;
    padding-left: 17%;
    font-family: 'Brygada 1918 SemiBold', serif;
}

.filters {
    padding: 40px 0;
    border-bottom: 1px solid #e0e0e0;
}

.filter-buttons {
    display: grid;
    grid-template-columns: repeat(4, auto);
    justify-content: center;
    gap: 60px;
}

.category-filter {
    display: none;
}

.filter-label {
    text-align: center;
    text-decoration: none;
    color: #000;
    cursor: pointer;
    display: block;
}

.filter-label:hover .filter-name {
    text-decoration: underline;
}

.filter-image {
    width: 150px;
    height: 150px;
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    margin: 0 auto 15px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.filter-novinki {
    background-image: url('../images/filters/novinki.png');
}

.filter-kuhnya {
    background-image: url('../images/filters/kuhnya.png');
}

.filter-stolovaya {
    background-image: url('../images/filters/stolovaya.png');
}

.filter-skidki {
    background-image: url('../images/filters/skidki.png');
}

.filter-name {
    font-family: 'Brygada 1918 SemiBold', serif;
    font-size: 18px;
    transition: text-decoration 0.3s ease;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 70px 60px;
    margin-bottom: 80px;
    max-width: 100%;
}

.product-card {
    display: none;
    flex-direction: column;
}

#filter-new:checked ~ main .product-card[data-category*="new"] {
    display: flex;
}

#filter-kitchen:checked ~ main .product-card[data-category="kitchen"] {
    display: flex;
}

#filter-dining:checked ~ main .product-card[data-category*="dining"] {
    display: flex;
}

#filter-sale:checked ~ main .product-card[data-category="sale"] {
    display: flex;
}

.product-image {
    width: 100%;
    height: 220px;
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    margin-bottom: 20px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.product-tarelka1 {
    background-image: url('../images/products/tarelka1.png');
}

.product-tarelka2 {
    background-image: url('../images/products/tarelka2.png');
}

.product-tarelka3 {
    background-image: url('../images/products/tarelka3.png');
}

.product-tarelka4 {
    background-image: url('../images/products/tarelka4.png');
}

.product-tarelka5 {
    background-image: url('../images/products/tarelka5.png');
}

.product-tarelka6 {
    background-image: url('../images/products/tarelka6.png');
}

.product-kastryulya {
    background-image: url('../images/products/kastryulya.png');
}

.product-skovoroda {
    background-image: url('../images/products/skovoroda.png');
}

.product-chashka {
    background-image: url('../images/products/chashka.png');
}

.product-info {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    width: 100%;
}

.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-link:hover .product-name {
    text-decoration: underline;
}

.product-link:hover .product-price {
    color: #666;
}

.product-price {
    font-family: 'Brygada 1918 SemiBold', serif;
    font-size: 18px;
    margin-bottom: 8px;
    text-align: left;
    transition: color 0.3s ease;
}

.product-name {
    font-family: 'Brygada 1918 SemiBold', serif;
    font-size: 18px;
    text-align: left;
    transition: text-decoration 0.3s ease;
}

.cart-checkbox {
    display: none;
}

.cart-btn {
    display: inline-block;
    width: 45px;
    height: 45px;
    background-repeat: no-repeat;
    background-position: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-image 0.3s ease;
    background-image: url('../images/icons/cart.png');
    background-size: 24px;
}

.cart-checkbox:checked + .cart-btn {
    background-image: url('../images/icons/checkmark.png');
    background-size: 22px;
}

.footer {
    background: #fafafa;
    color: #000;
    padding: 60px 0 30px;
    border-top: 1px solid #e0e0e0;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}

.footer-left {
    flex: 1;
    padding-left: 0;
}

.footer-right {
    flex: 1;
    padding-left: 40%;
}

.contact-info {
    font-family: 'Brygada 1918 SemiBold', serif;
    font-size: 18px;
    text-align: left;
    margin-bottom: 0;
}

.contact-info p {
    font-size: 18px;
    margin-bottom: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
    margin-top: 15px;
}

.social-link {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: opacity 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.social-link:hover {
    opacity: 0.7;
}

.telegram {
    background-image: url('../images/telegram.png');
}

.vkontakte {
    background-image: url('../images/vkontakte.png');
}