body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffede4;
  }
  
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    background-color: #ec6e25;
  }
  
  .logo {
    max-width: 14%;
    height: auto;
    padding: 15px;
  }
  
  #categoryFilter {
    margin-left: 1px;
    margin-right: 10px;
    padding: 9px;
    border: 1px solid #ffffff;
    border-radius: 5px;
    outline: none;
    font-size: 1em;
  }
  
  #searchInput {
    width: 300px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px 5px 5px 5px;
    outline: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-right: 10px;
    font-size: 1em;
  }
  
  #searchButton {
    padding: 11px;
    background-color: #ffede4;
    color: rgb(12, 12, 12);
    border: none;
    border-radius: 5px 5px 5px 5px;
    cursor: pointer;
    margin-right: 350px;
    font-size: 1em;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  #searchButton:hover {
    background-color: #bd5727;
  }
  
  main {
    max-width: 1200px;
    margin: 20px auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
  }
  
  .category {
    width: 100%;
    margin-top: 20px;
    text-align: left;
    padding-left: 10px;
    background-color: #ffffff;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    display: flex; /* Ativa o layout flexbox */
    flex-wrap: wrap; /* Permite quebra de linha */
    align-items: flex-start; /* Alinha os itens horizontalmente para a esquerda */
  }
  
  .category h2 {
    margin-bottom: 10px;
    color: #0a0a0a;
    width: 100%; /* Ocupa toda a largura do container */
  }
  
  
  .item {
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    margin: 10px;
    padding: 10px;
    width: 45%;
    height: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
  }
  
  .item img {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
  }
  
  .card {
    padding: 20px;
    text-align: left;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
  }
  
  .card h2 {
    font-size: 0.9em;
    margin-top: 0;
    margin-bottom: 5px;
  }
  
  .card p {
    font-size: 0.7em;
    color: #666;
    margin-bottom: 5px;
  }
  
  .card .options {
    font-size: 0.8em;
    margin-bottom: 10px;
  }
  
  .card .price {
    font-size: 0.9em;
    color: #333;
    margin: 5px 0;
    text-align: right;
  }
  
  .add-to-cart {
    background-color: #4caf50;
    color: white;
    border: none;
    padding: 12px 12px;
    text-align: center;
    text-decoration: none;
    font-size: 10px;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    border-radius: 4px;
  }
  
  .add-to-cart:hover {
    background-color: #45a049;
  }
  
  #cart {
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 20px auto;
    max-width: 600px;
  }
  
  #cart h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
  }
  
  #cart-items {
    list-style-type: none;
    padding: 0;
  }
  
  #cart-items li {
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .remove-item {
    background-color: #f44336;
    color: white;
    border: none;
    padding: 4px 8px;
    cursor: pointer;
    font-size: 12px;
    border-radius: 4px;
  }
  
  .remove-item:hover {
    background-color: #e53935;
  }
  
  #total-price {
    font-size: 1.2em;
    margin-top: 10px;
    text-align: right;
  }
  
  #floating-cart {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #ff5722;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
  }
  
  #floating-cart img {
    width: 24px;
    height: 24px;
  }
  
  #cart-count {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: #fff;
    color: #ff5722;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
  }
  
  .cart-popup {
    display: none;
    position: fixed;
    bottom: 70px;
    right: 20px;
    width: 250px;
    max-height: 300px;
    overflow-y: auto;
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 10px;
    z-index: 1000;
  }
  
  .cart-popup h2 {
    margin-top: 0;
    font-size: 18px;
  }
  
  .cart-popup ul {
    list-style-type: none;
    padding: 0;
  }
  
  .cart-popup li {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
  }
  
  .cart-popup li button {
    background: none;
    border: none;
    color: red;
    cursor: pointer;
  }
  
  #checkout-button {
    background-color: #df5a0d;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
  }
  
  #checkout-button:hover {
    background-color: #45a049;
  }
  
  
  .modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.9);
  }
  
  .modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
  }
  
  #caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 400px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
  }
  
  .modal-content,
  #caption {
    animation-name: zoom;
    animation-duration: 0.6s;
  }
  
  @keyframes zoom {
    from {
      transform: scale(0);
    }
    to {
      transform: scale(1);
    }
  }
  
  .close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
  }
  
  .close:hover,
  .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
  }
  