theme-facets-form {
  display: contents;
}

.facets-wrapper {
  display: flex;
}

.facets-desktop {
  display: contents;
}

.facets-sorting__summary {
  display: flex;
  gap: 10px;
  align-items: center;
  padding-inline-end: 12px;
}

.facets-sorting__summary svg {
  transition: 0.2s;
}

.facets-sorting__content-header {
  padding-block-end: 10px;
  border-block-end: 1px solid rgb(var(--line-color));
}

.facets-sorting__content-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.facets-sorting__content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 296px;
  padding: 20px;
  background-color: rgb(var(--color-background));
  border: 1px solid rgb(0 0 0 / 10%);
  border-radius: 4px;
}

@media (min-width: 960px) {
  .facets-sorting__content {
    --modal-animation-name: animation-slide-in;

    position: absolute;
    inset: 0;
    inset: unset;
    gap: 20px;
    width: 100%;
    min-width: 250px;
    max-width: 650px;
    padding-block-end: 30px;
    margin-block-start: 10px;
    transform-origin: top;
  }
}

.facets-sorting__content svg {
  width: 16px;
  opacity: 0;
}

.facets-sorting__content input {
  display: none;
}

.facets-sorting__content input:checked~svg {
  opacity: 1;
}

@media (min-width: 960px) {
  .facets-sorting__content input:checked~span {
    border-block-end: 1px solid rgb(var(--color-text));
  }
}

.facets-sorting__content label {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 8px 0;
}

@media (min-width: 960px) {
  .facets-sorting__details[open]::before {
    display: none;
  }
}

.facets-sorting__details[open] .facets-sorting__summary span {
  border-block-end: 1px solid rgb(var(--color-text));
}

.facets-sorting__details[open] .facets-sorting__summary svg {
  transition: 0.2s;
  transform: rotate(-180deg);
}

