body {
  background-color: #f6f8fa;
  font-family: 'Segoe UI', sans-serif;
  padding-bottom: 70px;
}

/* Header Styles */
.store-header {
  background: rgb(241, 240, 240);
  padding: 15px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1000;
}
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}
.store-logo {
  width: 180px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.store-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Navigation Styles */
.desktop-nav {
  display: none;
}

/* Product Card Styles */
.product-card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(30, 64, 175, 0.08);
  transition: transform 0.3s cubic-bezier(.4,2,.3,1), box-shadow 0.3s;
  background: #fff;
  position: relative;
  margin-bottom: 20px;
  height: 100%;
}
.product-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px rgba(30, 64, 175, 0.18);
  border: 1.5px solid #1976d2;
}
.product-card img {
  border-radius: 12px 12px 0 0;
  border-bottom: 2px solid #e3eafc;
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.card-title {
  font-size: clamp(0.9rem, 2.5vw, 1.2rem);
  font-weight: 600;
  color: #1976d2;
  line-height: 1.3;
}
.card-text {
  font-size: clamp(0.75rem, 2vw, 0.95rem);
  color: #555;
  line-height: 1.4;
}
.badge.bg-light.text-dark {
  font-size: clamp(0.65rem, 1.8vw, 0.8rem);
  padding: 4px 8px;
  margin: 1px;
  transition: all 0.2s ease;
}
.badge.bg-light.text-dark:hover {
  background: #1976d2 !important;
  color: #fff !important;
  border: 1px solid #1976d2;
}

/* Bottom Navigation */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  border-top: 1px solid #eaeaea;
}

.bottom-nav-item {
  flex: 1;
  text-align: center;
  padding: 10px 0;
  color: #666;
  transition: all 0.3s;
  text-decoration: none;
}

.bottom-nav-item.active {
  color: #1976d2;
}

.bottom-nav-item i {
  font-size: 1.2rem;
}

.bottom-nav-item span {
  display: block;
  font-size: 0.7rem;
  margin-top: 2px;
}

/* Search Box Styles */
.search-container {
  position: relative;
  margin-bottom: 25px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.search-input {
  width: 100%;
  padding: 12px 50px 12px 20px;
  border-radius: 25px;
  border: 1px solid #ddd;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.search-input:focus {
  border-color: #1976d2;
  box-shadow: 0 4px 12px rgba(25, 118, 210, 0.15);
  outline: none;
}

.col-md-8 {
  position: relative;
}

.search-icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #777;
  font-size: 1.2rem;
  z-index: 10;
}

.search-spinner {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #1976d2;
  display: none;
  z-index: 10;
}

/* Category Select */
.form-select {
  border-radius: 25px;
  padding: 12px 20px;
  border: 1px solid #ddd;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  height: 100%;
  width: 100%;
}

.form-select:focus {
  border-color: #1976d2;
  box-shadow: 0 4px 12px rgba(25, 118, 210, 0.15);
  outline: none;
}

/* No Results */
.no-results {
  text-align: center;
  padding: 40px 0;
  width: 100%;
}

/* Section Title */
.section-title {
  position: relative;
  margin-bottom: 30px;
  text-align: center;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: #1976d2;
}

/* Desktop Styles */
@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
  
  .desktop-nav {
    display: flex;
    margin-left: auto;
  }
  
  .desktop-nav a {
    color: #333;
    margin-left: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.2s ease;
  }
  
  .desktop-nav a:hover {
    color: #1976d2;
  }
  
  .desktop-nav a.active {
    color: #1976d2;
    position: relative;
  }
  
  .desktop-nav a.active:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #1976d2;
  }
  
  .product-card img {
    height: 250px !important;
  }
  
  .card-body {
    padding: 1.5rem !important;
  }
  
  .container {
    max-width: 1340px;
  }
}

/* Mobile Styles */
@media (max-width: 991px) {
  .bottom-nav {
    display: block;
  }
  
  .container {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .row {
    margin-left: -5px;
    margin-right: -5px;
  }
  .col-6 {
    padding-left: 5px;
    padding-right: 5px;
  }
  .product-card {
    margin-bottom: 10px;
  }
  .store-header {
    padding: 12px 15px;
  }
  .store-logo {
    width: 140px;
  }
  
  /* Center logo on mobile */
  .header-content {
    justify-content: center;
  }
  .store-logo {
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .search-container .row {
    flex-direction: column;
  }
  
  .search-container .col-md-8,
  .search-container .col-md-4 {
    width: 100%;
    max-width: 100%;
  }
  
  .search-icon,
  .search-spinner {
    right: 15px;
  }
}