* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background-color: #fffaf0;
    color: #333;
}

.header {
    background-color: #ff6b00;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    box-shadow: 0 2px 10px rgba(255, 107, 0, 0.2);
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav a:hover {
    opacity: 0.8;
}

Внесу изменения, чтобы товары отображались по 3 в ряд с фиксированным размером 512×512 px.

1. Обновлённый CSS (css/style.css)
Замените/добавьте следующие правила:

css
.main {
    padding: 30px;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: #ff6b00;
    font-size: 2rem;
}

/* Контейнер для сетки товаров */
.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 колонки равной ширины */
    gap: 30px; /* Отступы между карточками */
    justify-items: center; /* Центрируем содержимое по горизонтали */
}

/* Карточка товара */
.product-card {
    width: 512px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center; /* Выравниваем текст по центру */
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.2);
}

/* Изображение товара */
.product-image {
    width: 512px;
    height: 512px;
    object-fit: cover;
    display: block;
}

/* Информация о товаре */
.product-info {
    padding: 20px;
}

.product-name {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #ff6b00;
}

.product-price {
    font-size: 1.1rem;
    font-weight: bold;
    color: #e65100;
    margin-bottom: 15px;
}

/* Кнопка "Купить" */
.buy-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ff6b00;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
    border: none;
    cursor: pointer;
}

.buy-button:hover {
    background-color: #e65100;
    transform: translateY(-2px);
}

.buy-button:active {
    transform: translateY(0);
}

.footer {
    background-color: #ff6b00;
    color: white;
    text-align: center;
    padding: 25px 0;
    margin-top: 50px;
}

.footer p {
    margin: 10px 0;
    font-size: 0.9rem;
}