.wrapper {
  display: flex;
  flex-direction: column; /* Элементы будут располагаться вертикально, один под другим */
  align-items: center; /* Центрирование элементов по горизонтали */
  max-width: 1200px; /* Максимальная ширина контейнера, можно изменить на нужное значение */
  margin: auto; /* Центрирование контейнера на странице */
  padding: 20px; /* Отступы внутри контейнера */
}
.cwcc-product {
  display: flex;
  width: 100%;
  flex-direction: row;
  align-items: center;
  margin-bottom: 20px;
  justify-content: space-between; 
  background: #f1f1f1; 
  padding: 20px; 
  margin-bottom: 20px; 
  border-radius: 10px;
}
.title { color: #31519f; margin-bottom: 20px; }

.product-info { flex-grow: 1; }
.product-image { width: 200px; height: 200px; }
.price, .total { font-weight: bold; }
.calc { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.calc button { cursor: pointer; background: #31519f; color: white; border: none; padding: 5px 10px; border-radius: 5px; }
.quantity { font-weight: bold; }
.order-button { display: inline-block; margin-top: 10px; background: #258BED; color: white; padding: 10px 20px; text-decoration: none; border-radius: 5px; }
.name {
    font-size: 26px;
    color: #31519f;
    font-weight: 500;
}
.description {
    padding: 20px;
    color: #31519f;
    font-size: 16px;
    font-weight: 500;
}
a.order-button:hover {
    color: #ffffff;
    background: #31519f;
}
span.total {
    font-size: xx-large;
    color: #109dff;
}
@media (max-width: 576px) {
  .cwcc-product {
    flex-direction: column; /* Элементы в блоке продукта будут располагаться вертикально */
    align-items: center; /* Центрирование элементов по горизонтали */
  }

  .product-info, .product-image {
    width: 100%; /* Элементы будут занимать всю доступную ширину */
    text-align: center; /* Текст в информации о продукте будет выравниваться по центру */
  }

  .product-image {
    margin-left: 0; /* Убираем левый отступ у изображения */
    margin-top: 20px; /* Добавляем верхний отступ, чтобы отделить изображение от текста */
    width: 150px; /* Уменьшаем ширину изображения */
    height: auto; /* Высота изображения изменяется пропорционально */
  }
  span.total {
    font-size: x-large;
}
}

