.vape-sidebar {
  background: #fff !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
  padding: 20px !important;
  margin-bottom: 20px !important;
}

.vape-sidebar-title {
  font-size: 18px !important;
  font-weight: 600 !important;
  margin-bottom: 20px !important;
  color: #333 !important;
}

.vape-categories-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.vape-category-item {
  display: flex;
  align-items: center !important;
  padding: 12px 15px !important;
  background: #fff !important;
  border: 1px solid #e9ecef !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  position: relative !important;
}

.vape-category-item:hover {
  background-color: #f8f9fa !important;
  border-color: #dee2e6 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.vape-category-item.vape-active {
  background-color: #0a6629ff !important;
  color: white !important;
  border-color: #28a745 !important;
  box-shadow: 0 2px 12px rgba(40, 167, 69, 0.3) !important;
}

.vape-category-item.vape-active .vape-category-name {
  color: white !important;
}

.vape-category-icon {
  width: 40px !important;
  height: 40px !important;
  background: #f8f9fa !important;
  border-radius: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-right: 12px !important;
  flex-shrink: 0 !important;
  overflow: hidden !important;
}

.vape-category-item.vape-active .vape-category-icon {
  background: rgba(255, 255, 255, 0.2) !important;
}

.vape-category-icon img {
  width: 24px !important;
  height: 24px !important;
  object-fit: contain !important;
  border-radius: 4px !important;
}

.vape-category-icon i {
  font-size: 18px !important;
  color: #dc3545 !important;
  transition: color 0.3s ease !important;
}

.vape-category-item.vape-active .vape-category-icon i {
  color: white !important;
}

.vape-category-name {
  font-size: 14px !important;
  font-weight: 500 !important;
  margin: 0 !important;
  color: #333 !important;
  flex-grow: 1 !important;
  transition: color 0.3s ease !important;
}

.vape-product-count {
  font-size: 12px !important;
  color: #666 !important;
  opacity: 0.7 !important;
}

.vape-category-item.vape-active .vape-product-count {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* Responsive design */
@media (max-width: 768px) {
  .vape-sidebar {
    margin-bottom: 15px !important;
  }

  .vape-category-item {
    padding: 10px 12px !important;
  }

  .vape-category-icon {
    width: 35px !important;
    height: 35px !important;
    margin-right: 10px !important;
  }

  .vape-category-icon img {
    width: 20px !important;
    height: 20px !important;
  }

  .vape-category-icon i {
    font-size: 16px !important;
  }

  .vape-category-name {
    font-size: 13px !important;
  }
}

/* Main Content Area */
.main-content {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 2rem;
}

/* Header Section */
.products-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.products-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
}

.products-count {
  color: #6c757d;
  font-weight: 400;
}

.sort-dropdown {
  min-width: 150px;
}

/* Filter Pills */
.filter-pills {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-pill {
  padding: 0.5rem 1rem;
  border: 1px solid #dee2e6;
  border-radius: 20px;
  background-color: #f8f9fa;
  color: #6c757d;
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.filter-pill:hover {
  border-color: #027e29;
  color: #028c32;
  text-decoration: none;
}

.filter-pill.active {
  background-color: #04902e;
  border-color: #025a14;
  color: #ffffff;
}

.filter-pill.more {
  position: relative;
}

/* Product Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

/* Product Card */
.product-card {
  background-color: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 1rem;
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
}

.product-card:hover {
  border-color: #05a505;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.15);
  transform: translateY(-2px);
}

.product-image-container {
  text-align: center;
  position: relative;
}

.product-image {
  width: 100%;
  max-width: 170px !important;
  height: 170px !important;
  object-fit: contain;
  border-radius: 6px;
}

.product-title {
  font-size: 0.9rem;
  color: #333;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  text-align: left;
}

.product-price {
  font-size: 1rem;
  font-weight: 700;
  color: black;
  gap: 0.5rem;
  float: left;
  margin-top: 14px;
  margin-right: 1px;
}
.product-brand {
  font-size: 1rem;
  color: #03922b;
  gap: 0.5rem;
  float: left;
  margin-right: 1px;
  position: absolute;
  top: 250px;
}

.price-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #048b11;
}

/* Quick Add Button */
.quick-add-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border: none;
  background-color: #f8f9fa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 0.75rem;
}

.product-card:hover .quick-add-btn {
  opacity: 1;
}

.quick-add-btn:hover {
  background-color: #06a734;
  color: white;
}

/* Mobile Sidebar Toggle */
.mobile-sidebar-toggle {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1000;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1040;
  display: none;
}

.sidebar-mobile {
  position: fixed;
  top: 0;
  left: -100%;
  width: 280px;
  height: 100%;
  background-color: white;
  z-index: 1050;
  transition: left 0.3s ease;
  overflow-y: auto;
  padding: 20px;
}

.sidebar-mobile.show {
  left: 0;
}

/* Responsive Design */
@media (min-width: 992px) {
  .mobile-sidebar-toggle {
    display: none;
  }
}

@media (max-width: 991px) {
  .sidebar {
    display: none;
  }

  .main-content {
    padding: 1.5rem;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .main-content {
    padding: 0px !important;
  }

  .products-header {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .products-title {
    font-size: 1.25rem;
    text-align: center;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.75rem;
  }

  .product-card {
    padding: 0.75rem;
  }

  .filter-pills {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.5rem;
  }

  .product-card {
    padding: 8px !important;
    /* height: 230px !important; */
  }

  .product-image {
    max-width: 80px;
    height: 80px;
  }

  .product-title {
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
  }

  .product-price {
    font-size: 0.9rem;
  }

  .filter-pills {
    gap: 0.25rem;
  }

  .filter-pill {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
  }
}

/* Loading Animation */
.loading-skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: 4px;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
