.dmh-be {
  --dmh-ink: #111;
  --dmh-muted: #6b6b6b;
  --dmh-line: #111;
  --dmh-bg: #fff;
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  flex: 0 0 100%;
  align-self: stretch;
  direction: rtl;
  text-align: right;
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--dmh-ink);
}

.dmh-be__bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px 14px;
  width: 100%;
  padding: 4px 0 8px;
  border-bottom: 1px solid #111;
}

.dmh-be__panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  z-index: 10049;
  width: min(400px, 92vw);
  margin: 0;
  display: flex;
  flex-direction: column;
  border: 0;
  border-radius: 0;
  background: #fff;
  padding: 18px 18px calc(18px + env(safe-area-inset-bottom, 0px));
  box-shadow: -12px 0 32px rgba(0, 0, 0, 0.16);
  transform: translate3d(110%, 0, 0);
  transition: transform 0.32s ease;
  overflow: hidden;
  pointer-events: none;
}

.dmh-be.is-open .dmh-be__panel {
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}

.dmh-be__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  background: #fff;
  color: #111;
  border: 1px solid #111;
  border-radius: 999px;
  padding: 8px 16px;
  justify-self: start;
}

.dmh-be__toggle-icon {
  display: block;
  flex: 0 0 auto;
}

.dmh-be__toggle[aria-expanded="true"],
.dmh-be.is-open .dmh-be__toggle {
  background: #111;
  color: #fff;
}

.dmh-be__toggle-count {
  display: inline-block;
  margin-inline-start: 2px;
  background: #111;
  color: #fff;
  border-radius: 999px;
  padding: 0 7px;
  min-width: 1.4em;
  font-size: 12px;
}

.dmh-be__toggle[aria-expanded="true"] .dmh-be__toggle-count,
.dmh-be.is-open .dmh-be__toggle .dmh-be__toggle-count {
  background: #fff;
  color: #111;
}

.dmh-be__toggle-count[hidden] {
  display: none;
}

.dmh-be__group[hidden] {
  display: none !important;
}

.dmh-be__dropdown--size .dmh-be__group + .dmh-be__group {
  margin-top: 14px;
}

.dmh-be__group legend {
  font-weight: 700;
  margin: 0 0 8px;
  padding: 0;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.dmh-be .screen-reader-text,
.dmh-be__group--audience legend.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.dmh-be__options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.dmh-be__option {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin: 0;
  cursor: pointer;
  user-select: none;
}

.dmh-be__option input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}

.dmh-be__text {
  display: inline-block;
  line-height: 1.2;
  border: 1px solid #111;
  background: #fff;
  color: #111;
  padding: 7px 14px;
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
}

.dmh-be__facet-n {
  font-weight: 500;
  opacity: 0.55;
}

.dmh-be__option input:checked + .dmh-be__text .dmh-be__facet-n {
  opacity: 0.85;
}

.dmh-be__option[hidden] {
  display: none !important;
}

.dmh-be__group--audience .dmh-be__text {
  padding: 8px 18px;
  font-size: 15px;
}

.dmh-be__option input:checked + .dmh-be__text {
  background: #111;
  color: #fff;
}

.dmh-be__option input:focus-visible + .dmh-be__text {
  outline: 2px solid #111;
  outline-offset: 2px;
}

.dmh-be__option input[data-locked] + .dmh-be__text {
  cursor: default;
}

.dmh-be__toggles {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.dmh-be__dropdown {
  position: relative;
}

.dmh-be__drop-btn {
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  background: #fff;
  color: #111;
  border: 1px solid #111;
  border-radius: 999px;
  padding: 8px 16px;
}

.dmh-be__drop-btn[aria-expanded="true"],
.dmh-be__drop-btn.is-active {
  background: #111;
  color: #fff;
}

.dmh-be__drop-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 10050;
  width: min(420px, 86vw);
  max-height: min(52vh, 420px);
  overflow: auto;
  background: #fff;
  border: 1px solid #111;
  padding: 12px;
}

.dmh-be__brand-search {
  width: 100%;
  margin: 0 0 10px;
  padding: 8px 10px;
  border: 1px solid #111;
  font: inherit;
  background: #fff;
}

.dmh-be__dropdown--brand .dmh-be__drop-panel {
  width: min(520px, 90vw);
}

.dmh-be__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
}

.dmh-be__sheet-handle {
  display: none;
}

.dmh-be__sheet-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  flex: 0 0 auto;
}

.dmh-be__sheet-title {
  font-weight: 700;
  font-size: 16px;
}

.dmh-be__sheet-close {
  font: inherit;
  font-weight: 600;
  background: #fff;
  color: #111;
  border: 1px solid #111;
  border-radius: 999px;
  padding: 6px 14px;
  cursor: pointer;
  margin-inline-start: auto;
}

.dmh-be__panel-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #111;
  flex: 0 0 auto;
  background: #fff;
}

.dmh-be__panel-actions .dmh-be__clear[hidden] {
  display: none !important;
}

