body {
    font-family: Arial, sans-serif;
  }

  .sidebar {
    padding: 1em;
    border-right: 1px solid #ddd;
  }

  .product-list {
    padding: 1em;
  }

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

  .product-image {
    width: 50px;
    height: auto;
  }

  .product-info {
    padding-left: 1em;
  }

  .price, .rating, .weight {
    font-size: 0.8em;
    color: #666;
  }

  .product-list {
    padding: 1em;
  }

  .product {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #ddd;
    padding: 1em 0;
  }

  .product-image {
    width: 100%;
    height: auto;
  }

  .product-info {
    padding: 1em 0;
  }

  .price, .rating .weight {
    font-size: 0.8em;
    color: #666;
  }

  /* For screens larger than 600px */
  @media (min-width: 600px) {
    .product {
      flex-direction: row;
    }

    .product-image {
      width: 50px;
      margin-right: 1em;
    }

    .product-info {
      flex-grow: 1;
    }
  }

  .vertical {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-align: right;
  }

  table th {
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
  }

  tr td:nth-child(n+3), tr th:nth-child(n+3) {
    border: 1px solid #000;
    text-align: center;
  }

  table {
    width: 100%;
  }

  table th.product-name, table td.product-name {
    width: 50%;
  }