* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Quicksand, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: #fff;
  scroll-behavior: smooth;
}

.header {
  width: 100%;
  background-color: rgb(255 255 255 / 92%);
  box-shadow: 0 2px 8px rgb(0 0 0 / 10%);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: box-shadow 0.3s ease;
  min-height: 60px;
  display: flex;
  flex-direction: column;
}

/* Top Bar Styles */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 120px;
  background-color: rgb(255 255 255 / 92%);
  border-bottom: 1px solid rgb(173 173 173 / 17%);
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 60px;
  height: 60px;
}

.logo-text h1 {
  font-size: 28px;
  font-weight: 700;
  color: #253D4E;
  margin: 0;
}

/* Search Container */
.search-container {
  flex: 1;
  max-width: 600px;
  margin: 0 40px;
  position: relative;
  display: flex;
}

.search-input {
  width: 100%;
  padding: 12px 20px;
  border: 1px solid #e0e0e0;
  border-radius: 4px 0 0 4px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s;
}

.search-input:focus {
  border-color: #3BB77E;
}

.search-input::placeholder {
  color: #adadad;
}

.search-button {
  padding: 12px 24px;
  background-color: #3BB77E;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
}

.search-button:hover {
  background-color: #2ea56b;
}

/* Header Icons */
.header-icons {
  display: flex;
  gap: 24px;
  align-items: center;
}

.icon-item {
  position: relative;
  cursor: pointer;
  transition: transform 0.2s;
}

.icon-item:hover {
  transform: translateY(-2px);
}

.badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: #3BB77E;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  border: 2px solid white;
}

.cart-badge {
  background-color: #3BB77E;
}

/* Bottom Bar Styles */
.bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 120px;
  background-color: rgb(255 255 255 / 92%);
  height: 72px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.browse-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background-color: #3BB77E;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.browse-btn:hover {
  background-color: #2ea56b;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  margin: 0;
}

.nav-links li a {
  text-decoration: none;
  color: #253D4E;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #3BB77E;
}

.nav-links li a.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #3BB77E;
}

/* Contact Info */
.contact-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-info span {
  font-size: 16px;
  font-weight: 600;
  color: #253D4E;
}

.contact-info .hours {
  font-size: 12px;
  font-weight: 400;
  color: #7E7E7E;
}

/* Responsive Design */
@media (width <= 1200px) {
  .top-bar,
  .bottom-bar {
      padding: 15px 60px;
  }
}

@media (width <= 992px) {
  .top-bar {
      flex-wrap: wrap;
      gap: 20px;
  }

  .search-container {
      order: 3;
      flex-basis: 100%;
      margin: 0;
  }

  .nav-links {
      gap: 20px;
  }

  .nav-links li a {
      font-size: 13px;
  }
}

@media (width <= 768px) {
  .top-bar,
  .bottom-bar {
      padding: 15px 20px;
  }

  .logo-text h1 {
      font-size: 22px;
  }

  .nav-links {
      display: none;
  }

  .bottom-bar {
      justify-content: space-between;
  }

  .contact-info .hours {
      display: none;
  }
}