.dmh-be__scrim {
  position: fixed;
  inset: 0;
  z-index: 10048;
  display: block;
  border: 0;
  margin: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.dmh-be.is-open .dmh-be__scrim {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.dmh-be__count {
  font-weight: 600;
  color: var(--dmh-muted);
  white-space: nowrap;
  justify-self: center;
}

.dmh-be__clear,
.dmh-be__empty-clear,
.dmh-be__toggle {
  font: inherit;
  cursor: pointer;
}

.dmh-be button.dmh-be__clear,
.dmh-be button.dmh-be__empty-clear {
  background: #fff;
  border: 1px solid #111;
  color: #111;
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
}

.dmh-be__clear:hover,
.dmh-be__empty-clear:hover {
  background: #111;
  color: #fff;
}

.dmh-be__clear[hidden] {
  display: none !important;
}

.dmh-be__panel[hidden] {
  display: none !important;
}

.dmh-be__toolbar {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 14px;
  padding: 4px 0 8px;
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
}

.dmh-be__panel .dmh-be__toggles {
  flex-direction: column;
  align-items: stretch;
}

.dmh-be__panel .dmh-be__dropdown,
.dmh-be__panel .dmh-be__drop-btn {
  width: 100%;
}

.dmh-be__panel .dmh-be__drop-panel {
  position: static;
  width: auto;
  max-height: none;
  border: 0;
  padding: 10px 0 0;
  overflow: visible;
}

.dmh-be__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 8px;
}

.dmh-be__chips[hidden] {
  display: none !important;
}

.dmh-be__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #111;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 13px;
}

.dmh-be__chip button {
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  padding: 0;
  line-height: 1;
}

.dmh-be__empty {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.elementor-widget-woocommerce-archive-products.dmh-be-grid-is-loading,
.elementor-widget-wc-archive-products.dmh-be-grid-is-loading,
.woocommerce.dmh-be-grid-is-loading ul.products {
  position: relative;
}

.dmh-be-grid-is-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.55);
  pointer-events: none;
  z-index: 2;
}

body.dmh-be-archive .woocommerce-ordering,
body.dmh-be-archive form.woocommerce-ordering {
  display: none !important;
}

.dmh-be__sort-wrap {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.dmh-be__sort-label {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.dmh-be__sort {
  font: inherit;
  font-weight: 600;
  background: #fff;
  color: #111;
  border: 1px solid #111;
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  max-width: 100%;
}

body.dmh-be-archive ul.products::before,
body.dmh-be-archive ul.products::after,
body.dmh-be-archive .woocommerce ul.products::before,
body.dmh-be-archive .woocommerce ul.products::after,
body.dmh-be-archive .elementor-widget-woocommerce-archive-products ul.products::before,
body.dmh-be-archive .elementor-widget-woocommerce-archive-products ul.products::after,
body.dmh-be-archive .elementor-widget-wc-archive-products ul.products::before,
body.dmh-be-archive .elementor-widget-wc-archive-products ul.products::after {
  content: none !important;
  display: none !important;
}

body.dmh-be-archive ul.products,
body.dmh-be-archive .woocommerce ul.products,
body.dmh-be-archive .elementor-widget-woocommerce-archive-products ul.products,
body.dmh-be-archive .elementor-widget-wc-archive-products ul.products {
  display: grid !important;
  grid-template-columns: repeat(var(--dmh-be-col-desktop, 4), minmax(0, 1fr)) !important;
  gap: 20px !important;
  width: 100% !important;
}

body.dmh-be-archive ul.products li.product,
body.dmh-be-archive .woocommerce ul.products li.product {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  clear: none !important;
  margin: 0 !important;
}

@media (max-width: 1024px) {
  body.dmh-be-archive ul.products,
  body.dmh-be-archive .woocommerce ul.products,
  body.dmh-be-archive .elementor-widget-woocommerce-archive-products ul.products,
  body.dmh-be-archive .elementor-widget-wc-archive-products ul.products {
    grid-template-columns: repeat(var(--dmh-be-col-tablet, 3), minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767px) {
  body.dmh-be-archive ul.products,
  body.dmh-be-archive .woocommerce ul.products,
  body.dmh-be-archive .elementor-widget-woocommerce-archive-products ul.products,
  body.dmh-be-archive .elementor-widget-wc-archive-products ul.products {
    grid-template-columns: repeat(var(--dmh-be-col-mobile, 2), minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  .dmh-be__bar {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    direction: rtl;
  }

  .dmh-be__count {
    width: auto;
    justify-self: center;
  }

  .dmh-be__toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .dmh-be__meta {
    width: auto;
    margin: 0;
    justify-self: end;
  }

  .dmh-be__sort-wrap {
    width: auto;
    align-items: center;
  }

  .dmh-be__sort {
    width: auto;
    max-width: min(58vw, 220px);
  }

  .dmh-be__sheet-handle {
    display: block;
    width: 40px;
    height: 4px;
    border-radius: 999px;
    background: #cfcfcf;
    margin: 0 auto 10px;
    flex: 0 0 auto;
  }

  .dmh-be__panel {
    top: auto;
    left: 0;
    right: 0;
    width: 100%;
    height: min(88vh, 760px);
    max-height: min(88vh, 760px);
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.16);
    transform: translate3d(0, 110%, 0);
    overflow: hidden;
  }

  .dmh-be.is-open .dmh-be__panel {
    transform: translate3d(0, 0, 0);
  }

  html.dmh-be-drawer-open,
  html.dmh-be-drawer-open body,
  html.dmh-be-sheet-open,
  html.dmh-be-sheet-open body {
    overflow: hidden;
  }
}

html.dmh-be-drawer-open,
html.dmh-be-drawer-open body {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .dmh-be__panel,
  .dmh-be__scrim {
    transition: none;
  }
}
