* {
  margin: 0%;
  padding: 0%;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}
header {
  color: black;
  text-align: center;
  padding: 10px 0;
}
main {
  padding: 20px;
  width: 60%;
  background-color: rgb(246, 246, 246);
  border-radius: 10px;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
table,
th,
td {
  border: none;
  border-bottom: 1px solid;
}
th,
td {
  padding: 10px;
  text-align: left;
}
tfoot {
  font-weight: bold;
}
.checkout-btn {
  display: block;
  width: 200px;
  margin: 0 auto;
  padding: 10px;
  text-align: center;
  background-color: #333;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  border-radius: 10px;
}
.checkout-btn:hover {
  background-color: #444;
}
.shops {
  display: flex;
  justify-content: space-between;
  padding-inline: 5%;
  align-items: center;
  padding-bottom: 40px;
}
.summary {
  background-color: rgb(246, 246, 246);
  padding: 30px;
  border-radius: 15px;
}
.sub {
  display: flex;
  justify-content: space-between;
  /* align-items: center; */
}
.sub p {
  font-weight: bold;
  margin-bottom: 40px;
}
header h1 {
  padding-bottom: 30px;
}
.Product-img {
  width: 60px;
  border-radius: 10px;
}
.product-sec {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}
.summary h1 {
  margin-bottom: 30px;
}
.cancel-btn {
  border: none;
  font-weight: 700;
  margin-left: 10px;
  background-color: transparent;
}

@media (max-width: 850px) {
  .shops {
    flex-direction: column;
    gap: 30px;
  }
  main {
    width: 100%;
  }
  .summary {
    width: 100%;
  }
  .summary h1{
    text-align: center;
  }
}
@media (max-width: 375px) {
  th{
    padding: 0;
  }
}
