/* ================================================
   PVM Typesense Filter - Modern Design System
   ================================================ */

/* Base Variables */
:root {
  --filter-bg: #ffffff;
  --filter-border: #aaa;
  --filter-text: #000;
  --filter-text-muted: #6b7280;
  --filter-accent: #1f2937;
  --filter-accent-hover: #000;
  --filter-hover-bg: #f3f4f6;
  --filter-focus: #000;
  --filter-radius: 8px;
  --filter-radius-sm: 6px;
  --filter-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  --filter-shadow-lg: 0 4px 6px rgba(0, 0, 0, 0.07);
  --transition: all 0.2s ease;
}

/* ================================================
   Sidebar Container
   ================================================ */
#viewitems {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    position: sticky;
    z-index: 9;
    width: 100%;
    left: 0;
    bottom: 0;
    background: #000;
    color: #fff;
    cursor: pointer;
}
#main ul.products {
  position: relative;
  min-height: 500px;
}
ul.products.loading {
  padding: 0!important;
}
ul.products.loading:before {
  top: 100px!important;
  bottom: auto!important;
  z-index: 2!important;
  background-color: #efefef!important;
}
ul.products.loading:after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
#main ul.products.loading:before {
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
  z-index: 1;
}

body.tax-product_cat .pvmts-cat-node.depth-1 >.pvmts-cat-label {
  display: none;
}
details[data-facet="categories"] >summary {
  display: none;
}
.widget.pvmts-widget {
  padding-left: 43px;
  margin-top: 20px;
  margin-bottom: 0;
}
.pvmts__sidebar {
  background: var(--filter-bg);
  border-radius: var(--filter-radius);
  padding: 0;
  box-shadow: var(--filter-shadow);
  position: sticky;
  top: 20px;
  /*max-height: calc(100vh - 40px);
  overflow-y: auto;
  overflow-x: hidden;*/
}
#pvmts-secondary-panel {
  box-shadow: unset;
  margin-bottom: 0;
  position: relative;
  top: 0;
  padding-top: 15px;
}
.pvmts__sidebar::-webkit-scrollbar {
  /*width: 0px;*/
}

.pvmts__sidebar::-webkit-scrollbar-track {
  background:transparent;
}

.pvmts__sidebar::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 3px;
}

.pvmts__sidebar::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}


/* Active filter panel */
/* Toolbar: active filters (left) + product count (right) */
.pvmts-toolbar{
  display:flex;
  justify-content:space-between;
  gap:12px;
  margin:0 0 20px;
  font-size:13px;
  width: 100%;
  padding: 0 10px;
}

/* Active filters area inside toolbar */
.pvmts-chip {
  border: unset;
  font-size: 14px;
}
.pvmts-chip:hover {
  color: #000;
  text-shadow: 0px 0px .5px #000;
}
.pvmts-active-filters__title{
  font-weight:600;
  margin-right:4px;
  display: none;
}

