body {
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #e0f7fa 0%, #bbdefb 100%);
  font-family: Arial, Helvetica, sans-serif;
  min-height: 100vh;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #000;
  color: #fff;
  padding: 18px 8vw;
  position: relative;
  z-index: 10;
}

.logo {
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 1px;
}

.menu-toggle {
  font-size: 2rem;
  background: #000000;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  padding: 6px 14px;
  cursor: pointer;
  display: block;
}

#voltar-topo {
  background: #3c3b3af7;
  color: #333;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.3rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
  margin-left: 18px;
}
#voltar-topo:hover {
  background: #fdd835;
}

.slide-menu {
  position: fixed;
  top: 0;
  left: -260px;
  width: 240px;
  height: 100%;
  background: #222;
  color: #fff;
  transition: left 0.3s;
  z-index: 1000;
  padding-top: 60px;
  box-shadow: 2px 0 10px rgba(0,0,0,0.15);
}
.slide-menu.active {
  left: 0;
}
.slide-menu ul {
  list-style: none;
  padding: 0 0 0 10px;
  margin: 0;
}
.slide-menu ul li {
  margin-bottom: 10px;
}
.slide-menu ul h2 {
  font-size: 1.1rem;
  margin: 10px 0 5px 0;
  color: #ffeb3b;
}
.slide-menu ul a.but {
  display: block;
  padding: 10px 0 10px 10px;
  color: #fff;
  background: none;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.2s, color 0.2s;
}
.slide-menu ul a.but:hover {
  background: #ffeb3b;
  color: #222;
}

/* Main Checkout */
main {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 80vh;
  padding: 40px 0;
}

.checkout-container {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(0,0,0,0.12);
  padding: 40px 32px 32px 32px;
  max-width: 600px;
  width: 100%;
  margin-top: 30px;
}

.checkout-container h1 {
  text-align: center;
  color: #388e3c;
  font-size: 2.2rem;
  margin-bottom: 30px;
  font-weight: bold;
  letter-spacing: 1px;
}

.table-responsive {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 22px;
}

th, td {
  padding: 12px 8px;
  text-align: left;
}

th {
  background: #e8f5e9;
  color: #388e3c;
  font-size: 1.1rem;
  border-bottom: 2px solid #c8e6c9;
}

tr:not(:last-child) td {
  border-bottom: 1px solid #f0f0f0;
}

.total {
  text-align: right;
  font-size: 1.5rem;
  font-weight: bold;
  color: #388e3c;
  margin-bottom: 18px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-pagar {
  background: #43a047;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 16px 0;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(67,160,71,0.08);
  transition: background 0.2s, transform 0.2s;
  width: 100%;
}
.btn-pagar:hover {
  background: #2e7d32;
  transform: translateY(-2px) scale(1.03);
}

.btn-qtd {
  background: #ff793b;
  color: #fff;
  border: none;
  border-radius: 4px;
  width: 28px;
  height: 28px;
  font-size: 1.1rem;
  font-weight: bold;
  margin: 0 4px;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-qtd:hover {
  background: #d65a1c;
}
.qtd {
  display: inline-block;
  min-width: 24px;
  text-align: center;
  font-weight: bold;
}

.btn-remover {
  background: #e53935;
  color: #fff;
  border: none;
  border-radius: 4px;
  width: 28px;
  height: 28px;
  font-size: 1.1rem;
  font-weight: bold;
  margin-left: 6px;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-remover:hover {
  background: #b71c1c;
}
.btn-remover img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  pointer-events: none;
}

.img-produto-checkout {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 8px;
  vertical-align: middle;
}

/* Responsivo */
@media (max-width: 900px) {
  header {
    padding: 16px 4vw;
  }
  .checkout-container {
    padding: 24px 8px;
  }
}
@media (max-width: 700px) {
  .menu-toggle {
    display: block;
  }
  .slide-menu {
    padding-top: 50px;
  }
  main {
    padding: 10px 0;
  }
  .checkout-container {
    margin-top: 16px;
    padding: 16px 4px;
  }
}