/* ======================================
   CART PAGE — GameBoard Store
   Theme: White + Orange
   ====================================== */

body {
  font-family: "Poppins", sans-serif;
  background-color: #f5f6fa;
  margin: 0;
  color: #333;
}

.cart-wrap {
  max-width: 1000px;
  margin: 40px auto;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.cart-title {
  font-size: 26px;
  color: #ff7b00;
  margin-bottom: 20px;
  text-align: center;
}

.cart-container table {
  width: 100%;
  border-collapse: collapse;
}

.cart-container th,
.cart-container td {
  text-align: center;
  padding: 12px;
  border-bottom: 1px solid #eee;
}

.cart-container th {
  background: #f9f9f9;
  font-weight: 600;
  color: #444;
}

.cart-container img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
}

.qty-control {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.qty-btn {
  background: #ff7b00;
  color: #fff;
  border: none;
  border-radius: 4px;
  width: 26px;
  height: 26px;
  cursor: pointer;
}

.qty-btn:hover {
  background: #ff9500;
}

.remove-btn {
  background: none;
  border: none;
  color: #ff4d4d;
  font-size: 18px;
  cursor: pointer;
}

.remove-btn:hover {
  color: #d22;
}

.cart-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

.summary-details {
  font-size: 18px;
  color: #444;
}

.summary-details h3 {
  color: #000;
  margin-top: 5px;
}

.summary-buttons {
  display: flex;
  gap: 10px;
}

.clear-btn,
.checkout-btn,
.continue-btn {
  padding: 10px 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
}

.clear-btn {
  background: #fff;
  border: 1px solid #ccc;
}

.clear-btn:hover {
  background: #eee;
}

.checkout-btn {
  background: #ff7b00;
  color: #fff;
}

.checkout-btn:hover {
  background: #ff9500;
}

.empty-cart {
  text-align: center;
  margin-top: 40px;
}

.empty-cart h2 {
  color: #777;
  margin-bottom: 15px;
}

.continue-btn {
  background: #ff7b00;
  color: #fff;
}

.continue-btn:hover {
  background: #ff9500;
}

.hidden {
  display: none;
}

@media (max-width: 700px) {
  .cart-container table {
    font-size: 14px;
  }
  .summary-buttons {
    width: 100%;
    justify-content: space-between;
  }
}
