/* Category Carousel - Main Styling */
.category-carousels {
  padding: 3rem 0;
  background-color: #f8f9fa;
}

.section-title {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 0.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.underline {
  display: block;
  height: 4px;
  width: 80px;
  background: linear-gradient(90deg, #ff7236, #8a9cc2);
  margin: 0.5rem 0 3rem;
  border-radius: 2px;
}

.underline.center {
  margin-left: auto;
  margin-right: auto;
}

.category-carousel-section {
  margin-bottom: 4rem;
  position: relative;
  padding: 1rem;
  border-radius: 12px;
  background-color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.category-title {
  position: relative;
  font-size: 1.75rem;
  color: #333;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  font-weight: 600;
  display: inline-block;
}

.category-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 70%;
  background-color: #ff7236;
  border-radius: 2px;
}

.category-carousel {
  padding: 1rem 0;
}

/* Custom navigation arrows */
.category-carousel .owl-nav button.owl-prev,
.category-carousel .owl-nav button.owl-next {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background-color: #fff !important;
  border-radius: 50%;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  opacity: 0.9;
  z-index: 10;
}

.category-carousel .owl-nav button.owl-prev {
  left: -22px;
}

.category-carousel .owl-nav button.owl-next {
  right: -22px;
}

.category-carousel .owl-nav button.owl-prev:hover,
.category-carousel .owl-nav button.owl-next:hover {
  background-color: #ff7236 !important;
  opacity: 1;
}

.category-carousel .owl-nav button.owl-prev i,
.category-carousel .owl-nav button.owl-next i {
  color: #ff7236;
  font-size: 1.25rem;
  line-height: 44px;
  transition: all 0.3s ease;
}

.category-carousel .owl-nav button:hover i {
  color: #fff;
}

.category-carousel .owl-dots {
  margin-top: 1.5rem;
}

.category-carousel .owl-dots .owl-dot span {
  width: 10px;
  height: 10px;
  margin: 0 5px;
  background-color: #d1d9e6;
  transition: all 0.3s ease;
}

.category-carousel .owl-dots .owl-dot.active span,
.category-carousel .owl-dots .owl-dot:hover span {
  background-color: #ff7236;
  transform: scale(1.2);
}

.view-all-link {
  text-align: center;
  margin-top: 1.5rem;
}

.view-all-link .btn {
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
  background-color: #fff7ed;
  border: 2px solid #ff7236;
  color: #ff7236 !important;
}

.view-all-link .btn:hover {
  background-color: #ff7236;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px #ff723638;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .section-title {
    font-size: 2rem;
  }
  
  .category-title {
    font-size: 1.5rem;
  }
  
  .category-carousel .owl-nav button.owl-prev,
  .category-carousel .owl-nav button.owl-next {
    width: 36px;
    height: 36px;
  }
  
  .category-carousel .owl-nav button.owl-prev i,
  .category-carousel .owl-nav button.owl-next i {
    line-height: 36px;
    font-size: 1rem;
  }
}