body {
    font-family: 'Red Hat Text', sans-serif;
    margin: 0;
    background-color: hsl(20, 50%, 98%);
    color: hsl(14, 65%, 9%);
  }
  
  .layout {
    display: flex;
    justify-content: space-between;
    padding: 2rem;
    gap: 2rem;
    max-width: 1200px;
    margin: auto;
  }
  
  /* === Products === */
  .products {
    flex: 2;
  }
  
  .title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
  }
  
  .product-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
  }
  
  .product-card {
    background-color:  hsl(20, 50%, 98%);
    border-radius: 10px;
    overflow: hidden;
  }
  
  .product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
  }
  
  .product-card-content {
    padding: 1rem;
  }
  
  .product-card .type {
    font-size: 0.85rem;
    color: hsl(14, 25%, 72%);
  }
  
  .product-card .name {
    font-weight: 700;
    margin: 0.25rem 0;
  }
  
  .product-card .price {
    color: hsl(14, 86%, 42%);
    font-weight: 600;
  }
  
  .btn-add {
    width: 80%;
    margin-top: -3rem;
    padding: 0.5rem;
    border: 2px solid hsl(14, 86%, 42%);
    background-color: transparent;
    color: hsl(14, 86%, 42%);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
  }
  
  .btn-add:hover {
    background-color: hsl(14, 86%, 42%);
    color: white;
  }
  
  /* === Cart === */
  .cart {
    flex: 1;
    background-color: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: fit-content;
    min-width: 300px;
  }
  
  .cart h2 {
    font-weight: 700;
    margin-top: 0;
  }
  
  .cart-items {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
    max-height: 300px;
    overflow-y: auto;
  }
  
  .cart-items li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
  }
  
  .cart-footer {
    border-top: 1px solid #eee;
    padding-top: 1rem;
  }
  
  .total-line {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
  }
  
  .note {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }
  
  .btn-confirm {
    width: 100%;
    background-color: hsl(14, 86%, 42%);
    color: white;
    padding: 0.75rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
  }
  
  .btn-confirm:hover {
    background-color: hsl(14, 86%, 35%);
  }
  
  .attribution {
    text-align: center;
    font-size: 11px;
    margin: 2rem 0;
  }
  
  .attribution a {
    color: hsl(228, 45%, 44%);
  }
  

  