body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

header {
    background-color: #2c3e50;
    color: white;
    padding: 5px;
    text-align: center;
}

.info {
    font-weight: bolder;
    text-align: center;
}

.red {
    color: red;
}

.slogan {
    font-style: italic;
    margin-top: 10px;
}

.products {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px;
}

.product-card {
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 15px;
    margin: 10px;
    width: calc(30% - 20px); /* Подсчет для трех карточек в ряд */
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    cursor: pointer;
}

@media (max-width: 768px) {
    .product-card {
        width: calc(100% - 20px); /* Одна карточка в ряд */
    }
}

.product-card img {
    max-width: 200px;
    max-height: 200px;
    width: auto;
    height: auto;
}

.price {
    font-weight: bold;
    color: #e74c3c;
}

.contact-info {
    font-size: 0.9em;
    color: #666;
}

footer {
    background-color: #2c3e50;
    color: white;
    padding: 5px;
    text-align: center;
}

footer a {
    color: white;
}

/* lightbox */
.lightbox {
  display: none; /* Скрыто по умолчанию */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
}
