.bg-error {
  background-color: rgb(217 41 31 / 0.5);
}
#food-basket,
.bg-white {
  background-color: #fff;
}
#modal-foodBasket.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}
#modal-foodBasket .modal-content {
  margin: 15% auto;
  background-color: #fefefe;
  padding: 38px;
  border: 1px solid #888;
  width: 80%;
  max-width: 800px;
  margin-top: 80px;
}
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: 700;
  margin-top: -38px;
  margin-right: -28px;
}
.close:focus,
.close:hover {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
.category-tag {
  display: inline-block;
  cursor: pointer;
  padding: 5px 10px;
  margin: 5px;
  background-color: #f0f0f0;
  border-radius: 15px;
  color: #333;
  font-size: 14px;
  transition: background-color 0.3s;
  text-decoration: none !important;
}
.category-tag.active {
  background-color: #f1c34a;
}
.category-tag:hover {
  background-color: #d3d3d3;
}
#product-categories {
  text-align: end;
}
#modal-foodBasket #products {
  display: flex;
  gap: 48px;
  margin-top: 18px;
  margin-bottom: 18px;
  overflow-x: auto;
  border: 1px solid #ddd;
  padding: 8px;
}
#modal-foodBasket #products .product h3 {
  font-size: 18px;
  height: 44px;
}
.product-image p {
  height: 78px;
}
#modal-foodBasket #products .product {
  position: relative;
  min-width: 200px;
  padding: 14px;
  text-align: center;
}
#modal-foodBasket #products .product .product-image {
  height: 158px;
  display: grid;
  place-items: center;
  background-color: #ededed;
}
#basket_content td {
  vertical-align: middle;
}
#basket_content tr td:first-child {
  text-align: center;
}
#basket_content .quantity {
  max-width: 70px;
  border: 1px solid #ccc;
  padding: 4px 8px;
  border-radius: 14px;
  text-align: center;
}
#food-basket {
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
  padding: 20px;
}
#food-basket .switch {
  position: relative;
  display: inline-block !important;
  width: 34px;
  height: 20px;
}
#food-basket .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
#food-basket .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}
#food-basket .slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: #fff;
  transition: 0.4s;
  border-radius: 50%;
}
#food-basket input:checked + .slider {
  background-color: #2196f3;
}
#food-basket input:checked + .slider:before {
  transform: translateX(14px);
}
#food-basket .remove-item {
  font-size: 12px !important;
}