/* Active filters bar */
.pvmts-active-filters{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
  font-size:13px;
}
.pvmts-chip-group-label {
  font-size: 14px;
}
.pvmts-chip-group {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}
.chip-x {
    font-size: 12px;
    display: inline-flex;
    background: #fff;
    width: 16px;
    height: 16px;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    border: 1px solid #aaa;
    color: transparent;
    background: url(https://goodstuff.co/wp-content/themes/storefront/images/close1.png);
    filter: invert(1);
    background-size: 8px;
    background-repeat: no-repeat;
    background-position: center;
}

.pvmts-active-filters__title{
  font-weight:600;
  margin-right:4px;
}

.pvmts-chip{
  border:1px solid #e5e7eb;
  border-radius:999px;
  padding:2px 8px;
  background:#f9fafb;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:4px;
}

.pvmts-chip__label{
  /*white-space:nowrap;*/
}

.pvmts-chip__x{
  font-size:12px;
  line-height:1;
}

.pvmts-chip:hover{
  background:#eef2ff;
}



/* Product count (right side) */
.pvmts-summary-wrap{
  flex:0 0 auto;
  white-space:nowrap;
  color:#374151;
  align-self:center;
}


/* ================================================
   Search Box
   ================================================ */

.pvmts__search {
  padding: 20px;
  border-bottom: 1px solid var(--filter-border);
  background: #fafbfc;
}

.pvmts__search input[type="search"] {
  width: 100%;
  padding: 12px 16px 12px 40px;
  border: 1px solid var(--filter-border);
  border-radius: var(--filter-radius-sm);
  font-size: 14px;
  color: var(--filter-text);
  background: var(--filter-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cpath d='m21 21-4.35-4.35'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 12px center;
  transition: var(--transition);
}

.pvmts__search input[type="search"]:focus {
  outline: none;
  border-color: var(--filter-accent);
  background-color: #fff;
  box-shadow: 0 0 0 3px var(--filter-focus);
}

.pvmts__search input[type="search"]::placeholder {
  color: var(--filter-text-muted);
}

/* ================================================
   Facet Sections
   ================================================ */

.pvmts__facet {
  border-bottom: 1px solid var(--filter-border);
  transition: var(--transition);
}
.pvmts__facet[data-facet='categories'] {
  border: none;
}
.pvmts__facet[data-facet='onsale'] {
  border: none;
}
.pvmts__facet[data-facet='onsale'] label {
  padding-bottom: 0;
}
.pvmts__facet:last-child {
  border-bottom: none;
}

.pvmts__facet summary {
  padding: 10px 10px 10px 10px;
  font-size: 16px;
  color: var(--filter-text);
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
}
#pvmts-form {
  margin-bottom: 0;
}
.pvmts-form button {
  background: none;
  color: #000!important;
}
.pvmts__facet summary:hover {
  /*background: var(--filter-hover-bg);*/
}

details >summary::after {
  content: '';
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

details[open] >summary::after {
  transform: rotate(180deg);
}

.pvmts__facet summary::-webkit-details-marker {
  display: none;
}

/* Facet Content Area */
/*.pvmts__facet > div:not(.pvmts__price) {
  padding: 12px 20px 20px;
  max-height: 350px;
  overflow-y: auto;
  overflow-x: hidden;
}*/


.pvmts__facet > div::-webkit-scrollbar {
  width: 4px;
}

.pvmts__facet > div::-webkit-scrollbar-track {
  background: transparent;
}

.pvmts__facet > div::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 2px;
}


.pvmts-cat-tree::-webkit-scrollbar, #facet-color::-webkit-scrollbar {
  width: 4px;
}

.pvmts-cat-tree::-webkit-scrollbar-track, #facet-color::-webkit-scrollbar-track {
  background: transparent;
}

.pvmts-cat-tree::-webkit-scrollbar-thumb, #facet-color::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 2px;
}

.pvmts-gender-tabs {
  display: none;
  margin-bottom: 16px;
  border: 1px solid #000;
  margin-top: 10px;
}
.post-type-archive-product .pvmts-gender-tabs {
  display: flex;
}

.pvmts-gender-tab {
  flex: 1;
  padding: 8px 0;
  text-align: center;
  font-size: 15px;
  border: none;
  background: #fff;
  cursor: pointer;
}

.pvmts-gender-tab + .pvmts-gender-tab {
  border-left: 1px solid #000;
}

.pvmts-gender-tab.is-active {
  background: #000;
  color: #fff!important;
}



/* ================================================
   Categories - Hierarchical Tree
   ================================================ */

.pvmts__facet-level1 {
  border-bottom: 1px solid var(--filter-border);
}

.pvmts__facet-level1:last-child {
  margin-bottom: 0;
}

.pvmts-cat-summary {
  font-size: 16px;
  color: var(--filter-accent);
  letter-spacing: 0.5px;
  padding: 8px 0;
  margin-bottom: 0;
  /*border-bottom: 2px solid var(--filter-accent);*/
}

.pvmts-cat-tree {
  padding: 0;
  padding-bottom: 15px;
}
.pvmts-cat-tree >ul, #facet-stores, .pvmts-color-grid {
  /*max-height: 135px;
  overflow-y: hidden;*/
  overflow-y: auto;
  transition: all .3s ease-in-out;
}
.pvmts-cat-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.pvmts-cat-list.depth-1,.pvmts-cat-list.depth-2, .pvmts-cat-list.depth-3 {
  padding-left: 12px;
  margin-top: 0;
  margin-left: 0;
}
.pvmts-cat-list.depth-3 {
  margin-left: 15px;
}
.pvmts-cat-tree {
  /*max-height: 200px;*/
  overflow-y: auto;
  overflow-x: hidden;
}
#facet-color {
  overflow-y: auto;
  overflow-x: hidden;
  padding-bottom: 50px;
}
#facet-stores {
  max-height: 200px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-left: 12px;
}
.pvmts__facet[data-facet="store_name"] .pvmts-show-more-wrap {
  margin-bottom: 15px;
}

