.oh-archive-filters {
  margin: 0 0 1.5rem;
  display: grid;
  gap: 0.75rem;
}
.oh-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.oh-selected-chips button {
  background: transparent;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--oh-color3);
  padding: 0px;
  font-weight: 600;
  line-height: 2;
}
.oh-selected-chips button svg {
  width: 13px;
  height: 14px;
}
.oh-selected-chips {
  display: flex;
  gap: 5px 15px;
  margin-top: 10px;
}
.oh-chip-sep {
  display: none;
}
.oh-chip-sep:first-of-type {
  display: flex;
  color: rgba(0,0,0,.105);
}
.oh-filter-block {
  position: relative;
  display: flex;
  align-items: center;
}

.oh-filter-label {
  font-weight: 600;
  color: var(--oh-color3);
}

.oh-filter-options button {
  padding: 0 7px;
  background: transparent;
  border: none;
  color: var(--oh-color4);
  cursor: pointer;
}
.oh-filter-options .pp_line {
  color: var(--oh-color4);
}
.oh-filter-options button:hover {
  color: var(--oh-color3);
}
.oh-filter-options button.active {
  color: var(--oh-color3);
  font-weight: 600;
}

.oh-filter-views button:after {
  font-size: 180%;
  font-weight: 400;
  font-family: "woodmart-font";
}
.oh-filter-views button[data-val="list"]::after {
  content: "\f12a";
}
.oh-filter-views button[data-val="grid-2"]::after {
  content: "\f12b";
}
.oh-filter-views button[data-val="grid-3"]::after {
  content: "\f12c";
}
.oh-filter-views button[data-val="grid-4"]::after {
  content: "\f12d";
}
.oh-filter-views {
  flex-wrap: wrap;
  gap: 10px 0.9em;
}
.oh-filter-views button {
  padding: 0px;
  background: transparent;
  border: none;
  color: var(--oh-color5);
  cursor: pointer;
}
.oh-filter-views button:hover,
.oh-filter-views button.active {
  color: var(--oh-color7);
}
.oh-filter-views button svg {
  width: 32px;
  height: 32px;
}
.oh-filter-second {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.oh-hover .oh-trigger {
  border-top: none;
  border-left: 0px;
  border-right: 0px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  padding: 0px;
  height: 42px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
  padding-inline-end: 20px;
  flex: 1 0 auto;
  color: var(--oh-color3);
  font-weight: 600;
  text-align: start;
  transition: all 0.3s ease;
}
.oh-hover .oh-trigger:after {
  position: absolute;
  top: 50%;
  margin-top: -6px;
  color: var(--oh-color5);
  font-size: 12px;
  inset-inline-end: 7px;
  content: "\f129";
  font-family: "woodmart-font";
}
.oh-popover {
  min-width: 200px;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 380;
  background-color: #fff;
  background-position: bottom right;
  background-clip: border-box;
  background-repeat: no-repeat;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.19, 1, 0.22, 1),
    visibility 0.4s cubic-bezier(0.19, 1, 0.22, 1),
    transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  transform: translateY(15px) translateZ(0);
  pointer-events: none;
  width: 100%;
}
.oh-hover:hover .oh-popover {
  visibility: visible;
  opacity: 1;
  transform: none !important;
  pointer-events: visible;
  pointer-events: unset;
}
.oh_sorting {
  display: flex;
  flex-direction: column;
  scrollbar-width: thin;
  max-height: 50vh;
  overflow-y: auto;
}
.oh_sorting button {
  display: flex;
  align-items: center;
  padding: 8px 18px;
  color: var(--oh-color4);
  line-height: 1.3;
  background-color: transparent;
  border: none;
  text-align: left;
}
.oh_sorting button:hover {
  background-color: #f7f7f7;
}

.oh-brand-list button {
  flex: 0 0 calc(50% - 5px);
  max-width: calc(50% - 5px);
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  padding: 0px;
  color: var(--oh-color4);
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
}
.oh-brand-list {
  padding: 10px;
}
.oh-brand-list button img {
  max-width: 60px;
  max-height: 30px;
  object-fit: contain;
}
.oh-brand-list button:hover img {
  opacity: 0.5;
}
.oh-brand-list button > span {
  position: relative;
}
.oh-range {
  display: flex;
  gap: 0.5rem;
  margin: 0.5rem 0;
}

.oh-chip {
  display: inline-flex;
  align-items: center;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  margin-right: 0.5rem;
  font-size: 0.9rem;
}
.oh-chip.is-empty {
  opacity: 0.7;
}
.oh-clear {
  border: 0;
  background: transparent;
  color: #ef4444;
  cursor: pointer;
}

.oh-archive-loader {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
}
.oh-archive-loader.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.oh-spinner {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid #ddd;
  border-top-color: #111;
  animation: ohspin 1s linear infinite;
}
@keyframes ohspin {
  to {
    transform: rotate(360deg);
  }
}

/* Grid/list helpers for UL.products */
ul.products {
  --cols: 3;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
}
ul.products.oh-grid-2 {
  --cols: 2;
}
ul.products.oh-grid-3 {
  --cols: 3;
}
ul.products.oh-grid-4 {
  --cols: 4;
}

/* Card & layout */
.oh-price-card {
  width: 100%;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}
