.crt-hero-bg {
  background: #F2F8FF;
  width: 100%;
  padding-bottom: 25px;
  /* space for search overlap */
}

.crt-nav {
  padding: 60px 0 40px;
  border: none;
}

.crt-title {
  color: #0d6efd;
  font-weight: 700;
  font-size: 38px;
  margin: 0;
}

.crt-breadcrumb {
  color: #0d6efd;
  font-size: 13px;
  margin-bottom: 20px;
}

/* Toolbar overlaying hero edge */
.crt-search-wrapper {
  margin-top: -25px;
  margin-bottom: 30px;
}

.crt-search {
  display: flex;
  border: 1px solid #cfe0ff;
  border-radius: 0;
  overflow: hidden;
  height: 50px;
  background: #fff;
}

.crt-search input {
  border: 0;
  outline: 0;
  padding: 10px 16px;
  flex: 1;
  background: #fff;
  color: #0d6efd;
  font-size: 15px;
}

.crt-search input::placeholder {
  color: #a7c5ff;
}

.crt-search button {
  width: 50px;
  border: 0;
  background: #0d6efd;
  color: #fff;
  border-radius: 50%;
  margin: 6px;
  height: 38px;
  width: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Results & view toggles replacing toolbar */
.crt-results-bar {
  margin-top: 40px;
  margin-bottom: 30px;
}

.crt-results {
  color: #0d6efd;
  font-weight: 700;
  font-size: 15px;
}

.crt-grid-toggles i {
  color: #8ab0ff;
  cursor: pointer;
  font-size: 20px;
}

.crt-grid-toggles i.active,
.crt-grid-toggles i:hover {
  color: #0d6efd;
}

.crt-toggle {
  background: #F2F8FF;
  border: none;
  border-radius: 0;
  padding: 12px 20px;
  color: #0d6efd;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

.crt-toggle:hover {
  background: #eef5ff;
}

/* ===== Filter Sidebar (slides from left) ===== */
.crt-sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1040;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.crt-sidebar-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.crt-sidebar {
  position: fixed;
  top: 0;
  left: -400px;
  width: 380px;
  height: 100%;
  background: #F2F8FF;
  z-index: 1050;
  overflow-y: auto;
  padding: 0 28px 40px;
  transition: left 0.3s ease;
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
}

.crt-sidebar.open {
  left: 0;
}

/* Sidebar header */
.crt-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid #e8f0ff;
  margin-bottom: 20px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.crt-sidebar-back {
  color: #1e63e6;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.crt-sidebar-title {
  color: #1e63e6;
  font-weight: 700;
  font-size: 16px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.crt-sidebar-done {
  color: #1e63e6;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

/* Sidebar search */
.crt-sidebar-search {
  display: flex;
  border: 1px solid #d1e2ff;
  border-radius: 50px;
  overflow: hidden;
  margin-bottom: 24px;
}

.crt-sidebar-search input {
  border: 0;
  outline: 0;
  padding: 10px 16px;
  flex: 1;
  font-size: 13px;
}

.crt-sidebar-search button {
  width: 40px;
  height: 40px;
  border: 0;
  background: #0d6efd;
  color: #fff;
  border-radius: 50%;
  margin: 3px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

/* Filter groups */
.crt-filter-group {
  margin-bottom: 24px;
}

.crt-filter-label {
  color: #1e63e6;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 12px;
}

.crt-chip-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.crt-chip {
  border: 1px solid #d1e2ff;
  padding: 10px 18px;
  border-radius: 1px;
  background: #fff;
  color: #1e63e6;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.crt-chip:hover,
.crt-chip.selected {
  background: #1e63e6;
  color: #fff;
  border-color: #1e63e6;
}

.crt-see-all {
  color: #1e63e6;
  font-size: 12px;
  font-weight: 600;
  margin-top: 10px;
  cursor: pointer;
}

/* Sort buttons */
.crt-sort-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.crt-sort-btn {
  border: 2px solid #1e63e6;
  background: #fff;
  color: #1e63e6;
  padding: 12px 8px;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s;
}

.crt-sort-btn:hover,
.crt-sort-btn.active {
  background: #1e63e6;
  color: #fff;
}

/* Price range */
.crt-price-row {
  display: flex;
  justify-content: space-between;
  color: #1e63e6;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}

.crt-range {
  width: 100%;
  accent-color: #1e63e6;
}

/* Grid toggle: 2-column view */
.crt-grid.view-2 .col-md-4 {
  flex: 0 0 50%;
  max-width: 50%;
}

/* Products Cards */
.crt-card {
  background: #fff;
  border: none;
  border-radius: 0;
  display: flex;
  flex-direction: column;
}

.crt-card-top {
  height: 260px;
  background: #F2F8FF;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.crt-card-heart {
  position: absolute;
  top: 20px;
  left: 20px;
  color: #0d6efd;
  font-size: 18px;
  cursor: pointer;
}

.crt-card-img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  opacity: 0.6;
}

.crt-card-body {
  padding: 24px 0;
  text-align: left;
  background: #fff;
}

.crt-card-name {
  color: #0d6efd;
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 12px;
}

.crt-card-price {
  color: #0d6efd;
  font-weight: 700;
  font-size: 15px;
}

@media(max-width: 768px) {
  .crt-sidebar {
    width: 100%;
    left: -100%;
  }
}



@media (max-width: 576px) {
  .crt-title {
    font-size: 30px;
  }

  .crt-toolbar {
    flex-wrap: wrap;
  }

  .crt-toggle {
    width: 100%;
  }
}