.products-scroll-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 20px 10px;
  scrollbar-width: thin;
  scrollbar-color: #888 #f1f1f1;
}

.products-scroll-container::-webkit-scrollbar {
  height: 8px;
}

.products-scroll-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.products-scroll-container::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

.products-scroll-container::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.product-card {
  min-width: 250px;
  max-width: 250px;
  flex-shrink: 0;
}

.product-slider-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s;
}

.product-slider-card:hover {
  transform: translateY(-5px);
}

.product-slider-card-img {
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: #f5f5f5;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-slider-card-img img.beads-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.product-slider-card-content {
  padding: 10px 5px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.beads-sub-name {
  font-size: 12px;
  color: #666;
  margin-bottom: 5px;
}

.beads-name {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-bottom: 8px;
  line-height: 1.4;
  min-height: 40px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.beads-price {
  margin-top: auto;
}

.price-container {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.price-mrp {
  font-size: 12px;
  color: #999;
  text-decoration: line-through;
}

.price-selling {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.scroll-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 10px;
}

.scroll-btn {
  background: #333;
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.scroll-btn:hover {
  background: #555;
}

.scroll-btn i {
  font-size: 18px;
}

.category-tab-link {
  cursor: pointer;
  transition: all 0.3s;
}

.category-tab-link.active-a {
  font-weight: bold;
  border-bottom: 2px solid #333;
}

.loading-spinner {
  text-align: center;
  padding: 40px;
  font-size: 18px;
  color: #666;
}

/* Scrollable Tab Menu */
.tab-menu {
  position: relative;
  overflow: hidden;
}

.tab-menu ul {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0;
  scrollbar-width: thin;
  scrollbar-color: #888 #f1f1f1;
  white-space: nowrap;
}

.tab-menu ul::-webkit-scrollbar {
  height: 6px;
}

.tab-menu ul::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.tab-menu ul::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

.tab-menu ul::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.tab-menu li {
  flex-shrink: 0;
}

.tab-menu a {
  display: block;
  padding: 8px 16px;
  white-space: nowrap;
}