.pvmts-cat-node {
  margin: 0;
  padding: 0 5px 0 0;
}

.pvmts-cat-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 14px;
  color: var(--filter-text);
  line-height: 1.4;
  position: relative;
}
.depth-2 span.pvmts-cat-text {
  font-size: 13px;
}

.pvmts-cat-label:hover {
  color: var(--filter-accent);
  background: #fafafa;
}

.pvmts-cat-label--nolink {
  font-weight: 500;
  color: var(--filter-text);
  cursor: default;
  padding: 6px 0;
}
input[name="sustainable_rating"], .pvmts-rating-item em {
  display: none;
}
.pvmts-rating-item label {
  padding-top: 0;
  padding-bottom: 0;
}

.pvmts-cat-label input[type="checkbox"], input[name="sustainable_rating"], 
.pvmts__onsale input[type="checkbox"], .pvmts__vintage input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border: 1px solid #d1d5db;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  appearance: none;
  background: white;
  border-radius: 0;
  transition: var(--transition);
}

.pvmts-cat-label input[type="checkbox"]:hover, input[name="sustainable_rating"]:hover, 
.pvmts__onsale input[type="checkbox"]:hover, .pvmts__vintage input[type="checkbox"]:hover {
  border-color: var(--filter-accent);
}

.pvmts-cat-label input[type="checkbox"]:checked, input[name="sustainable_rating"]:checked, 
.pvmts__onsale input[type="checkbox"]:checked, .pvmts__vintage input[type="checkbox"]:checked {
  background-color: var(--filter-accent);
  border-color: var(--filter-accent);
}

.pvmts-cat-label input[type="checkbox"]:checked::after, input[name="sustainable_rating"]:checked::after, 
.pvmts__onsale input[type="checkbox"]:checked::after, .pvmts__vintage input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.pvmts-cat-label input[type="checkbox"]:checked >.pvmts-cat-text {
  font-weight: 600;
}

.pvmts-cat-text {
  /*flex: 1;*/
  line-height: 1.2;
}

.pvmts-cat-count {
  font-style: normal;
  color: var(--filter-text-muted);
  font-size: 13px;
  font-weight: 400;
}

/* ================================================
   Store Checkboxes
   ================================================ */

.pvmts__check {
  margin-bottom: 0;
}

.pvmts__check label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px;
  cursor: pointer;
  border-radius: var(--filter-radius-sm);
  transition: var(--transition);
  font-size: 14px;
  color: var(--filter-text);
}

.pvmts__check label:hover {
  background: var(--filter-hover-bg);
}

.pvmts__check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border: 1px solid #d1d5db;
  border-radius: 0;
  cursor: pointer;
  flex-shrink: 0;
  appearance: none;
  background: white;
  transition: var(--transition);
  position: relative;
}

.pvmts__check input[type="checkbox"]:hover {
  border-color: var(--filter-accent);
}

.pvmts__check input[type="checkbox"]:checked {
  background-color: var(--filter-accent);
  border-color: var(--filter-accent);
}

.pvmts__check input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 4px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.pvmts__check span {
  flex: 1;
}
.pvmts__check .pvmts-rating-stars {
  color: #000;
  font-size: 20px;
  line-height: 20px;
}
.pvmts__check .pvmts-rating-stars:hover, input[name="sustainable_rating"]:checked+.pvmts-rating-stars {
  color: #f978fd;
}
.pvmts-rating-list {
  padding-bottom: 15px;
  padding-left: 12px;
}
.pvmts__check .pvmts-rating-label {
  display: none;
}

.pvmts-cat-toggle {
  border: none;
  background: none;
  padding: 0 4px 0 0;
  cursor: pointer;
  position: absolute;
  z-index: 9;
  right: 4px;
  top: -1px;
  font-size: 20px;
  color: #000!important;
}
.pvmts-cat-toggle[aria-expanded="true"] {
  
}

.pvmts-facet-item-hidden {
  display: none;
}
/* checkbox toggle css */

/* Wrapper for layout */

.pvmts-toggle-container {
  display: flex;
  justify-content: space-around;
}
.pvmts-toggle-wrap {
  margin-bottom: 10px;
}

/* The label holds input + switch + text */
.pvmts-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

/* Hide the native checkbox, but keep it accessible */
.pvmts-toggle input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Track */
.pvmts-toggle-switch {
  position: relative;
  width: 40px;
  height: 16px;
  border-radius: 999px;
  background: #ccc;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1);
  transition: background 0.2s ease;
}

