body {
    background-color: #f9f9f9;
    color: #222;
    margin: 0;
    padding-top: 80px;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.products-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

.products-header {
    text-align: center;
    font-size: 2.2em;
    color: #111;
    margin-bottom: 60px;
}

/* Контейнер списка */
.products-list {
    display: flex;
    flex-direction: column;
    gap: 120px;
}

/* Каждый продукт */
.product-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s ease;
    gap: 40px;
}

/* Анимация появления */
.product-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Перевёрнутая компоновка для чётных */
.product-item.reverse {
    flex-direction: row-reverse;
}

/* Фото */
.product-image img {
    width: 100%;
    max-width: 480px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Информация */
.product-info {
    flex: 1;
}

.product-info h2 {
    font-size: 1.8em;
    color: #333;
    margin: 0 0 10px;
}

.product-info h4 {
    color: #888;
    margin: 0 0 20px;
    font-weight: 500;
}

.product-info p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #444;
    margin-bottom: 15px;
}

.product-link {
    display: inline-block;
    color: #0073e6;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.product-link:hover {
    color: #0056b3;
}

/* Мобильная версия */
@media (max-width: 768px) {
    .product-item,
    .product-item.reverse {
        flex-direction: column;
        text-align: center;
    }

    .product-image img {
        max-width: 100%;
    }

    .product-info {
        margin-top: 20px;
    }
}
