.catalog {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.product-card {
    border: 1px solid #ddd;
    padding: 15px;
    width: 220px;
    text-align: center;
    border-radius: 8px;
    background: #f9f9f9;
}
.product-card img {
    max-width: 200px;
    max-height: 200px;
    object-fit: contain;
}

.product-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-item {
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
}

.product-row {
    display: flex;
    align-items: flex-start; /* выравнивание по верхнему краю картинки */
    gap: 20px;
}

.product-image img {
    max-width: 200px;
    height: auto;
    display: block;
}

.product-info {
    flex: 1;
    padding-top: 20px; /* смещение текста ниже картинки */
    text-align: left;
}

.product-detail {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.product-gallery {
    width: 100%;
    height: 400px;
    margin-bottom: 20px;
}

.product-gallery img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.product-detail-info {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    text-align: center;
}

.product-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #222;
}

.product-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 20px;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2b7a0b;
    margin-bottom: 10px;
}

.product-stock {
    font-size: 1rem;
    color: #555;
    margin-bottom: 8px;
}

.product-category {
    font-size: 0.95rem;
    color: #777;
}

.product-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    padding: 15px;
    text-align: center;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.product-card img {
    max-width: 100%;
    height: 220px;
    object-fit: contain;
    margin-bottom: 10px;
}

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.product-description {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 10px;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2b7a0b;
    margin-bottom: 5px;
}

.product-stock {
    font-size: 0.9rem;
    color: #777;
}
