/* Category Header */
.category-header {
  background: #fff7ed;
  border-left: 4px solid var(--accent);
  border-radius: 16px;
}

/* List View Styles */
.list-view {
  flex-direction: row !important;
  height: auto;
}

.list-view .card-img-top {
  width: 200px;
  height: 200px;
  border-radius: 0;
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
}

.list-view .card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Filter Sidebar */
.filter-sidebar .list-group-item {
  transition: all 0.2s;
  border-radius: 10px;
  border: 1px solid var(--outline);
  margin-bottom: 0.4rem;
}

.filter-sidebar .list-group-item:hover {
  background-color: var(--primary);
  color: var(--primary-ink);
}

/* Featured Carousel */
.owl-carousel .owl-nav button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 118, 110, 0.9) !important;
  color: #ffffff !important;
  width: 40px;
  height: 40px;
  border-radius: 50% !important;
}

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

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

/* Category header icon size */
.category-header-icon {
    width: 60px;
}

/* Category header banner image */
.category-header-banner {
    max-height: 220px;
    object-fit: cover;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .list-view {
    flex-direction: column !important;
  }
  
  .list-view .card-img-top {
    width: 100%;
    height: 200px;
    border-radius: 0;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
  }
  
  .category-header .d-flex {
    flex-direction: column;
    text-align: center;
  }
  
  .category-header img {
    margin: 0 auto 15px;
  }
}

@media (max-width: 576px) {
  .product-card .card-img-top {
    height: 200px;
  }

  .product-card-actions .btn {
    font-size: 0.8rem;
    padding: 0.45rem 0.6rem;
    white-space: nowrap;
  }
}

@media (min-width: 992px) {
  .product-card {
    min-height: 420px;
  }
}

.product-card-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
}

.product-card-actions .btn {
  font-size: 0.85rem;
  padding: 0.5rem 0.7rem;
  white-space: nowrap;
}

.product-card-actions .btn-cart {
  padding: 0.5rem 0.6rem;
}
