* Общие стили для всей страницы */
body {
    font-family: 'arial narrow', arial;
    font-size: 8px;/*14*/
    margin: 0;
    padding: 20px;
    background-color: #ffffff;
    color: #192c70;
}


img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}


/* Шапка сайта на Flexbox */
.main-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.logo img {
    max-width: 189px;
    height: auto;
}

.banner img {
    max-width: 100%;
    height: auto;
}

.contacts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
    font-size: 100%; /*157%;*/
}

.contact-item img {
    width: 24px;
    height: 24px;
}

/* Стили для галереи картинок */
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

.gallery img {
    width: 100%;
    max-width: 200px;/*300*/
    height: auto;
    object-fit: cover;
}

/* Сетка товаров на CSS Grid (2 на 3 колонки поменял) */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px; /*30*/
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 20px; /*40*/
/*    margin: 0 auto;*/
}

/* Элемент карточки товара */
.product-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 4px;
}

.product-card img {
    width: 72px; /* 94px*/
    height: 72px; /* 94px*/
    object-fit: cover;
}

.product-info {
    flex-grow: 1;
}
/*наименование*/
.product-info h3 {
    margin: 5px 0;
    font-weight: normal;
    font-size: 118%;
    color:#192c70;
    text-align: center;
    text-wrap: wrap;
    line-height: 1.15;
}
/*цены*/
.product-status {
    font-weight: normal;
    color: #073819;
    font-size: 118%;
    text-align: right;
    padding: 0 3px;
}

/* Адаптивность для мобильных телефонов */
@media (max-width: 768px) {
    .main-header {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-item {
        justify-content: center;
    }

    .products-grid {
        grid-template-columns: 1fr; /* На смартфонах карточки встанут в одну колонку */
    }
} 





/* Специальное правило для карточек с увеличенными иконками (Серия Z) */
.products-grid-large .product-card img {
    width: 128px;
    height: 128px;
}


@media (max-width: 480px) {
    .products-grid-large .product-card img {
        width: 94px;
        height: 94px;
    }
}





/* Стили для подвала страницы */
.main-footer {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #eeeeee;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo img {
    width: 150px;
    height: 150px;
    object-fit: contain;
}

.footer-info {
    flex-grow: 1;
    background-color: #3366FF;
    color: #ffffff;
    padding: 24px;
    border-radius: 4px;
    text-align: center;
}

.footer-info p {
    font-weight: normal;
    font-size: 114%;
    margin: 10px 0;
    line-height: 1.4;
}

/* Блок переводчика */
.translate-block {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 20px;
}

/* Адаптивность подвала для мобильных устройств */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    /* На смартфонах показываем только один логотип, чтобы не занимать место */
    .footer-container .footer-logo:last-child {
        display: none;
    }
}

.rounded-img {
  border-radius: 4px;
}