/* Dynamic shop / category filters sidebar */

.st-shop-filters {
  font-size: 14px;
  color: #333;
}

.st-shop-filters__block {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e8e8e8;
}

.st-shop-filters__block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.st-shop-filters__title {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0b1f3a;
}

.st-shop-filters__group-title {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
}

.st-shop-filters__cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.st-shop-filters__cat-list li {
  margin: 0 0 6px;
}

.st-shop-filters__cat-list a {
  color: #0b1f3a;
  text-decoration: none;
  font-weight: 600;
  line-height: 1.35;
}

.st-shop-filters__cat-list a:hover,
.st-shop-filters__cat-list li.is-active a {
  color: #e85d04;
}

.st-shop-filters__cat-parent a {
  font-weight: 700;
}

.st-shop-filters__options {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  max-height: 200px;
  overflow-y: auto;
}

.st-shop-filters__options li {
  margin: 0 0 6px;
}

.st-shop-filters__options label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  line-height: 1.35;
  font-weight: 500;
}

.st-shop-filters__options input[type="checkbox"] {
  margin-top: 3px;
  accent-color: #e85d04;
  flex-shrink: 0;
}

.st-shop-filters__apply {
  width: 100%;
  margin-top: 4px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.st-shop-filters__active-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.st-shop-filters__active-head .st-shop-filters__title {
  margin: 0;
}

.st-shop-filters__clear {
  font-size: 12px;
  font-weight: 700;
  color: #c8102e;
  text-decoration: none;
  white-space: nowrap;
}

.st-shop-filters__clear:hover {
  text-decoration: underline;
}

.st-shop-filters__chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.st-shop-filters__chips a {
  display: inline-block;
  padding: 5px 10px;
  background: #f1f5f9;
  border: 1px solid #dbe3ec;
  border-radius: 4px;
  color: #0b1f3a;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.st-shop-filters__chips a:hover {
  border-color: #e85d04;
  color: #e85d04;
}

.st-shop-filters__empty {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #64748b;
}

#shop-sidebar .widget_st_shop_filters,
.shop-sidebar .st-shop-filters {
  padding: 0;
}

/* Flatsome left column - no extra page padding; use native grid only */
.st-shop-filters-layout .category-page-row {
  align-items: flex-start;
}

.st-shop-filters-layout #shop-sidebar.sidebar-inner {
  position: sticky;
  top: 120px;
}

.st-shop-filters-offcanvas {
  padding: 20px 18px 28px;
}

@media (min-width: 850px) {
  .st-shop-filters-layout .category-filter-row .filter-button {
    display: none !important;
  }
}

@media (max-width: 849px) {
  .st-shop-filters-layout #shop-sidebar .st-shop-filters__options {
    max-height: none;
  }
}
