

.cart-section {
  width: 100%;
}

.cart-section h2 {
  font-size: 35px;
  margin-bottom: 20px;
}

.cart-table {
  width: 100%;
  border-collapse: collapse; /* Ensure border surrounds table neatly */
  border: 2px solid #333; /* Adjust color and thickness as needed */
  margin-bottom: 20px;
}

.cart-table th, .cart-table td {
  padding: 10px;
  border-bottom: 1px solid #ddd;
  text-align: center;
}

.cart-table .cart-product-image {
  width: 60px;
  height: 80px;
  object-fit: contain;
}

.remove-item {
  background-color: transparent;
  border: none;
  font-size: 18px;
  cursor: pointer;
}



.quantity-input {
  width: 60px;               /* Adjust the width to fit the content */
  padding: 5px;               /* Padding inside the input box */
  text-align: center;         /* Center the value inside the box */
  border: 2px solid #ccc;     /* Border to give a container-like feel */
  border-radius: 5px;         /* Rounded corners */
  outline: none;              /* Remove default outline */
  box-sizing: border-box;     /* Ensure padding doesn’t increase width */
}

.coupon-section {
  display: flex;
  justify-content: flex-start;
  margin-top: 20px;
}

.remove-all {
  display: flex;
  justify-content: flex-start;
  margin-top: 20px;
}

.clear-cart-button{
  background-color: #333;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
}

.coupon-input {
  width: 200px; /* Shortened the width */
  padding: 5px;
}

.apply-coupon-button {
  background-color: #333;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
}

.apply-coupon-button:hover {
  background-color: #555;
}

.cart-totals {
  width: 20%;
  background-color: #fff;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  height: 1000px *width;
  float: right;
  margin-top: 30px;
  
}

.cart-totals h3 {
  font-size: 20px;
  margin-bottom: 5px;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  margin-bottom: 20px;
}

.checkout-button {
  width: 100%;
  background-color: #333;
  color: #fff;
  border: none;
  padding: 15px;
  cursor: pointer;
  font-size: 16px;
}

.checkout-button:hover {
  background-color: #555;
}
.horizontal {
  border: none;
  height: 1px;
  width: 100%;
  /* Set the hr color */
  color: #333;  /* old IE */
  background-color: #333;  /* Modern Browsers */
  margin-bottom: 10px;
}
header ul li:nth-child(5){
  background-color: lightgray;
}