/* Thumb */
.pvmts-toggle-switch::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  transition: transform 0.2s ease;
}

/* Text */
.pvmts-toggle-label {
  font-size: 14px;
}

/* Checked state */
.pvmts-toggle input[type="checkbox"]:checked + .pvmts-toggle-switch {
  background: #f978fd; /* tweak to match your grey */
}

.pvmts-toggle input[type="checkbox"]:checked + .pvmts-toggle-switch::before {
  transform: translateX(19px);
}


/* end checkbox toggle css */

.pvmts-show-more-btn {
  margin-top: 6px;
  padding: 4px 8px;
  font-size: 12px;
  cursor: pointer;
  border: 1px solid #ddd;
  background: #f7f7f7;
}

.pvmts-show-more-wrap {
  margin-top: 6px;
  display: flex;
  gap: 6px;
  padding-left: 15px;
}

.pvmts-show-more-btn,
.pvmts-show-less-btn {
  padding: 4px 8px;
  font-size: 12px;
  cursor: pointer;
  border: 1px solid #ddd;
  background: #f7f7f7;
}



.pvmts-cat-node.item-has-child > .pvmts-cat-label {
  display: flex;
  align-items: center;
  gap: 4px;
}

.pvmts__check em {
  font-style: normal;
  color: var(--filter-text-muted);
  font-size: 13px;
}

/* ================================================
   Color Swatches
   ================================================ */

.pvmts-color-grid {
  padding: 4px 0;
  display: flex;
  flex-wrap: wrap;
  column-gap: 2px;
  justify-content: left;
  padding-left: 12px;
}

.pvmts-color-swatch {
  position: relative;
}

.pvmts-color-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  cursor: pointer;
  padding: 5px 4px;
  border-radius: var(--filter-radius-sm);
  /*border: 2px solid transparent;*/
  transition: var(--transition);
  /*background: var(--filter-hover-bg);*/
}

.pvmts-color-label:hover {
  background: #e5e7eb;
  transform: translateY(-2px);
}

.pvmts-color-swatch.is-checked .pvmts-color-label {
  border-color: var(--filter-accent);
  /*background: #e5e7eb;
  box-shadow: var(--filter-shadow);*/
}

.pvmts-color-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pvmts-color-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  position: relative;
}

.pvmts-color-swatch.is-checked .pvmts-color-dot {
  box-shadow: 0 0 0 2px white, 0 0 0 4px var(--filter-accent);
}

.pvmts-color-dot::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: var(--transition);
}

.pvmts-color-swatch.is-checked .pvmts-color-dot::after {
  /*border-color: var(--filter-accent);*/
}

.pvmts-color-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--filter-text);
  text-align: center;
  line-height: 1.2;
}

.pvmts-color-count {
  font-style: normal;
  font-size: 11px;
  color: var(--filter-text-muted);
}

/* ================================================
   Price Inputs
   ================================================ */

.pvmts__price {
  padding: 12px 20px 16px 10px;
  display: flex;
  gap: 12px;
  align-items: flex-end;
}

.pvmts__price label {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--filter-text);
}

.pvmts__price input[type="number"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--filter-border);
  border-radius: var(--filter-radius-sm);
  font-size: 14px;
  color: var(--filter-text);
  transition: var(--transition);
}

.pvmts__price input[type="number"]:focus {
  outline: none;
  border-color: var(--filter-accent);
  box-shadow: 0 0 0 3px var(--filter-focus);
}

.pvmts__onsale, .pvmts__vintage {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 20px 0 0px;
  cursor: pointer;
  font-size: 16px;
  color: var(--filter-text);
  font-weight: 500;
}



/* ================================================
   Product Grid Styles
   ================================================ */

#pvmts-summary {
  font-size: 14px;
  font-weight: 500;
  color: var(--filter-text);
  padding: 6px 8px;
  background: var(--filter-hover-bg);
  border-radius: var(--filter-radius-sm);
}

.pvmts-card {
  background: white;
  border: 1px solid var(--filter-border);
  border-radius: var(--filter-radius);
  padding: 16px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pvmts-card:hover {
  box-shadow: var(--filter-shadow-lg);
  transform: translateY(-2px);
  border-color: #d1d5db;
}

.pvmts-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--filter-radius-sm);
  background: #f9fafb;
}

.pvmts-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.pvmts-card:hover .pvmts-thumb img {
  transform: scale(1.05);
}

