/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

/* Title */
.browse-title {
  font-family: 'Inter', sans-serif;
  font-size: 50px;
  font-weight: 600;
  margin-bottom: 40px;
}

/* Swiper carousel */
.category-carousel {
  width: 100%;
  padding: 40px 0;
}

.swiper-wrapper {
  display: flex;
  align-items: center;
}

.swiper-slide {
  display: flex;
  justify-content: center;
}

/* Card */
.category-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  width: 320px;
  max-width: 100%;
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.category-card .card-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 10px;
}

.category-card h2 {
  font-family: 'Inter', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.category-card p {
  font-size: 0.95rem;
  color: #4b5563;
}

/* Button */
.category-card .view-more {
  margin-top: 14px;
  background: #3B82F6;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.25s ease;
}

.category-card .view-more:hover {
  background: #2563EB;
}

/* Hidden details */
.card-details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.3s ease;
  margin-top: 0;
}

.category-card.expanded .card-details {
  max-height: 300px;
  opacity: 1;
  margin-top: 20px;
}

.card-details ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.card-details li {
  background: #f9fafb;
  padding: 12px;
  margin-bottom: 8px;
  border-radius: 8px;
  font-size: 0.95rem;
  text-align: left;
}

/* Swiper navigation */
.swiper-button-next,
.swiper-button-prev {
  color: #3B82F6;
  background: none;
  font-weight: bold;
}
