body {
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  background-color: #0a0a0a; 
  color: #fff;
}

header {
  background-color: #141414; 
  color: #fff;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #222; 
}

.label {
  font-size: 1.5em;
  font-weight: bold;
  color: #9c27b0; 
  display: flex;
  align-items: center;
}

.label img {
  height: 30px; 
  margin-right: 10px;
}

nav a {
  color: #ddd;
  text-decoration: none;
  padding: 10px;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #ff9800; 
  background-color: #333;
}

.hero {
  background-color: #FFFFFF; 
  padding: 50px 20px;
  text-align: center;
  border-bottom: 1px solid #222; 
}

.hero h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
  color: #141414;
}

.hero p {
  font-size: 1.2em;
  margin-bottom: 20px;
  color: #141414;
}

.hero .search-container input[type="text"] {
  padding: 10px;
  width: 70%;
  max-width: 400px;
  margin-right: 10px;
  border: 2px solid #000;
  background-color: #ffffff;
  color: #000;
}

.hero .search-container button {
  padding: 10px 20px;
  background-color: #8221FB;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.hero .search-container button:hover {
  background-color: #B671D5;
}

.hero .tag-container {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.hero .tag-container .tag {
  padding: 5px 10px;
  margin: 5px;
  background-color: #8221FB; 
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
  position: relative;
}

.hero .tag-container .tag::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(100% + 10px); 
  height: calc(100% + 10px); 
  background: linear-gradient(to bottom, #B671D5, #8221FB); 
  border-radius: 5px;
  opacity: 0.5; 
  z-index: -1; 
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease; 
}

.hero .tag-container .tag:hover {
  background-color: #B671D5; 
}

.hero .tag-container .tag:hover::before {
  opacity: 0.8;
}

.categories {
  padding: 30px 20px;
  background-color: #141414; 
  border-bottom: 1px solid #222; 
}

.categories h2 {
  text-align: center;
  margin-bottom: 50px;
  color: #eee;
  font-size: 36px;
  font-weight: 400px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  justify-items: center;
  margin-bottom: 50px;
}

.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #ddd;
  padding: 35px;

  transition: background-color 0.3s ease, color 0.3s ease;
  position: relative; 
  z-index: 1; 
}

.category-item::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 230px; 
  height: 170px; 
  background: linear-gradient(to bottom, #8221FB, #B671D5); 
  z-index: -1; 
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease; 
}


.category-item img {
  width: 50px;
  height: 50px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.category-item:hover {
  color: #fff;
}

.featured-sellers {
  padding: 30px 20px;
  background-color: #FFFFFF;
}

.featured-sellers h2 {
  text-align: center;
  margin-bottom: 50px;
  color: #141414;
  font-size: 36px;
  font-weight: 400px;
}

.seller-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px;
  margin-left: 30px;
  margin-right: 30px;
}

.seller-card {
  padding: 45px;
  text-align: center;
  border-radius: 5px;
  background-color: #141414; 
}

.seller-card img {
  border: 2px solid #B671D5;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.seller-card h3 {
  margin-bottom: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  color: #ddd;
}

.seller-card p {
  margin-bottom: 20px;
  margin-top: 30px;
  margin-left: 40px;
  margin-right: 40px;
  color: #ccc;
}

.seller-card button {
  padding: 8px 15px;
  background-color: #B671D5;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.seller-card button:hover {
  background-color: #8221FB;
}

.seller-rating {
  color: #ffc107;
  font-size: 0.9em;
}

.seller-card .tags {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.seller-card .tags .tag {
  padding: 5px 8px;
  margin: 0 3px;
  background-color: #8221FB;
  color: #fff;
  border-radius: 3px;
  font-size: 0.8em;
}

footer {
  background-color: #141414; 
  color: #fff;
  text-align: center;
  padding: 20px;
  border-top: 1px solid #222; 
}

/* Chatbot styles */
#chat-bot-container {
  position: fixed;
  margin-bottom: 10px;
  bottom: 20px;
  right: 20px;
  width: 300px;
  height: 450px;
  border: 1px solid #000000;
  border-radius: 5px;
  background-color: #141414; 
  display: flex;
  flex-direction: column;
}

#chat-bot-header {
  background-color: #B671D5; 
  color: #fff;
  padding: 10px;
  text-align: center;
  border-radius: 5px 5px 0 0;
  cursor: move;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#chat-bot-close-button {
  background-color: transparent;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1em;
}

#chat-bot-messages {
  padding: 20px;
  flex-grow: 1;
  overflow-y: auto;
  color: #fff;
}

#chat-bot-input-area {
  display: flex;
  padding: 10px;
  border-top: 1px solid #555;
}

#chat-bot-input {
  flex-grow: 1;
  padding: 8px;
  border: 1px solid #555;
  border-radius: 3px;
  background-color: #444;
  color: #fff;
}

#chat-bot-send-button {
  padding: 8px 15px;
  background-color: #B671D5;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 3px;
  margin-left: 8px;
}

#chat-bot-toggle-button {
  position: absolute;
  bottom: -30px;
  left: 0;
  width: 100%;
  padding: 8px;
  background-color: #B671D5; 
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 0 0 5px 5px;
}

.chat-bot-message {
  margin-bottom: 15px;
  padding: 18px;
  border-radius: 15px;
}

.chat-bot-message.user {
  background-color: #444;
  text-align: right;
}

.chat-bot-message.bot {
  background-color: #555;
  text-align: left;
}

header .logo {
  display: flex;
  align-items: center;
  font-size: 1.5em;
  font-weight: bold;
  color: #673ab7; 
}

header .logo img {
  height: 25px; 
  margin-right: 10px;
}