* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    margin: 0;
    font-family: Arial, sans-serif;
}

/* Cabeçalho */
.topo {
    background: #0066ff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
    color: white;
}

.topo .logo {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 18px;
}

.topo .logo img {
    height: 25px;
    margin-right: 8px;
}

.topo nav a,
.topo .acoes a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
    font-weight: bold;
}
.carrinho-container {
      border: 2px solid #0044ff;
      border-radius: 10px;
      padding: 20px;
      width: 700px;
      background: #fff;
    }

    h2 {
      text-align: center;
      color: #0044ff;
      margin-bottom: 20px;
    }

    .carrinho {
      display: flex;
      gap: 20px;
    }

    .itens {
      flex: 2;
    }

    .item {
      display: flex;
      align-items: center;
      border: 1px solid #ccc;
      border-radius: 8px;
      margin-bottom: 15px;
      padding: 10px;
      background: #fafafa;
    }

    .item img {
      width: 120px;
      height: auto;
      border-radius: 8px;
      margin-right: 15px;
    }

    .item-info {
      flex: 1;
    }

    .item-info h3 {
      margin: 0;
      font-size: 16px;
      font-weight: bold;
    }

    .item-info p {
      margin: 3px 0;
      font-size: 13px;
      color: #444;
    }

    .item-preco {
      font-weight: bold;
      font-size: 15px;
      color: #000;
    }

    .resumo {
      flex: 1;
      border: 2px solid #0044ff;
      border-radius: 10px;
      padding: 15px;
      text-align: left;
      background: #fff;
    }

    .resumo h3 {
      color: #0044ff;
      margin-bottom: 10px;
    }

    .resumo p {
      margin: 5px 0;
    }

    .total {
      font-size: 18px;
      font-weight: bold;
      margin: 15px 0;
    }

    .btn-finalizar {
      background: #007bff;
      color: #fff;
      border: none;
      padding: 12px;
      border-radius: 8px;
      font-size: 16px;
      font-weight: bold;
      cursor: pointer;
      width: 100%;
      transition: 0.3s;
    }

    .btn-finalizar:hover {
      background: #0056b3;
    }

    /* Mensagem de compra finalizada */
    .finalizada {
      text-align: center;
      font-size: 24px;
      font-weight: bold;
      color: green;
      display: none;
      margin-top: 20px;
    }
/* Rodapé */
footer {
    background: #0066ff;
    padding: 40px 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-links h3 {
    color: #ffff;
    font-size: 16px;
    margin-bottom: 10px;
}

.footer-links a, .footer-links p {
    color: #ffff;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 5px;
}
