.np-sidebar {
  position: sticky;
  top: 16px;
  align-self: start;
}

.np-sidebar__widgets {
  margin-bottom: 12px;
}

/* Shared box style (used by widgets + controls)
   Anchor: Sidebar Box */
.np-sidebar__box,
.np-sidebar .widget {
  border: 1px solid var(--np-border);
  border-radius: var(--np-radius);
  padding: 12px;
  margin-bottom: 12px;
}

/* Widgets */
.np-sidebar .widget-title {
  margin: 0 0 10px 0;
  font-size: 14px;
}

/* Make product category widget look nice */
.widget_product_categories ul {
  margin: 0;
  padding-left: 18px;
}
.widget_product_categories li {
  margin: 6px 0;
}

/* Filter checkbox */
.np-filter__check {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
}

/* Controls (single frame)
   Anchor: Sidebar Controls Single Box */
.np-sidebar__box--controls {
  padding: 0;           /* we handle padding per row */
  overflow: hidden;     /* keep dividers clean on rounded corners */
}

.np-controls__row {
  padding: 12px;
}

/* Controls (single frame)
   Anchor: Sidebar Controls Single Box */
.np-sidebar__box--controls {
  padding: 0;
  overflow: hidden;
}

/* Sections */
.np-controls__section {
  padding: 12px;
}

/* Divider only between sections (not per filter row) */
.np-controls__divider {
  height: 1px;
  background: var(--np-border);
}

/* Result count */
.np-controls__section--count .woocommerce-result-count {
  margin: 0;
  font-size: 14px;
  opacity: .9;
  line-height: 1.3;
  float: none;
}

/* Filters: stack nicely */
.np-controls__section--filters .np-filter {
  display: grid;
  gap: 10px;
  margin: 0;
}

.np-filter__check {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
}

/* Ordering: no "box inside box" */
.np-controls__section--ordering .woocommerce-ordering {
  margin: 0;
  position: relative;
}

.np-controls__section--ordering .woocommerce-ordering select {
  width: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 10px 0;
  -webkit-appearance: none;
  appearance: none;
}

.np-controls__section--ordering .woocommerce-ordering::after {
  content: "▾";
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: .7;
}

/* Widget: NP Product Categories + Forside
   Anchor: NP Categories With Home */
.np-shopnav {
  margin: 0;
  padding-left: 18px;
}

.np-shopnav li {
  margin: 6px 0;
}

.np-shopnav .current-cat > a {
  font-weight: 700;
}