.grid-container {
    max-width: 500px;
    margin: 0px auto;
    font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
  }

  .grid-header,
  .grid-row {
    display: flex;
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
    align-items: center;
  }

  .grid-header {
    background-color: #007BFF;
    color: white;
    font-weight: bold;
  }

  .cell-title {
    flex: 1;
    cursor: default;
  }

  .clickable {
    cursor: pointer;
    user-select: none;
    position: relative;
  }

  .clickable::before {
    content: "▶";
    display: inline-block;
    transform: rotate(0deg);
    transition: transform 0.2s ease;
    margin-right: 8px;
    font-size: 0.7em;
    color: #007BFF;
  }

  .expanded::before {
    transform: rotate(90deg);
  }

  .cell-quantity {
    flex: 0 0 50px;
    text-align: center;
    font-weight: 600;
  }

  .cell-value {
    flex: 0 0 100px;
    text-align: right;
    font-weight: 600;
  }

  /* Indentation */
  .level-1 {
    padding-left: 20px;
    background-color: #E7F3FF;
    border-left: 4px solid #c02aac;
  }

  .level-2 {
    padding-left: 40px;
    background-color: #F0F8FF;
    border-left: 4px solid #f89ae7;
    font-style: italic;
  }

  /* Hide child rows initially */
  .child-row {
    display: none;
  }

  /* Responsive */
  @media (max-width: 400px) {
    .cell-value {
      flex: 0 0 80px;
      font-size: 0.9em;
    }
    .grid-container {
      max-width: 100%;
      margin: 10px;
    }
    .grid-row, .grid-header {
      padding: 10px;
    }
  }