/* === Catalog Custom Styles === */
.catalogue-page {
  background: #f8f9fa;
}

.catalogue-page h1 {
  font-weight: 600;
  margin-bottom: 1rem;
}

/* === Header Catalog === */
.catalogue-header {
  z-index: 1040;
  transition: all 0.3s ease;
}

.catalogue-header .navbar-brand span {
  font-size: 1.25rem;
}

.catalogue-header input[type="search"] {
  border: 1px solid #dee2e6;
  transition: all 0.2s ease;
}
.catalogue-header input[type="search"]:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.2rem rgba(13,110,253,0.25);
}

.catalogue-header .btn-outline-secondary {
  border-radius: 50%;
  width: 40px;
  height: 40px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.catalogue-header .btn-outline-secondary.active,
.catalogue-header .btn-outline-secondary:hover {
  background: #0d6efd;
  color: #fff;
}

#compare-btn {
  border-radius: 50px;
  font-weight: 500;
}
#compare-btn .badge {
  font-size: 0.75rem;
  padding: 0.35rem 0.45rem;
}


/* Sidebar */
.catalogue-page .accordion-button {
  font-weight: 500;
  background: #fff;
}
.catalogue-page .accordion-body {
  padding: 0.75rem 1rem;
}

/* Chips active filters */
#active-filters {
  display: flex;
  flex-wrap: wrap;
}
#active-filters .badge {
  background-color: #0d6efd;
  color: #fff;
  margin: 0 0.5rem 0.5rem 0;
  padding: 0.5rem 0.75rem;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: background 0.2s;
}
#active-filters .badge:hover {
  background-color: #0b5ed7;
}

/* Product cards */
.product-card .card {
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid #dee2e6;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.product-card img {
  height: 200px;
  object-fit: cover;
}

/* List view */
.list-view .product-card {
  flex: 0 0 100%;
}
.list-view .product-card .card {
  display: flex;
  flex-direction: row;
  height: auto;
}
.list-view .product-card img {
  width: 200px;
  height: 100%;
  object-fit: cover;
}
.list-view .card-body {
  flex: 1;
}

/* Compare Tray */
.compare-tray {
  position: fixed;
  bottom: -120px;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 2px solid #0d6efd;
  transition: bottom 0.3s ease;
  z-index: 1050;
}
.compare-tray.show {
  bottom: 0;
}

/* Pagination */
.catalogue-page .pagination .page-link {
  border-radius: 0.5rem;
}