/* Navbar Styles */
.navbar {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
  height: 50px;
}

.nav-link {
  color: #dc3545; /* Danger color */
  font-weight: bolder;
}

.nav-link.active {
  color: #dc3545;
}

.navbar-nav .nav-item {
  margin: 0 15px;
}

/* Search Form Styles */
#searching {
  display: flex;
  align-items: center;
}

#search {
  border: 1px solid #dc3545;
  border-radius: 0.25rem; /* Rounded corners */
  padding: 0.5rem 1rem; /* Proper padding */
  margin-right: 0.5rem; /* Spacing between input and button */
}

#searching button {
  background-color: #fff;
  color: #dc3545;
  border: 1px solid #dc3545;
  border-radius: 0.25rem; /* Rounded corners */
  padding: 0.5rem 1rem; /* Proper padding */
  cursor: pointer;
}

#searching button:hover {
  background-color: #dc3545;
  color: #fff;
}

/* Additional Navbar Link Styles */
.navbar-nav .nav-item a {
  padding: 0.5rem 1rem; /* Adjust padding for consistency */
}

.product {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.product div {
  box-shadow: 0px 0px 10px 0px rgb(218, 77, 25);
  width: 300px;
  border-radius: 20px;
  color: rgb(218, 77, 25);
  padding: 20px;
  margin-bottom: 20px;
  overflow: hidden;
}

.product div:hover {
  transform: translatey(-5px);
  transition: all 0.5s;
}

.product img {
  width: 100%;
  height: 200px;
  border-radius: 20px;
  object-fit: cover;
}

.product h2 {
  padding-left: 10px;
  margin: 15px 0;
  font-size: 1.5rem;
}

.product p {
  font-size: 1.2rem;
  padding-left: 10px;
  font-weight: 600;
  margin: 10px 0;
}

.product button {
  padding: 10px 9px;
  color: rgb(218, 77, 25);
  border: 2px solid rgb(218, 77, 25);
  cursor: pointer;
  font-weight:bolder;
  margin: 10px;
  background-color: #ffffff;
  margin-top: 15px;
}

.product button:hover {
  background-color: rgb(218, 77, 25);
  color: #ffffff;
  transition: background-color 0.3s ease;
  transition: all 0.5s;
}
body {
  font-family: "Poppins", sans-serif;
  background-color: #f1f1f1;
}

.container-fluid {
  padding: 2rem;
}

/* Navbar */
#navbar {
  margin-bottom: 2rem;
}

/* Main Layout */
.cart-container {
  display: flex;
  flex-wrap: wrap;
  gap: 80px;
}

/* Cart Table */
table {
  margin-left: 40px;
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background-color: #fff;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

th,
td {
  padding: 15px;
  border-bottom: 1px solid #ddd;
  vertical-align: middle;
}

th {
  background-color: #007bff;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
}

td {
  font-size: 1rem;
  color: #333;
}

td img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

td img:hover {
  transform: scale(1.1);
}

td button {
  padding: 5px 10px;
  margin: 0 5px;
  border: none;
  background-color: #007bff;
  color: white;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

td button:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}

td button:disabled {
  background-color: #d6d6d6;
  cursor: not-allowed;
}

td:nth-child(5) {
  font-weight: bold;
  color: #28a745;
}

/* Quantity Buttons */
td button:first-child {
  background-color: #dc3545;
}

td button:first-child:hover {
  background-color: #c82333;
}

td button:last-child {
  background-color: #28a745;
}

td button:last-child:hover {
  background-color: #218838;
}

td button:nth-child(2) {
  background-color: #f8f9fa;
  color: black;
  pointer-events: none;
}

/* Remove Button */
td:last-child {
  color: #dc3545;
  cursor: pointer;
  transition: color 0.3s ease;
}

td:last-child:hover {
  color: #c82333;
  text-decoration: underline;
}

/* Total Amount Table */
.total-table {
  width: 100%;
  margin-top: 20px;
  background-color: #fff;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  text-align: center;
  padding: 20px;
}

.total-table h4 {
  font-size: 1.8rem;
  color: #333;
  font-weight: 600;
}

.total-table .amount-details {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
}

.checkout-section {
  text-align: center;
  margin-top: 20px;
}

#checkoutBtn {
  font-size: 1.2rem;
  font-weight: bold;
  padding: 10px 20px;
  background-color: #dc3545;
  color: white;
  border: none;
  border-radius: 5px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#checkoutBtn:hover {
  background-color: #c82333;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
}

/* Additional Buttons */
.btn-outline-primary,
.btn-outline-secondary {
  margin-top: 10px;
  font-size: 0.9rem;
  padding: 5px 10px;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-outline-primary:hover,
.btn-outline-secondary:hover {
  background-color: #007bff;
  color: white;
}

