body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f8f8f8;
  color: #222;
}

/* Header and Navigation Styles */
header {
  background-color: #fff;
  color: black;
  padding: 0.5rem 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: relative;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 2rem;
  font-weight: bold;
  color: #ff6b35;
  text-decoration: none;
}

nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

nav a {
  color: black;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 5px;
  transition: all 0.3s;
  font-size: 14px;
  position: relative;
}

nav a:hover {
  background-color: #f8f9fa;
  color: #ff6b35;
}

/* Cart Badge Styles */
.cart-badge {
  background-color: #dc3545;
  color: white;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 10px;
  font-weight: bold;
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 16px;
  text-align: center;
  line-height: 1;
}

/* Hamburger Menu Styles */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
  gap: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #333;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Vendor Dropdown Styles */
.vendor-dropdown {
  position: relative;
  display: inline-block;
}

.vendor-dropdown-btn {
  background: none;
  border: none;
  color: black;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 5px;
  transition: all 0.3s;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}

.vendor-dropdown-btn:hover {
  background-color: #f8f9fa;
  color: #ff6b35;
}

.vendor-dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  z-index: 1000;
  border-radius: 5px;
  overflow: hidden;
  top: 100%;
  left: 0;
  margin-top: 5px;
}

.vendor-dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  margin: 0;
  border-radius: 0;
  transition: background-color 0.3s;
}

.vendor-dropdown-content a:hover {
  background-color: #f8f9fa;
  color: #ff6b35;
}

.vendor-dropdown:hover .vendor-dropdown-content {
  display: block;
}

.dropdown-arrow {
  font-size: 12px;
  transition: transform 0.3s;
}

.vendor-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

/* Mobile Navigation Styles */
.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: white;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 1000;
  padding: 1rem 0;
}

.mobile-nav.active {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 12px 2rem;
  color: black;
  text-decoration: none;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.3s;
  position: relative;
}

.mobile-nav a:hover {
  background-color: #f8f9fa;
  color: #ff6b35;
}

.mobile-nav a:last-child {
  border-bottom: none;
}

.mobile-vendor-dropdown {
  border-bottom: 1px solid #f0f0f0;
}

.mobile-vendor-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 12px 2rem;
  background: none;
  border: none;
  color: black;
  text-decoration: none;
  cursor: pointer;
  font-size: 14px;
}

.mobile-vendor-btn:hover {
  background-color: #f8f9fa;
  color: #ff6b35;
}

.mobile-vendor-content {
  display: none;
  background-color: #f8f9fa;
}

.mobile-vendor-content.active {
  display: block;
}

.mobile-vendor-content a {
  padding-left: 3rem;
  background-color: #f8f9fa;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  nav {
    display: none;
  }

  .mobile-nav {
    display: none;
  }

  .mobile-nav.active {
    display: block;
  }

  .header-container {
    padding: 0 1rem;
  }

  .logo {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 0 0.5rem;
  }

  .mobile-nav a {
    padding: 12px 1rem;
  }

  .mobile-vendor-btn {
    padding: 12px 1rem;
  }

  .mobile-vendor-content a {
    padding-left: 2rem;
  }
}

header {
  background: #222;
  color: #fff;
  padding: 1rem 0;
}
nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
}
nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s;
}
nav a:hover {
  color: #fc4a1a;
}
.hero {
  background: linear-gradient(90deg, #fc4a1a 0%, #f7b733 100%);
  color: #fff;
  text-align: center;
  padding: 4rem 1rem 2rem 1rem;
}

/* Shop Styles */
.shop {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.shop h1 {
  text-align: center;
  color: #222;
  margin-bottom: 2rem;
}

/* Search Section */
.search-section {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 2rem;
  margin-bottom: 2rem;
}

.search-form {
  width: 100%;
}

.search-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: end;
}

.search-group {
  display: flex;
  flex-direction: column;
  min-width: 150px;
  flex: 1;
}

.search-group label {
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #333;
  font-size: 0.9rem;
}

.search-group input {
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.search-group input:focus {
  outline: none;
  border-color: #fc4a1a;
  box-shadow: 0 0 0 2px rgba(252, 74, 26, 0.1);
}

.search-btn, .clear-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s;
  min-width: 100px;
}

.search-btn {
  background: #fc4a1a;
  color: white;
}

.search-btn:hover {
  background: #e03d15;
  transform: translateY(-1px);
}

.clear-btn {
  background: #6c757d;
  color: white;
}

.clear-btn:hover {
  background: #5a6268;
  transform: translateY(-1px);
}

/* Results Info */
.results-info {
  background: #fff;
  padding: 1rem 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  margin-bottom: 2rem;
  text-align: center;
  font-weight: bold;
  color: #666;
}

/* Products List */
.products-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.product-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-card h3 {
  padding: 1rem 1rem 0.5rem 1rem;
  margin: 0;
  color: #222;
  font-size: 1.2rem;
}

.product-card p {
  padding: 0 1rem 1rem 1rem;
  margin: 0;
  color: #fc4a1a;
  font-weight: bold;
  font-size: 1.1rem;
}

.product-card .location {
  padding: 0 1rem 0.5rem 1rem;
  margin: 0;
  color: #666;
  font-size: 0.9rem;
}

.add-to-cart {
  width: 100%;
  padding: 1rem;
  background: #fc4a1a;
  color: white;
  border: none;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}

.add-to-cart:hover {
  background: #e03d15;
}

/* Responsive Design */
@media (max-width: 768px) {
  .search-row {
    flex-direction: column;
  }
  
  .search-group {
    min-width: auto;
  }
  
  .products-list {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
  }
}

#featured-products {
  max-width: 1000px;
  margin: 2rem auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  padding: 2rem;
}
footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 1rem 0;
  margin-top: 2rem;
} 

/* Cart Styles */
.cart-list {
  max-width: 700px;
  margin: 2rem auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.cart-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 1.5rem;
  padding-top: 0.5rem;
}
.cart-item:last-child {
  border-bottom: none;
}
.cart-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  background: #f8f8f8;
  border: 1px solid #eee;
}
.cart-item h4 {
  flex: 1;
  margin: 0;
  font-size: 1.1rem;
  color: #222;
}
.cart-item p {
  margin: 0 1rem 0 0;
  color: #ff6b35;
  font-weight: bold;
  font-size: 1rem;
}
.qty-input {
  width: 50px;
  padding: 6px 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  margin-left: 0.5rem;
  text-align: center;
}
.remove-item {
  background: #dc3545;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 8px 14px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s;
}
.remove-item:hover {
  background: #b52a37;
}
@media (max-width: 600px) {
  .cart-list {
    padding: 1rem 0.2rem;
  }
  .cart-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }
  .cart-item img {
    width: 60px;
    height: 60px;
  }
  .cart-item h4, .cart-item p {
    font-size: 1rem;
  }
} 

.analytics-title {
  color: orange;
  margin: 0;
  padding: 1rem 2rem;
} 