/* Wrapper */
.bc-widget-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.bc-widget-body {
  font-size: 14px;
}

/* ── Scrollable filter sections ── */
.filter-collapsible,
.bc-widget-body .bc-cat-list,
.widget_layered_nav .widget-body,
.widget_product_status .widget-body {
  max-height: 300px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
}

.filter-collapsible::-webkit-scrollbar,
.bc-widget-body .bc-cat-list::-webkit-scrollbar,
.widget_layered_nav .widget-body::-webkit-scrollbar,
.widget_product_status .widget-body::-webkit-scrollbar {
  width: 5px;
}

.filter-collapsible::-webkit-scrollbar-track,
.bc-widget-body .bc-cat-list::-webkit-scrollbar-track,
.widget_layered_nav .widget-body::-webkit-scrollbar-track,
.widget_product_status .widget-body::-webkit-scrollbar-track {
  background: transparent;
}

.filter-collapsible::-webkit-scrollbar-thumb,
.bc-widget-body .bc-cat-list::-webkit-scrollbar-thumb,
.widget_layered_nav .widget-body::-webkit-scrollbar-thumb,
.widget_product_status .widget-body::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 4px;
}

/* Attribute group sections within filter */
.attribute-group {
  margin-bottom: 12px;
}

.attribute-group .attribute-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

/* ── Mobile sidebar filter sections ── */
@media (max-width: 991px) {
  .filter-collapsible,
  .bc-widget-body .bc-cat-list,
  .widget_layered_nav .widget-body,
  .widget_product_status .widget-body {
    max-height: 220px;
  }
}

/* List */
.bc-cat-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bc-cat-item {
  margin-bottom: 6px;
}

/* Row */
.bc-cat-row {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

/* Checkbox */
.bc-cat-row input[type="checkbox"] {
  width: 14px;
  height: 14px;
  cursor: pointer;
}

/* Label */
.bc-cat-row label {
  cursor: pointer;
  flex: 1;
  user-select: none;
}

/* Toggle */
.bc-toggle {
  width: 18px;
  height: 18px;
  text-align: center;
  cursor: pointer;
  line-height: 18px;
  font-size: 16px;
  font-weight: normal;
  font-style: normal;
  color: #636363;
  -webkit-font-smoothing: antialiased;
  font-variant: normal;
}

.bc-plus::before {
  content: "+";
  font-style: normal;
  color: #636363;
  -webkit-font-smoothing: antialiased;
  font-variant: normal;
}

.bc-minus::before {
  content: "−";
}

/* Children */
.bc-sub-list {
  padding-left: 22px;
  transition: height 0.3s ease;
}

/* Animation helper */
.bc-sub-list.open {
  overflow: hidden;
}

/* ===== Base ===== */
.bc-mobile-sidebar {
  background: #fff;
  padding: 1em;
  display: none;
}

/* Overlay */
.bc-sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease;
  z-index: 998;
}

/* Close link above content */
.bc-sidebar-close {
  display: none;
  position: absolute;
  top: 16px;
  right: 16px;
  text-decoration: none;
  font-size: 28px;
  color: #333;
  cursor: pointer;
  margin-bottom: 1em; /* pushes content down */
}

.bc-sidebar-body {
  margin-top: 32px; /* space for close link */
}
/* ===== Mobile behavior ===== */
@media (max-width: 991px) {
  .bc-mobile-sidebar {
    position: fixed;
    display: block;
    top: 0;
    left: 0;
    width: 90%;
    max-width: 360px;
    height: 100vh;
    transform: translateX(-100%);
    transition: transform .35s ease;
    z-index: 999;
    overflow-y: auto;
    box-shadow: 4px 0 20px rgba(0,0,0,.15);
  }

  .bc-mobile-sidebar.active {
    transform: translateX(0);
  }

  .bc-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .bc-sidebar-close {
    display: block;
  }
}

