body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 2rem;
  background-color: #f8f9fa;
}

.cart-container {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  max-width: 1000px;
  margin: auto;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #333;
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.95rem;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  overflow: hidden;
}

table th,
table td {
  border-bottom: 1px solid #e0e0e0;
  padding: 0.75rem 1rem;
  text-align: center;
}

table th {
  background-color: #f5f5f5;
  color: #333;
  font-weight: 600;
}

#coupons_code,
#Discount_p,
#GST_p,
#Final_Total_p {
  width: 40%;
  text-align: center;
}

#discount_input,
#discount,
#gst,
#final-total {
  width: 40%;
  text-align: center;
}


#discount_coupons_message,
#GST_p_message {
  width: 20%;
  text-align: center;
}
#coupons_message{
  width: 100%;
  text-align: center;
}
#cart-table td.img-cell {
  width: 80px;
  /* text-align: center; */
}

#cart_img {
  width: 60px;
  height: auto;
  object-fit: contain;
}

.totals {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.coupon-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.coupon-box input {
  padding: 0.5rem;
  border-radius: 5px;
  border: 1px solid #ccc;
  width: 200px;
}


button {
  padding: 0.5rem 1rem;
  background-color: #007bff;
  border: none;
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 123, 255, 0.2);
}

button:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

button:active {
  background-color: #004a9f;
  transform: translateY(0);
}

button:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
  box-shadow: none;
}

.coupon-box button:hover {
  background-color: #0056b3;
}

.totals-info p {
  margin: 0.2rem 0;
  text-align: right;
  font-weight: 500;
  color: #555;
}

.highlight {
  font-weight: bold;
  font-size: 1.2rem;
  color: #28a745;
}
.center-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50%;
}
.totals-info {
  margin: 0 auto;
  width: 50%;
}

.totals-table {
  width: 100%;
  /* border-collapse: collapse; */
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.95rem;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  overflow: hidden;
}

.totals-table td {
  padding: 0.5rem;
  font-size: 0.95rem;
  color: #333;
}

.totals-table .final-row td {
  font-size: 1.1rem;
  color: #28a745;
  font-weight: bold;
  border-top: 2px solid #ccc;
}

@media (max-width: 600px) {
  .totals-table {
    width: 100%;
  }

}

#subtotal {
  font-weight: bold;
}





#empty-cart-message {
  list-style: none;
  padding: 2rem;
  margin: 2rem auto;
  max-width: 500px;
  text-align: center;
  background-color: #fff3e0;
  /* border: 2px dashed #ccc; */
  border-radius: 0px 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 2.1rem;
  color: #6a1b9a;
  transition: all 0.3s ease-in-out;
  display: none;
  font-weight: bold;
}

#empty-cart-message a {
  color: #9575CD;
  text-decoration: none;
  font-weight: bold;
}

#empty-cart-message a:hover {
  text-decoration: underline;
  color: #5E35B1;
}
.card {
  position: relative;
  background: linear-gradient(33deg, #5E35B1 0%, #9575CD 100%);
  box-shadow: rgba(110, 35, 150, 0.4) 0px 8px 24px;
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}
.card::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: -1;
}
.card2 {
  background: linear-gradient(33deg, #FB8C00 0%, #FFB74D 100%);
}
.card2::before {
  border-top-right-radius: 10px;
  border-bottom-left-radius: 10px;
  height: 100px;
  width: 100px;
  background-color: #6a1b9a;
  margin-top: -4px;
  margin-left: -4px;
}
.card2::after {
  border-top-right-radius: 10px;
  border-bottom-left-radius: 10px;
  height: 100px;
  width: 100px;
  background-color: #6a1b9a;
  margin-bottom: -4px;
  margin-right: -4px;
}
