body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f7f7f7;
  
}

header {
  background: #1e88e5;
  color: white;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}


.logo {
  position: absolute;
  left: 40px; 
  height: 69px; 
  width: auto; 
  object-fit: contain; 
  cursor: pointer;
}

.menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
}

.menu li {
  position: relative;
}

.menu > li {
  margin-left: 20px;
}

.menu a {
  text-decoration: none;
  color: white;
  padding: 10px 15px;
  display: block;
}

.menu a:hover {
  background: #1565c0;
  border-radius: 5px;
}

.submenu {
  position: absolute;
  display: none;
  background: white;
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: 160px;
  border: 1px solid #ccc;
  z-index: 10;
}

.submenu li a {
  color: #333;
}

.dropdown:hover > .submenu {
  display: block;
}

.dropdown-sub:hover > .submenu {
  display: block;
  left: 160px;
  top: 0;
}

.intro-section {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  padding: 30px 10%;
}

.category-sidebar {
  width: 220px;
  background-color: #f8f8f8;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 15px;
}

.category-sidebar h3 {
  text-align: center;
  background-color: #007bff;
  color: white;
  padding: 8px;
  border-radius: 6px;
  font-size: 16px;
  margin-bottom: 10px;
}

.category-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-sidebar li {
  margin: 8px 0;
}

.category-sidebar a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  display: block;
  padding: 8px;
  border-radius: 5px;
  transition: background-color 0.3s, padding-left 0.3s;
}

.category-sidebar a:hover {
  background-color: #e0f0ff;
  padding-left: 12px;
}

.intro-image {
  flex: 1;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.intro-image img {
  width: 62%;
  height: 320px;        
  object-fit: cover;     
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
}

.intro {
  text-align: center;
  padding: 40px 20px;
  background: white;
}

.brand-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 25px 0 40px;
}

.brand-filter button {
  background: #007bff;
  border: 1px solid #ccc;
  border-radius: 25px;
  padding: 8px 18px;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.brand-filter button:hover {
  background: #007bff;
  color: #fff;
  border-color: #007bff;
  transform: scale(1.05);
}

.products {
  padding: 20px;
  text-align: center;
}

.product-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.product {
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  width: 250px;
  padding: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.product img {
  width: 100%;
  border-radius: 8px;
}

.product h3 {
  margin: 10px 0 5px;
}

.product p {
  color: #1e88e5;
  font-weight: bold;
}

.product-section {
  text-align: center;
  padding: 40px 20px;
}

.product-section h2 {
  font-size: 28px;
  margin-bottom: 30px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  padding: 0 40px;
}

button {
  background: #1e88e5;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background: #1565c0;
}

footer {
  background: #1e88e5;
  color: white;
  text-align: center;
  padding: 15px 0;
  margin-top: 30px;
}

#chat-button {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background-color: #007bff;
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s, background-color 0.3s;
  z-index: 1000;
}
#chat-button:hover {
  transform: scale(1.1);
  background-color: #0056b3;
}

#chat-box {
  display: none;
  position: fixed;
  bottom: 95px;
  right: 25px;
  width: 300px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  z-index: 1000;
  font-family: Arial, sans-serif;
}

.chat-header {
  background-color: #007bff;
  color: white;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header button {
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
}

.chat-body {
  padding: 10px;
  font-size: 14px;
  color: #333;
}

.search-bar {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #ccc;
}

.search-bar input {
  border: none;
  outline: none;
  padding: 8px 12px;
  font-size: 14px;
}

.search-bar button {
  background: #007bff;
  color: white;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
}

.search-bar button:hover {
  background: #0056b3;
}

.cart button {
  background: white;
  color: blue;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
}

.cart button:hover {
  background: #0056b3;
}

.tracuu-container {
  text-align: center;
  padding: 50px 20px;
}

.tracuu-container h2 {
  color: #007bff;
  margin-bottom: 10px;
}

.buy-btn {
  display: none;
  background: #007bff;
  color: white;
  border-radius: 5px;
  text-decoration: none;
  transition: 0.3s;
}

.buy-btn:hover {
  background: #0056b3;
}

.search-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  margin-top: 30px;
}

.search-box {
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.search-box label {
  font-weight: bold;
  display: block;
  margin-bottom: 10px;
}

.search-box input {
  width: 80%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.search-box button {
  background: #007bff;
  border: none;
  color: white;
  padding: 10px 15px;
  border-radius: 5px;
  margin-left: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.search-box button:hover {
  background: #0056b3;
}