/* ===== Desktop behavior ===== */
@media (min-width: 992px) {
  .bc-mobile-sidebar {
    position: static;
    transform: none !important;
    height: auto;
    box-shadow: none;
  }

  .bc-sidebar-overlay {
    display: none;
  }

  .bc-sidebar-close {
    display: none;
  }
}


/* ===== Hero Breadcrumb Card ===== */
.hero-card {
  background-color: #2563eb;
  color: #fff;
  padding: 2rem 1.5rem;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  margin: 1.5rem 0;
  width: 100%;
  text-align: left;
}

/* Breadcrumb small text */
.breadcrumb-top .breadcrumb-small {
  font-size: 0.85rem;
  opacity: 0.8;
  display: block;
  margin-bottom: 0.25rem;
}

/* Page title */
.breadcrumb-title {
  font-size: 2rem;
  margin: 0.25rem 0 0.5rem 0;
  font-weight: 700;
  line-height: 1.2;
}

/* Discover text */
.breadcrumb-text {
  font-size: 0.9rem;
  opacity: 0.9;
  margin: 0;
}

/* ===== Responsive ===== */
@media (max-width: 576px) {
  .hero-card {
    padding: 1.5rem 1rem;
  }

  .breadcrumb-title {
    font-size: 1.5rem;
  }

  .breadcrumb-top .breadcrumb-small,
  .breadcrumb-text {
    font-size: 0.8rem;
  }
}


/* Container */
.wc-brand-list-layered-nav-product_brand {
  list-style: none;
  padding: 0;
  margin: 0;
}


.wc-brand-list-layered-nav-product_brand li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1px 1px;
  cursor: pointer;
  transition: background 0.2s;
}

.wc-brand-list-layered-nav-product_brand li:hover {
  background-color: #f9f9f9;
}


.wc-brand-list-layered-nav-product_brand li label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  flex-grow: 1;
}


.wc-brand-list-layered-nav-product_brand li input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}


.wc-brand-list-layered-nav-product_brand li .count {
  font-size: 0.875rem;
  color: #888;
  flex-shrink: 0;
}

/* Mobile responsive */
@media (max-width: 767px) {
  .wc-brand-list-layered-nav-product_brand li {
    padding: 1px;
  }

  .wc-brand-list-layered-nav-product_brand li .count {
    font-size: 0.75rem;
  }
}

            /* You’re not using Bootstrap, so those col-* classes do nothing.
   Force a 2-column layout using flex on the wrapper. */

.content-wrapper{
  display: flex !important;
  align-items: flex-start;
  gap: 30px;               /* optional spacing */
}

/* If you want the sidebar on the LEFT, keep row-reverse (it reverses order) */
.content-wrapper.row-reverse{
  flex-direction: row-reverse;
}

/* Make sure neither column can “push” the other below */
#primary{
  flex: 1 1 auto;
  min-width: 0;            /* IMPORTANT: prevents overflow from forcing wrap */
}

#sidebar{
  flex: 0 0 320px;         /* sidebar fixed width */
  width: 320px;
  max-width: 100%;
}

/* If you prefer percentage widths instead of fixed sidebar width, use this instead:
#primary{ flex: 0 0 75%; max-width: 75%; min-width:0; }
#sidebar{ flex: 0 0 25%; max-width: 25%; }
*/

/* Mobile: stack */
@media (max-width: 991px){
  .content-wrapper{
    flex-direction: column;
  }
  .content-wrapper.row-reverse{
    flex-direction: column; /* stack on mobile too */
  }
  #sidebar{
    width: 100%;
    flex: 0 0 auto;
  }
}

/* Kill any theme floats/clears that could break the row */
.content-wrapper > #primary,
.content-wrapper > #sidebar{
  float: none !important;
  clear: none !important;
}

/* If the products grid is “too wide” and causing wrapping, contain it */
.shop-products-wrapper,
.products{
  max-width: 100%;
  overflow: hidden;
}
 .content-wrapper{
    display: flex !important;
    flex-direction: row-reverse !important;
    align-items: flex-start;
  }