.oh-price-body {
  padding: 20px 24px;
}
.oh-price-footer {
  display: flex;
  padding: 12px 16px;
  border-top: 1px solid #ececec;
}
.oh-price-display {
  font-size: 14px;
  display: flex;
  gap: 0.3rem;
  align-items: center;
  font-weight: 600;
  color: var(--oh-color6);
}
/* noUi look tweak (inherits your theme colors) */
#oh-price-slider.noUi-target {
  box-shadow: none;
  border: 0;
  display: flex;
  align-items: center;
}
#oh-price-slider .noUi-connect {
  background: var(--oh-primary);
}
#oh-price-slider .noUi-connects {
  border-radius: 999px;
}
#oh-price-slider .noUi-base {
  height: 2px;
  background: #e5e7eb;
  border-radius: 999px;
}
#oh-price-slider .noUi-handle {
  width: 4px;
  height: 15px;
  border: 0;
  background: var(--oh-primary);
  box-shadow: none;
  top: -7.5px;
  right: -3px;
  border-radius: 0px;
}
#oh-price-slider .noUi-handle:before,
#oh-price-slider .noUi-handle:after {
  display: none;
}

.oh-apply-price.btn {
  padding: 5px 14px;
  min-height: 36px;
  font-size: 12px;
}

.products.is-loading {
  position: relative;
}
.is-loading:after {
  position: absolute;
  top: 60px;
  inset-inline-start: calc(50% - 9px);
  opacity: 1;
  z-index: 2;
  transition: opacity 0.25s ease;
  content: "";
  display: inline-block;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(0, 0, 0, 0);
  border-left-color: currentColor;
  border-radius: 50%;
  vertical-align: middle;
  animation: oh-rotate 450ms infinite linear running;
}
.products.is-loading > div {
  opacity: 0;
}
/* Hide all brand buttons by default */
.oh-brand-list button {
  display: none;
}

/* When a brand is active, show only that one */
.oh-brand-list button.active {
  display: flex;
}

/* But when no active exists, show all */
.oh-brand-list:not(:has(button.active)) button {
  display: flex;
}

.oh-brand-list button {
  position: relative;
}
.oh-brand-list button .tooltiptext {
  visibility: hidden;
  background-color: #000;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 10px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 12px;
  white-space: nowrap;
}
.oh-brand-list button .tooltiptext:after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #000 transparent transparent transparent;
}
.oh-brand-list button:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.products.oh-list .oh-product-wrapper {
  flex-direction: row;
  gap: 15px;
  align-items: center;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.105);
}
.products.oh-list .oh-product-wrapper .oh-product-top {
  width: 300px;
  flex: 0 0 300px;
}
.products.oh-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.products.oh-list .oh-product-wrapper .oh-product-bottom {
  gap: 18px;
  align-items: flex-start;
}
.products.oh-list .oh-product-excerpt {
  display: block;
}
.products.oh-list .oh-product-excerpt:empty {
  display: none;
}
.products.oh-list .oh-list-cart {
  display: flex;
}
.products.oh-list .oh-product-add {
  display: none;
}
.oh-list-cart .button {
  position: relative;
  overflow: hidden;
}
.oh-list-cart .button.oh-loading:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background-color: inherit;
  box-shadow: inherit;
  transition: opacity 0s ease;
  opacity: 1;
  transition: opacity 0.25s ease;
}
.oh-list-cart .button:before {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  font-size: 20px;
  transition: opacity 0.15s ease, transform 0.25s ease;
  transform: translateY(100%);
  content: "";
  font-family: "woodmart-font";
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23333' d='M9.5 17.25a2.25 2.25 0 1 0 0 4.5 2.25 2.25 0 0 0 0-4.5zm0 3a.75.75 0 1 1 0-1.5.75.75 0 0 1 0 1.5zm8-3a2.25 2.25 0 1 0 0 4.5 2.25 2.25 0 0 0 0-4.5zm0 3a.75.75 0 1 1 0-1.5.75.75 0 0 1 0 1.5zM15.77 16.74h-4.45c-2.29 0-4.26-1.64-4.67-3.9L5.46 6.29a1 1 0 0 0-.67-.8l-1.9-.63a.5.5 0 1 1 .3-.96l1.88.63a3 3 0 0 1 2.09 2.12l.04.22h5.85a.75.75 0 0 1 0 1.5H7.27l.88 4.83c.28 1.55 1.64 2.67 3.2 2.67H15.8l.19-.01a3.72 3.72 0 0 0 2.9-2.74c.03-.1.05-.2.08-.3a.75.75 0 0 1 1.46.37 5.04 5.04 0 0 1-.09.35 4.73 4.73 0 0 1-4.48 3.42z'/%3E%3Cpath fill='%23333' d='M17.253 7.742h-2.25a.75.75 0 1 1 0-1.5h2.25v-2.25a.75.75 0 1 1 1.5 0v2.25h2.25a.75.75 0 1 1 0 1.5h-2.25v2.25a.75.75 0 1 1-1.5 0v-2.25z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px 22px;
  background-color: rgb(175, 175, 165);
}
.oh-list-cart .button:hover:before {
  transform: translateY(0) translateZ(0);
}
.oh-list-cart .button.oh-loading:before {
  transform: translateY(0) translateZ(0);
  background: rgb(175, 175, 165);
}

@media only screen and (max-width: 1024px) {
  .oh-filter-row {
    display: none;
  }
  .oh-filter-second {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .products.oh-list .oh-product-wrapper {
    flex-direction: column;
  }
  .products.oh-list .oh-product-wrapper .oh-product-bottom {
    align-items: center;
  }
  .products.oh-list .oh-product-excerpt {
    display: none;
  }
}