.woocommerce-loop-product__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--filter-text);
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.price {
  font-size: 16px;
  font-weight: 700;
  color: var(--filter-text);
}

.price ins {
  text-decoration: none;
  color: var(--filter-accent);
}

.price del {
  color: var(--filter-text-muted);
  font-size: 14px;
  font-weight: 400;
  margin-left: 6px;
}

.pvmts-store {
  font-size: 13px;
  color: var(--filter-text-muted);
  padding: 4px 0;
}

.pvmts-links {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.pvmts-links .button {
  flex: 1;
  padding: 10px 16px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--filter-radius-sm);
  text-decoration: none;
  transition: var(--transition);
  background: var(--filter-accent);
  color: white;
  border: none;
}

.pvmts-links .button:hover {
  background: var(--filter-accent-hover);
  transform: translateY(-1px);
}

.pvmts-links .button-secondary {
  background: white;
  color: var(--filter-accent);
  border: 1px solid var(--filter-accent);
}

.pvmts-links .button-secondary:hover {
  background: var(--filter-focus);
}

.pvmts-id {
  font-size: 11px;
  color: var(--filter-text-muted);
  text-align: center;
}

/* ================================================
   Responsive Design
   ================================================ */
@media (min-width: 769px) {
  #viewitems {
    display: none;
  }
  #pvmts-secondary-panel {
    max-height: calc(100vh - 235px);
    max-height: unset!important;
    overflow: auto;
    padding-bottom: 100px;
  }
  .header-pinned-true:not(.header-pinned) #pvmts-secondary-panel {
    max-height: calc(100vh - 160px);
  }
}
@media (min-width: 1024px) {
  .pvmts-toolbar{
    padding: 0;
  }
  .pvmts-chip {
    font-size: 16px;
  }
  #pvmts-summary {
    padding: 12px 20px;
  }
}
@media (max-width: 768px) {
  #pvmts-form {
    padding-bottom: 30px;
  }
  .pvmts-cat-toggle {
    right: 8px;
  }
  #facet-stores .pvmts__check label {
    padding: 4px 10px;
  }
  .pvmts__sidebar {
    position: static;
    max-height: none;
    margin-bottom: 24px;
  }

  .pvmts-color-grid {
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 8px;
  }

  .pvmts-color-dot {
    width: 32px;
    height: 32px;
  }
  .pvmts-cat-node {
    padding: 0;
  }
  .pvmts-cat-label, .pvmts-color-grid {
    padding: 4px 10px;
  }
  .archive.tax-product_cat .site-main ul.products .product:nth-child(2n+1),
  .archive.search-results .site-main ul.products .product:nth-child(2n+1) {
    border-right: unset!important;
  }
  .pvmts__price {
    padding-left: 22px;
  }
}
@media (max-width: 1024px) {
  .widget.pvmts-widget {
    padding-left: 30px;
  }
}
@media (max-width: 1024px) {
  .widget.pvmts-widget {
    padding-left: 30px;
  }
}

@media (max-width: 768px) {
  .widget.pvmts-widget {
      padding-left: 0;
      padding-right: 10px;
      margin-bottom: 15px;
  }
}

/* ================================================
   Dark Mode Support (Optional)
   ================================================ */

@media (prefers-color-scheme: dark) {
  :root {
    --filter-bg: #1f2937;
    --filter-border: #374151;
    --filter-text: #f9fafb;
    --filter-text-muted: #9ca3af;
    --filter-accent: #3b82f6;
    --filter-accent-hover: #2563eb;
    --filter-hover-bg: #374151;
    --filter-focus: #1e3a5f;
    --filter-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    --filter-shadow-lg: 0 4px 6px rgba(0, 0, 0, 0.4);
  }
  .pvmts__check .pvmts-rating-stars {
    color: #fff;
  }

  .pvmts__search {
    background: #111827;
  }

  .pvmts__search input[type="search"],
  .pvmts__price input[type="number"],
  .pvmts-cat-label input[type="checkbox"],
  .pvmts__check input[type="checkbox"],
  .pvmts__onsale input[type="checkbox"] {
    background: #374151;
    border-color: #4b5563;
    color: var(--filter-text);
  }
  .pvmts-form button {
    color: #fff!important;
  }
  .pvmts-cat-label:hover {
    background: none;
  }

  .pvmts-card {
    background: #1f2937;
    border-color: #374151;
  }

  .pvmts-thumb {
    background: #111827;
  }
}