.elementor-1220 .elementor-element.elementor-element-2f8c232{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}/* Start custom CSS for html, class: .elementor-element-3a4ab05 */.category-section {
  padding: 40px 5%;
  font-family: 'Poppins', sans-serif;
  background: #fff;
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.category-header h3 {
  font-size: 22px;
  font-weight: 700;
  color: #1b1b1b;
}


/* 📱 কন্টেইনার সেটিংস */
.category-container {
  display: flex;
  gap: 20px;
  overflow-x: auto; /* মোবাইলে স্ক্রল করার জন্য */
  padding-bottom: 15px;
  scrollbar-width: none; /* Firefox এর জন্য স্ক্রলবার হাইড */
}

.category-container::-webkit-scrollbar {
  display: none; /* Chrome/Safari এর জন্য স্ক্রলবার হাইড */
}

/* 📦 প্রতিটি ক্যাটাগরি আইটেম */
.cat-item {
  flex: 0 0 auto; /* আইটেমগুলো সঙ্কুচিত হবে না */
  width: 120px;   /* পিসিতে সাইজ */
  text-align: center;
  text-decoration: none;
  transition: 0.3s;
}

.cat-img {
  width: 100px;
  height: 100px;
  margin: 0 auto 10px;
  border-radius: 15px;
  overflow: hidden;
  background: #f4f4f4;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #eee;
  transition: 0.3s;
}

.cat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-item span {
  font-size: 14px;
  font-weight: 600;
  color: #3b3d41;
  display: block;
}

/* হোভার ইফেক্ট */
.cat-item:hover .cat-img {
  border-color: #fc8935;
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(252, 137, 53, 0.2);
}

.cat-item:hover span {
  color: #fc8935;
}

/* ✅ মোবাইল রেসপন্সিভ */
@media (max-width: 576px) {
  .category-section {
    padding: 20px 15px;
  }
  .category-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1b1b1b;
  }
  .cat-img {
    width: 70px;   /* মোবাইলে একটু ছোট */
    height: 70px;
  }
  
  .cat-item {
    width: 60px;
  }

  .cat-item span {
    font-size: 12px;
  }
}
/* ক্যাটাগরি পেজের জন্য গ্রিড লেআউট */
.category-section {
    padding: 60px 5%;
    background: #fdfdfd;
}

.category-container {
    display: grid !important; /* স্ক্রল বন্ধ করে গ্রিড করা হলো */
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); /* অটোমেটিক কলাম সাজাবে */
    gap: 30px;
    overflow: hidden !important; /* স্ক্রলবার হাইড */
    padding-bottom: 20px;
}

.cat-item {
    width: 100% !important; /* গ্রিডের ভেতরে ফুল উইডথ */
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.cat-img {
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
    border-radius: 20px; /* একটু বেশি রাউন্ড দিলে প্রিমিয়াম লাগে */
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    background: #fff;
    border: 1px solid #eee;
}

.cat-item span {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
}

/* হোভার ইফেক্ট */
.cat-item:hover {
    transform: translateY(-8px);
}

.cat-item:hover .cat-img {
    border-color: #fc8935;
    box-shadow: 0 15px 30px rgba(252, 137, 53, 0.15);
}

/* ✅ মোবাইল রেসপন্সিভ (এক লাইনে ২টা করে দেখাবে) */
@media (max-width: 576px) {
    .category-container {
        grid-template-columns: repeat(2, 1fr) !important; /* মোবাইলে ২ কলাম */
        gap: 20px;
    }
    
    .cat-img {
        width: 100px;
        height: 100px;
    }
    
    .category-header h3 {
        font-size: 20px;
    }
}/* End custom CSS */