/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 30-Dec-2025, 12:44:16 PM
    Author     : nikhil
*/

 .section {
  padding: 20px;
  overflow: hidden;
}

.category-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 100%;
}
.category-container {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0;
  max-width: 100%;
  box-sizing: border-box;
}

/* Hide scrollbar */
.category-container::-webkit-scrollbar {
  display: none;
}
.category-card {
  min-width: 140px; /* IMPORTANT */
  flex-shrink: 0;   /* prevents shrinking */
  background: #fff;
  border-radius: 12px;
  text-align: center;
  padding: 12px;
  text-decoration: none;
  color: #333;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.category-card img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 8px;
}
.scroll-arrow {
  position: absolute;
  z-index: 2;
  background: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  cursor: pointer;
}

.scroll-left {
  left: 0;
}

.scroll-right {
  right: 0;
}