.facets-filtering {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.facets-filtering fieldset {
  padding: 0;
  margin: 0;
  border: 0;
}

.facets-filtering input[type="radio"],
.facets-filtering input[type="checkbox"] {
  display: none;
}

.facets-filtering__filters {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  gap: 12px;
}

.facets-layout-horizontal .facets-filtering__filters {
  --_filter-horizontal-gap: calc(1.25rem * var(--body-scale));
}

.facets-filtering__summary {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  color: rgb(var(--color-text));
}

.facets-filtering__summary svg {
  flex-shrink: 0;
  width: 10px;
  transition: 0.2s;
}

.facets-filtering__details[open]::before {
  display: none;
}

.facets-filtering__details[open] .facets-filtering__summary {
  border-color: rgb(var(--color-text));
}

.facets-filtering__details[open] .facets-filtering__summary svg {
  transform: rotate(-180deg);
}

.facets-filtering__content-header {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  padding-block: 5px;
}

.facets-filtering__content {
  --modal-animation-name: animation-slide-in;

  position: absolute;
  inset-block-start: 100%;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 296px;
  padding: 20px;
  overflow: visible;
  background-color: rgb(var(--color-background));
  border: 1px solid rgb(0 0 0 / 10%);
  border-radius: 4px;
  transform-origin: top;
}

.facets-filtering__content.price-range {
  gap: 20px;
  width: 340px;
}

.facets-filtering__content.price-range .facets-filtering__content-header~fieldset {
  padding: 0;
  border-block-start: 0;
}

.facets-filtering__reset {
  height: 100%;
  color: rgba(var(--color-text), 1);
}

.facets-filtering__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.facets-filtering__list>li {
  display: flex;
  gap: 5px;
  padding-block: 5px;
}

.facets-filtering__item.show-more-item.hide {
  display: none;
}

.facets-filtering__checkbox-wrapper {
  display: flex;
  gap: 12px;
  align-items: center;
  cursor: pointer;
}

.facets-filtering__checkbox-wrapper.disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.facets-filtering__checkbox-wrapper .checkbox-tick {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border: 1px solid rgb(var(--accent-color));
  border-radius: calc(0.04px * var(--layout-radius));
  color: rgb(var(--accent-color));
  transition: background-color 0.2s, border-color 0.2s;
}

.facets-filtering__checkbox-wrapper .checkbox-tick svg {
  width: 12px;
  height: 12px;
  opacity: 0;
  transition: opacity 0.2s;
}

.facets-filtering__checkbox-wrapper input:checked+.checkbox-tick svg {
  opacity: 1;
}

.facets-filtering__checkbox-wrapper:not(.disabled):hover .checkbox-label {
  -webkit-text-stroke: 0.4px;
}

.facets-filtering__submenu-button-group {
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.facets-filtering__submenu-button-group a {
  width: 100%;
}

.facets-filtering__submenu-button-group>* {
  flex: 1;
}

.more-less-wrapper {
  display: inline-flex;
  align-self: flex-start;
  padding-block-end: calc(0.375rem * var(--body-scale));
}

.more-less-toggle {
  display: inline-flex;
  gap: calc(0.375rem * var(--body-scale));
  align-items: center;
  padding-block: calc(0.375rem * var(--body-scale));
  color: rgb(var(--color-text));
  cursor: pointer;
  background-color: transparent;
  border: 0;
}

.more-less-toggle .more-less-icon {
  display: inline-flex;
}

.more-less-toggle .more-less-icon svg {
  width: calc(1.25rem * var(--body-scale));
  height: calc(1.25rem * var(--body-scale));
}

.more-less-toggle .more-less-label {
  text-decoration: underline;
}

.more-less-toggle:hover .more-less-label,
.more-less-toggle:focus-visible .more-less-label {
  text-decoration: none;
}

.facets-filtering__modal-body {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 20px;
  height: 100%;
  overflow-y: auto;
}

.facets-filtering__modal-body-inner {
  padding: 0 20px 30px;
  overflow-y: auto;
}

.facets-confirm {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.facets-filtering__active {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.facets-mobile .facets-filtering__active {
  margin-block-end: 20px;
}

.facets-filtering__active-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.facets-filtering__active-buttons:empty {
  width: 100px;
}

.facets-filtering__active-buttons:empty+theme-facets-remove {
  display: none;
}

.facets-filtering__active>theme-facets-remove:only-child {
  display: none;
}

.facets-filtering__active-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background-color: rgb(var(--primary-background));
  border-radius: calc(0.22px * var(--button-radius));
  border: 1px solid rgb(var(--accent-color) / 0.5);
  transition: border-color 0.2s;
}

.facets-filtering__active-button:hover {
  background-color: transparent;
  border-color: rgb(var(--accent-color));
}

.facets-filtering__active-button-inner {
  display: flex;
  align-items: center;
  gap: 4px;
  color: rgb(var(--color-text));
  text-decoration: none;
}

.facets-filtering__active-clear-all {
  display: inline-flex;
  align-items: center;
  height: 100%;
  text-decoration: underline;
  color: rgb(var(--color-text));
}

.facets-filtering__active-clear-all:hover {
  text-decoration: underline;
}

.facets-layout-horizontal .facets-desktop theme-modal summary {
  position: relative;
}

.facets-layout-horizontal .facets-desktop theme-modal:not(:last-of-type) summary::after {
  content: "";
  display: block;
  position: absolute;
  right: calc(var(--_filter-horizontal-gap) / -2);
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: calc(1.25rem * var(--body-scale));
  background-color: rgb(var(--line-color));
  pointer-events: none;
}

.facets-layout-horizontal .facets-desktop .facets-filtering__details {
  position: relative;
}

.facets-layout-horizontal .facets-desktop .facets-filtering__content {
  padding: 0;
  border: 1px solid rgb(var(--border-color));
  border-radius: 0;
  border-bottom-right-radius: calc(0.2px * var(--layout-radius));
  border-bottom-left-radius: calc(0.2px * var(--layout-radius));
  gap: 0;
}

.facets-layout-horizontal .facets-desktop .facets-filtering__content.price-range .price-range-input {
  padding-top: calc(0.875rem * var(--body-scale));
  padding-inline: calc(1.25rem * var(--body-scale));
  padding-bottom: calc(0.75rem * var(--body-scale));
}

.facets-layout-horizontal .facets-desktop .facets-filtering__content.price-range .facets-confirm {
  margin-inline: calc(1.25rem * var(--body-scale));
  margin-bottom: calc(0.875rem * var(--body-scale));
  width: calc(100% - ((1.25rem * var(--body-scale)) * 2));
}

.facets-layout-horizontal .facets-desktop .facets-filtering__content .facets-filtering__content-header {
  padding-block: 0.625rem;
  padding-inline: calc(1.25rem * var(--body-scale));
  border-bottom: 1px solid rgb(var(--line-color));
}

.facets-layout-horizontal .facets-desktop .facets-filtering__content .facets-filtering__list {
  max-height: min(416px, calc(75vh - var(--header-height)));
  overflow-y: auto;
  padding-top: calc(0.625rem * var(--body-scale));
  padding-inline: calc(1.25rem * var(--body-scale));
  padding-bottom: calc(0.635rem * var(--body-scale));
}

.facets-layout-vertical .facets-desktop .facets-filtering {
  gap: 0;
}

.facets-layout-vertical .facets-desktop .facets-filtering__active {
  flex-wrap: wrap;
  column-gap: 1rem;
  row-gap: 4px;
}

.facets-layout-vertical .facets-desktop .facets-filtering__active-buttons {
  flex-wrap: wrap;
}

.facets-layout-vertical .facets-desktop .facets-filtering__active-clear-all {
  padding: 10px 0;
}

.facets-layout-vertical .facets-desktop .facets-filtering__filters {
  flex-direction: column;
  order: 1;
  gap: 0;
}

.facets-layout-vertical .facets-desktop .facets-filtering__content {
  position: relative;
  width: 100%;
  padding: 0;
  padding-block-end: calc(0.635rem * var(--body-scale));
  border: 0;
}

.facets-layout-vertical .facets-desktop .facets-filtering__summary {
  justify-content: space-between;
  padding: 15px 0;
  border: 0;
}

.facets-layout-vertical .facets-desktop .facets-filtering__summary span {
  text-transform: uppercase;
}

.facets-layout-vertical .facets-desktop .facets-filtering__details {
  border: 0;
}

.facets-layout-vertical .facets-desktop .facets-filtering theme-collapse:not(:last-child) {
  border-block-end: 1px solid rgb(var(--line-color));
}

.facets-layout-vertical .facets-desktop .facets-filtering__content-header {
  display: none;
}

.facets-layout-vertical .facets-desktop .facets-filtering__content-header.is-visible {
  display: flex;
}

.facets-layout-vertical .facets-desktop .facets-filtering__content-header~fieldset {
  padding-block-start: 0;
  border: 0;
}

.facets-layout-vertical .facets-desktop .facets-active {
  flex-wrap: wrap;
  align-items: flex-start;
}

.facets-layout-vertical .facets-desktop .facets-count {
  justify-self: start;
}

.facets-layout-vertical .facets-desktop .facets-sorting {
  justify-self: end;
}

.facets-layout-drawer,
.facets-mobile {
  --facets-drawer-width: 300px;
}

.facets-layout-drawer .facets-filtering__modal-header,
.facets-mobile .facets-filtering__modal-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: calc(1.25rem * var(--body-scale)) calc(1.5rem * var(--body-scale));
  color: rgb(var(--color-text));
  background-color: rgb(var(--color-background));
  border-block-end: 1px solid rgb(var(--line-color));
}

.facets-layout-drawer .facets-filtering {
  align-items: flex-start;
}

.facets-layout-drawer .facets-filtering__modal-summary,
.facets-mobile .facets-filtering__modal-summary {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  width: fit-content;
  padding: calc(0.375rem * var(--body-scale)) calc(0.625rem * var(--body-scale));
  color: rgb(var(--color-text));
  cursor: pointer;
  background-color: transparent;
  border: calc(var(--button-border-width) * 1px) solid rgb(var(--tertiary-button-border) / var(--button-border-opacity));
  border-radius: calc(0.19px * var(--button-radius));
  font-weight: 700;
}

.facets-layout-drawer .facets-filtering__modal-summary:hover,
.facets-mobile .facets-filtering__modal-summary:hover {
  background-color: rgb(var(--tertiary-button-hover-background));
  border-color: rgb(var(--tertiary-button-hover-border) / var(--button-border-opacity));
  color: rgb(var(--tertiary-button-hover-label));
}

.facets-layout-drawer .facets-filtering__modal-summary-icon,
.facets-mobile .facets-filtering__modal-summary-icon,
.facets-layout-drawer .facets-filtering__modal-title-icon,
.facets-mobile .facets-filtering__modal-title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.facets-layout-drawer .facets-filtering__modal-summary-icon svg,
.facets-mobile .facets-filtering__modal-summary-icon svg,
.facets-layout-drawer .facets-filtering__modal-title-icon svg,
.facets-mobile .facets-filtering__modal-title-icon svg {
  width: calc(1.5rem * var(--body-scale));
  height: calc(1.5rem * var(--body-scale));
}

.facets-layout-drawer .facets-filtering__modal-summary-label,
.facets-mobile .facets-filtering__modal-summary-label,
.facets-layout-drawer .facets-filtering__modal-title span,
.facets-mobile .facets-filtering__modal-title span {
  letter-spacing: calc(var(--preheading-letter-spacing) * 1px);
  text-transform: uppercase;
  font-weight: 700;
}

.facets-layout-drawer .facets-filtering__modal-title,
.facets-mobile .facets-filtering__modal-title {
  display: flex;
  gap: 12px;
  align-items: center;
  color: rgb(var(--color-text));
}

.facets-layout-drawer .facets-filtering__modal-close,
.facets-mobile .facets-filtering__modal-close {
  appearance: none;
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: rgb(var(--tertiary-button-label));
  cursor: pointer;
  background-color: rgb(var(--tertiary-button-background));
  border: calc(var(--button-border-width) * 1px) solid rgb(var(--tertiary-button-border) / var(--button-border-opacity));
  border-radius: 999px;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
}

.facets-layout-drawer .facets-filtering__modal-close:hover,
.facets-mobile .facets-filtering__modal-close:hover {
  background-color: rgb(var(--tertiary-button-hover-background));
  border-color: rgb(var(--tertiary-button-hover-border) / var(--button-border-opacity));
  color: rgb(var(--tertiary-button-hover-label));
}

.facets-layout-drawer .facets-filtering__modal-close svg,
.facets-mobile .facets-filtering__modal-close svg {
  width: 20px;
  height: 20px;
}

.facets-layout-drawer .facets-filtering__summary,
.facets-mobile .facets-filtering__summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: calc(0.875rem * var(--body-scale));
  padding-inline: 0;
  border: 0;
  cursor: pointer;
  outline-offset: 2px;
}

.facets-layout-drawer .facets-filtering__summary::-webkit-details-marker,
.facets-mobile .facets-filtering__summary::-webkit-details-marker {
  display: none;
}

.facets-layout-drawer .facets-filtering__summary span,
.facets-mobile .facets-filtering__summary span {
  margin-inline-end: auto;
  color: rgb(var(--heading-color));
  letter-spacing: calc(var(--preheading-letter-spacing) * 1px);
  text-transform: uppercase;
  font-weight: 500;
}

.facets-layout-drawer .facets-filtering__summary svg,
.facets-mobile .facets-filtering__summary svg {
  width: 16px;
  height: 16px;
  color: rgb(var(--accent-color));
  transform: rotate(-90deg);
}

.facets-layout-drawer .facets-filtering__submenu-summary {
  display: flex;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 0;
  cursor: pointer;
  background: none;
  border: 0;
  outline: 0;
}

.facets-layout-drawer .facets-filtering__submenu-summary svg {
  width: 18px;
  height: 18px;
  margin-inline-end: 0;
  transform: rotate(90deg);
}

.facets-layout-drawer .facets-filtering__modal-content,
.facets-mobile .facets-filtering__modal-content {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: var(--facets-drawer-width);
  height: 100%;
  overflow: hidden;
  background-color: rgb(var(--color-background));
  border-inline-end: 1px solid rgba(var(--accent-color), 0.16);
  box-shadow: 18px 0 40px rgba(var(--color-text), 0.08);
}

.facets-layout-drawer .facets-filtering__filters {
  flex-direction: column;
}

.facets-layout-drawer .facets-filtering__content-header {
  display: none;
}

.facets-layout-drawer .facets-filtering__content-header.is-visible {
  display: flex;
}

.facets-layout-drawer .facets-filtering__modal-body-inner theme-modal {
  display: block;
}

.facets-layout-drawer .facets-filtering__modal-footer,
.facets-mobile .facets-filtering__modal-footer {
  margin-top: auto;
  border-top: 1px solid rgb(var(--line-color));
  background-color: rgb(var(--primary-background));
}

.facets-layout-drawer .facets-filtering__modal-footer .facets-filtering__submenu-button-group,
.facets-mobile .facets-filtering__modal-footer .facets-filtering__submenu-button-group {
  border-top: none;
  padding: 20px 24px;
}

.facets-layout-drawer .facets-filtering__modal-content,
.facets-mobile .facets-filtering__modal-content {
  --modal-animation-name: animation-slide-in-left;

  position: fixed;
  inset-block-start: 0;
  inset-block-end: auto;
  inset-inline-start: 0;
  inset-inline-end: auto;
  z-index: 3010;
  gap: 0;
  width: var(--facets-drawer-width);
  height: 100dvh;
  max-height: none;
  padding: 0;
  margin: 0;
  overflow: hidden;
  background-color: rgb(var(--color-background));
  border: 0;
  box-shadow: 18px 0 40px rgba(var(--color-text), 0.08);
}

.facets-layout-drawer .facets-filtering__content,
.facets-mobile .facets-filtering__content {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
  padding: 0;
  background-color: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.facets-layout-drawer .facets-filtering__summary span,
.facets-mobile .facets-filtering__summary span {
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: calc(var(--preheading-letter-spacing) * 1px);
}

.facets-layout-drawer .facets-filtering__content.price-range .facets-filtering__content-header~fieldset,
.facets-mobile .facets-filtering__content.price-range .facets-filtering__content-header~fieldset {
  padding-block-start: calc(0.25rem * var(--body-scale));
  padding-block-end: calc(0.625rem * var(--body-scale));
}

.facets-layout-drawer .facets-filtering__list,
.facets-mobile .facets-filtering__list {
  list-style: none;
  gap: 0;
  padding-inline-start: 0;
  padding-block-end: calc(0.625rem * var(--body-scale));
  overflow: visible;
}

.facets-layout-drawer .facets-filtering__list:not(:last-child),
.facets-mobile .facets-filtering__list:not(:last-child) {
  padding-block-end: 0;
}

.facets-layout-drawer .facets-filtering__modal-body,
.facets-mobile .facets-filtering__modal-body {
  flex: 1;
  gap: 0;
  padding-block: calc(1.25rem * var(--body-scale));
  padding-inline: calc(1.5rem * var(--body-scale));
  overflow-y: hidden;
}

.facets-layout-drawer .facets-filtering__modal-body-inner,
.facets-mobile .facets-filtering__modal-body-inner {
  padding: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.facets-layout-drawer .facets-filtering__details,
.facets-mobile .facets-filtering__details {
  border-block-end: 1px solid rgb(var(--line-color));
}

.facets-layout-drawer .facets-filtering__details[open] .facets-filtering__summary svg,
.facets-mobile .facets-filtering__details[open] .facets-filtering__summary svg {
  transform: rotate(180deg);
}

.facets-layout-drawer .facets-filtering__summary svg,
.facets-mobile .facets-filtering__summary svg {
  width: 12px;
  height: 12px;
  transition: transform 0.3s ease;
}

.facets-layout-drawer theme-collapse:last-child .facets-filtering__details,
.facets-mobile theme-collapse:last-child .facets-filtering__details {
  border-block-end: none;
}

.facets-layout-drawer .facets-filtering__list>li,
.facets-mobile .facets-filtering__list>li {
  padding-block: 0;
}

.facets-layout-drawer .facets-filtering__checkbox-wrapper,
.facets-mobile .facets-filtering__checkbox-wrapper {
  gap: calc(0.625rem * var(--body-scale));
  width: 100%;
  padding-block: calc(0.625rem * var(--body-scale));
}

.facets-layout-drawer .facets-filtering__checkbox-wrapper .checkbox-tick,
.facets-mobile .facets-filtering__checkbox-wrapper .checkbox-tick {
  width: calc(1rem * var(--body-scale));
  height: calc(1rem * var(--body-scale));
  border-radius: calc(0.04px * var(--layout-radius));
  border-color: rgb(var(--accent-color));
}

.facets-layout-drawer .facets-filtering__submenu-button-group,
.facets-mobile .facets-filtering__submenu-button-group {
  display: flex;
  flex-wrap: wrap;
  gap: calc(0.75rem * var(--body-scale));
  padding: calc(1.25rem * var(--body-scale)) calc(1.5rem * var(--body-scale));
  margin-top: auto;
  border-top: 1px solid rgb(var(--line-color));
}

.facets-layout-drawer .facets-filtering__submenu-button-group .btn,
.facets-mobile .facets-filtering__submenu-button-group .btn {
  flex: 1;
  justify-content: center;
  min-width: 120px;
  white-space: nowrap;
}

.facets-sorting__details {
  position: relative;
}

.facets-sorting__content {
  position: absolute;
  inset-inline-end: 0;
  z-index: 10;
}

.facets-mobile__modals {
  display: flex;
  padding: 15px 0;
  align-items: center;
}

.facets-mobile__modals>* {
  flex: 1;
}

.facets-mobile__modals>*:first-child {
  border-inline-end: 1px solid rgba(var(--color-text), 0.1);
}

.facets-mobile__modals summary {
  display: flex;
  justify-content: center;
  width: 100%;
}

.facets-mobile .facets-filtering__modal-summary {
  justify-content: center;
  width: fit-content;
  margin-inline: auto;
}

.facets-mobile .facets-sorting__content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: absolute;
  inset-block-start: calc(100% + 10px);
  inset-block-end: auto;
  inset-inline-end: 0;
  inset-inline-start: auto;
  z-index: 10;
  width: max-content;
  min-width: min(250px, calc(100vw - 32px));
  max-width: min(320px, calc(100vw - 32px));
  height: auto;
  margin: 0;
}

.facets-mobile .facets-sorting__content label {
  padding: 5px 0;
}

.facets-mobile .facets-sorting__content-header {
  display: none;
}

.facets-mobile .facets-sorting__details[open]::before,
.facets-mobile .facets-sorting-modal>details[open]::before {
  display: none;
}

.facets-mobile .facets-filtering__modal-header {
  padding: 20px 20px 10px;
}

.facets-mobile .facets-filtering__modal-header>*:first-child {
  padding-block: 4.5px;
}

.facets-mobile .facets-filtering__content-header {
  display: none;
}

.facets-mobile .facets-filtering__content-header.is-visible {
  display: flex;
}

.facets-mobile .facets-filtering__content-header~fieldset {
  padding: 0;
  border: 0;
}

.facets-mobile .facets-filtering__filters {
  flex-direction: column;
}

.facets-mobile .facets-filtering__summary {
  justify-content: space-between;
  padding: 12px 0;
  border: 0;
}

.facets-mobile .facets-filtering__modal-content {
  overflow: hidden;
}

.facets-mobile .facets-filtering__content {
  position: relative;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
}

.facets-mobile .facets-filtering__details[open] {
  padding-block-end: 10px;
}

.facets-mobile .facets-filtering__details:not(:last-child) {
  border-block-end: 1px solid rgba(var(--color-text), 0.1);
}

.facets-mobile .facets-filtering__modal-body {
  flex: 1;
  overflow-y: hidden;
}

.facets-mobile .facets-filtering__modal-body>*:first-child {
  flex: 1;
  overflow: hidden auto;
}

.facets-mobile .facets-filtering__modal-footer {
  margin-top: auto;
  border-top: 1px solid rgb(var(--line-color));
  background-color: rgb(var(--primary-background));
}

.facets-mobile .facets-filtering__modal-footer .facets-filtering__submenu-button-group {
  padding: 16px 20px 20px;
}

.facets-mobile .facets-filtering .price-range .facets-confirm {
  display: none;
}

.price-range-input {
  display: flex;
  gap: 8px;
  align-items: center;
}

.price-range-input .field {
  display: flex;
  align-items: center;
  margin: 0;
  flex: 1;
}

.price-range-input .field__input {
  min-width: 0;
  width: 100%;
  padding: 8px 12px;
}

.price-range-input .line {
  flex-shrink: 0;
  width: 10px;
  height: 1px;
  background: rgb(var(--line-color));
}

.price-range-input .field-currency {
  flex-shrink: 0;
  padding-inline-end: 8px;
  opacity: 0.5;
}

.facets-loading {
  position: fixed;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
  background-color: rgb(var(--primary-background));
  color: rgb(var(--text-color));
  border-radius: 12px;
  box-shadow: 0 10px 50px 0 rgba(var(--text-color), 0.08);
  transform: translate(-50%, -50%);
}

.facets-loading svg {
  width: 60px;
  height: 60px;
}

.facets-loading-wrapper {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: none;
  content: "";
}

.facets-loading-wrapper.loading {
  display: block;
}

.spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.plugin-product-search-drawer-footer-buttons button {
  width: auto;
  justify-content: center;
}

.plugin-product-search-component-popover-btn-submit {
  justify-content: center;
}

.plugin-product-search-component-price-range .search-filter-price-input-con .search-filter-price-input {
  min-width: unset;
}