.cart-savings {
  color: green;
  font-weight: bold;
  margin-top: 5px;
  font-size: 0.9rem;
}

.cart-item-with-image {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
  font-size: 0.7rem;
}

.cart-img-wrapper img.cart-img-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.cart-item-details {
  flex: 1;
}

#clear-cart {
  display: inline-block;
  background-color: #f7a072;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  margin-bottom: 1rem;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
  font-weight: 600;
  transition: background-color 0.3s;
  font-size: 0.7rem;
}

#clear-cart:hover {
  background-color: #ef476f;
}

#cart {
  padding: 1rem;
  background: #fffaec;
  border: 1px solid #f7a072;
  border-radius: 10px;
  max-width: 400px;
  margin: 1rem auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#cart h2 {
  margin-top: 0;
  text-align: center;
  color: #ef476f;
  font-size: 1rem;
}

#cart-items {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1rem;
}

#cart-items li {
  padding: 0.3rem 0;
  border-bottom: 1px solid #f7a072;
  font-weight: 600;
  font-size: 0.9rem;
}

#cart-icon {
  position: fixed;
  top: 1rem;
  right: 1rem;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  background: #3b82f6; /* Soothing blue */
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  user-select: none;
  z-index: 1000;
  transition: background 0.3s ease, transform 0.2s ease;
}

#cart-icon:hover {
  background: #2563eb;
  transform: scale(1.05);
}

#cart-icon:active {
  transform: scale(0.97);
}


#cart-count {
  background: #ef476f;
  color: white;
  padding: 0 6px;
  border-radius: 12px;
  font-size: 0.8rem;
  vertical-align: middle;
}