/* Cart Table */
.table {
  padding: 4rem 2rem;
 
}
body{
    background: #f9f1f1;
}

.table table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff6f6;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
}

.table .thead {
  background-color: #ff4e4eef;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
}

.table th, .table td {
  padding: 1rem;
  text-align: center;
}

.table td i {
  color: #ff4c4c;
  cursor: pointer;
  font-size: 1.2rem;
}

.table input[type="number"] {
  width: 60px;
  padding: 5px;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  text-align: center;
}

.copen-box {
  margin-top: 2rem;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.copen-input {
  padding: 0.8rem 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  width: 250px;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
}

.coupon-btn {
  background-color: #ff4c4c;
  color: white;
  border: none;
  padding: 0.9rem 1.5rem;
  border-radius: 8px;
  margin-left: 1rem;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: background-color 0.3s ease;
}

.coupon-btn:hover {
  background-color: #e03e3e;
}

/* Checkout Totals */
.check-out {
  background-color: #fff6f6;
  margin: 3rem auto;
  padding: 2rem;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  max-width: 500px;
}


.check-out h3 {
  margin-bottom: 1.5rem;
  color: #333;
  font-weight: 600;
}

.check-out table {
  width: 100%;
  font-size: 1rem;
  border-collapse: collapse;
}

.check-out td {
  padding: 0.8rem 0;
  color: #444;
}

.check-out strong {
  color: #111;
  font-weight: bold;
}

.checkout-btn {
  background-color: #ff4c4c;
  color: white;
  border: none;
  padding: 1rem;
  width: 100%;
  border-radius: 10px;
  font-size: 1rem;
  margin-top: 1.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.checkout-btn:hover {
  background-color: #e03e3e;
}

/* Responsive Styling */
@media (max-width: 768px) {
  .check-out {
    grid-template-columns: 1fr;
    margin: 2rem 1rem;
  }

  .copen-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .coupon-btn {
    margin-left: 0;
    margin-top: 1rem;
  }
}
