@charset "UTF-8";
.filter-panel.is--sidebar, .filter-panel {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.filter-panel .ew-filter__head, .filter-panel .filter-panel-offcanvas-header {
  order: 0;
}
.filter-panel .filter-panel-active-container.ew-filter__chips {
  order: 1;
  margin: 0.5rem 0 0.35rem;
}
.filter-panel .filter-panel-items-container {
  order: 2;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.filter-panel .filter-panel-aria-live {
  order: 3;
}
.filter-panel .ew-filter__actions {
  order: 10;
}
/* Eisenwaren.shop – kompakte Listing-Sidebar und breiteres Shopraster. */
.cms-section-sidebar .cms-block-category-navigation {
  display: none;
}
@media screen and (min-width: 992px) {
  /* 206px Filterfläche plus Bootstrap gutter; matches the reference at 1024px. */
  .cms-section-sidebar .cms-section-sidebar-sidebar-content.col-lg-4, .cms-section-sidebar .cms-section-sidebar-sidebar-content.col-xl-3 {
    flex: 0 0 236px;
    width: 236px;
    max-width: 236px;
    padding-left: 30px;
    padding-right: 0;
    box-sizing: border-box;
  }
  .cms-section-sidebar .cms-section-sidebar-sidebar-content .col-12, .cms-section-sidebar .cms-section-sidebar-sidebar-content .cms-row > .col-12, .cms-section-sidebar .cms-section-sidebar-sidebar-content .cms-block-container-row > .col-12 {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100%;
    max-width: 100%;
  }
  .cms-section-sidebar .cms-section-sidebar-sidebar-content .cms-block, .cms-section-sidebar .cms-section-sidebar-sidebar-content .cms-block-container, .cms-section-sidebar .cms-section-sidebar-sidebar-content .cms-block-container-row, .cms-section-sidebar .cms-section-sidebar-sidebar-content .cms-block-sidebar-filter, .cms-section-sidebar .cms-section-sidebar-sidebar-content .cms-element-sidebar-filter, .cms-section-sidebar .cms-section-sidebar-sidebar-content .filter-panel-wrapper, .cms-section-sidebar .cms-section-sidebar-sidebar-content .filter-panel {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
  }
  .cms-section-sidebar .cms-section-sidebar-main-content.col-lg-8, .cms-section-sidebar .cms-section-sidebar-main-content.col-xl-9 {
    flex: 1 1 0;
    width: auto;
    max-width: none;
    padding-left: 1.75rem;
  }
}
@media screen and (min-width: 1200px) {
  /* Follow the reference theme's 25% category sidebar, including at 1280px. */
  /* At 1200–1399px the search main column has 40px left and 20px right
       padding. Extend only to the viewport edge; the category listing keeps
       the Rotthove reference width above. */
  .cms-section-sidebar-mobile-wrap.boxed > .row, .ew-search-layout {
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
  }
  .cms-section-sidebar .cms-section-sidebar-sidebar-content.col-lg-4, .cms-section-sidebar .cms-section-sidebar-sidebar-content.col-xl-3 {
    flex: 0 0 25%;
    width: 25%;
    max-width: 25%;
    padding-left: 41px;
    padding-right: 39px;
  }
  .cms-section-sidebar .cms-section-sidebar-main-content.col-lg-8, .cms-section-sidebar .cms-section-sidebar-main-content.col-xl-9 {
    padding-left: 40px;
  }
  .cms-section-sidebar .cms-element-product-listing-wrapper {
    width: calc(100% + 59px);
    max-width: none;
  }
  .ew-search-layout .cms-element-product-listing-wrapper {
    width: calc(100% + 40px);
  }
}
@media screen and (min-width: 1400px) {
  /* Rotthove category geometry: 340px sidebar, 259px filter, 969px listing row. */
  .cms-section-sidebar .cms-section-sidebar-sidebar-content.col-lg-4, .cms-section-sidebar .cms-section-sidebar-sidebar-content.col-xl-3 {
    flex-basis: 340px;
    width: 340px;
    max-width: 340px;
    padding-left: 40px;
    padding-right: 40px;
  }
  .cms-section-sidebar .cms-section-sidebar-main-content.col-lg-8, .cms-section-sidebar .cms-section-sidebar-main-content.col-xl-9 {
    padding-left: 20px;
    padding-right: 20px;
  }
  .cms-section-sidebar .cms-element-product-listing-wrapper {
    width: calc(100% + 29px);
    max-width: none;
    margin-left: 20px;
  }
}
.ew-filter-toggle {
  display: none;
  min-height: 40px;
  padding: 0.4rem 0.9rem;
  border: 1px solid #D5D9DC;
  border-radius: 4px;
  background: #fff;
  color: #000;
  font-weight: 700;
  font-size: 0.875rem;
}
@media screen and (max-width: 991.98px) {
  .ew-filter-toggle {
    display: inline-flex;
    align-items: center;
    margin: 0 0 0.75rem;
  }
}
.filter-panel.is--sidebar, .filter-panel {
  font-size: 0.875rem;
  color: #000;
}
/* Shopify: .upcode-filter__head hat keinen Rahmen – die Linie kommt vom ersten Group-border-top. */
.filter-panel-offcanvas-header, .filter-panel .filter-panel-offcanvas-header, .filter-panel-offcanvas-header.ew-filter__head, .ew-filter__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  max-width: 100%;
  margin: 0 0 0.5rem;
  padding: 0;
  min-height: 0;
  border: 0;
  border-bottom: 0;
  background: transparent;
  box-shadow: none;
  box-sizing: border-box;
}
.ew-filter__heading {
  margin: 0;
  color: #000;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}
.ew-filter__close {
  display: none;
}
.ew-filter__group.filter-panel-item {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  justify-items: stretch;
  margin: 0;
  padding: 0.35rem 0;
  width: 100% !important;
  max-width: 100%;
  min-width: 0;
  border: 0;
  border-top: 1px solid #D5D9DC;
  border-bottom: 0;
  background: transparent;
  box-shadow: none;
  box-sizing: border-box;
}
.ew-filter__group.filter-panel-item:last-of-type {
  border-bottom: 1px solid #D5D9DC;
}
.ew-filter__title.filter-panel-item-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 0.15rem 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #000 !important;
  font-size: 0.9375rem;
  font-weight: 700;
  text-align: left;
  line-height: 1.3;
}
.ew-filter__title.filter-panel-item-toggle:focus, .ew-filter__title.filter-panel-item-toggle:focus-visible, .ew-filter__title.filter-panel-item-toggle:hover, .ew-filter__title.filter-panel-item-toggle:active {
  background: transparent !important;
  box-shadow: none !important;
  color: #000;
}
.ew-filter__indicator {
  position: relative;
  flex: 0 0 auto;
  width: 0.85rem;
  height: 0.85rem;
  margin-left: 0.5rem;
}
.ew-filter__indicator::after {
  content: "+";
  color: #B84E1F;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1;
}
.ew-filter__group.is-open > .ew-filter__title .ew-filter__indicator::after, .ew-filter__group .ew-filter__title[aria-expanded="true"] .ew-filter__indicator::after {
  content: "−";
}
/* Shopware-Pfeil ausblenden, eigener +/- Indikator */
.ew-filter__title .icon-filter-panel-item-toggle, .ew-filter__title .icon-arrow-medium-down {
  display: none;
}
.ew-filter__body.filter-panel-item-dropdown, .is--sidebar .filter-panel-item-dropdown, .is--sidebar .ew-filter__body.filter-panel-item-dropdown {
  margin: 0;
  padding: 0 0 0.5rem;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent;
  box-shadow: none !important;
  min-width: 0 !important;
  width: 100%;
  max-width: 100%;
  max-height: none !important;
  overflow: visible !important;
  box-sizing: border-box;
}
.ew-filter__search, .ew-filter__body, .ew-filter__list {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}
.ew-filter__search {
  margin: 0 0 0.45rem;
  padding: 0;
}
.ew-filter__search-input {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 36px;
  margin: 0;
  padding: 0.3rem 0.55rem;
  border: 1px solid #D5D9DC;
  border-radius: 4px;
  background: #fff;
  color: #000;
  font: inherit;
  font-size: 0.8125rem;
  box-sizing: border-box !important;
  box-shadow: none;
  appearance: none;
}
.ew-filter__search-input:focus {
  outline: 2px solid #B84E1F;
  outline-offset: 1px;
}
.ew-filter__list.filter-multi-select-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.ew-filter__list .filter-multi-select-list-item {
  margin: 0;
  padding: 0;
}
.ew-filter__list .filter-multi-select-item, .ew-filter__list .form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0;
  padding: 0.2rem 0;
  min-height: 0;
}
.ew-filter__list .filter-multi-select-checkbox, .ew-filter__list .form-check-input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0.15rem 0 0;
  border: 1px solid #D5D9DC;
  border-radius: 4px;
  background: #fff;
  accent-color: #B84E1F;
  box-shadow: none;
}
.ew-filter__list .filter-multi-select-checkbox:checked, .ew-filter__list .form-check-input:checked {
  background-color: #B84E1F;
  border-color: #B84E1F;
}
.ew-filter__list .filter-multi-select-checkbox:focus, .ew-filter__list .form-check-input:focus {
  box-shadow: 0 0 0 2px rgba(184, 78, 31, 0.25);
}
.ew-filter__list .filter-multi-select-item-label, .ew-filter__list .form-check-label {
  margin: 0;
  color: #000;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.35;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.ew-filter__count {
  color: #383E42;
  font-weight: 400;
}
.ew-filter__more {
  margin-top: 0.25rem;
}
.ew-filter__more-toggle {
  display: inline-block;
  margin: 0;
  padding: 0.35rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #B84E1F;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  list-style: none;
  appearance: none;
}
.ew-filter__more-toggle:hover, .ew-filter__more-toggle:focus, .ew-filter__more-toggle:focus-visible, .ew-filter__more-toggle:active {
  color: #9E421A;
  background: transparent;
  box-shadow: none;
  border: 0;
}
.ew-filter__more-toggle::-webkit-details-marker {
  display: none;
}
.ew-filter__more[open] > .ew-filter__more-toggle, .ew-filter__more.is-forced-open > .ew-filter__more-toggle {
  display: none;
}
.ew-filter__chips.filter-panel-active-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.75rem 0 0;
  padding: 0;
}
.filter-panel-active-container .filter-active {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 32px;
  padding: 0.25rem 0.6rem;
  border: 1px solid #D5D9DC !important;
  border-radius: 999px !important;
  background: #F2F3F4 !important;
  color: #000 !important;
  font-size: 0.8125rem;
  font-weight: 400;
  box-shadow: none !important;
}
.filter-panel-active-container .filter-reset-all {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.25rem 0.6rem;
  border: 1px solid #D5D9DC !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #000 !important;
  font-size: 0.8125rem;
  text-decoration: underline;
  box-shadow: none !important;
}
.ew-filter__actions {
  display: none;
}
.filter-panel .filter-range, .filter-panel .filter-boolean {
  margin: 0;
  padding: 0.35rem 0;
  width: 100%;
  max-width: 100%;
  border: 0;
  border-top: 1px solid #D5D9DC;
  box-sizing: border-box;
}
.filter-panel .filter-range:last-of-type, .filter-panel .filter-boolean:last-of-type {
  border-bottom: 1px solid #D5D9DC;
}
.filter-panel .filter-range .filter-panel-item-toggle, .filter-panel .filter-boolean .filter-panel-item-toggle {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-weight: 700;
  text-align: left;
  min-height: 44px;
  width: 100%;
  padding: 0.15rem 0;
}
.filter-panel .filter-range .filter-panel-item-dropdown, .is--sidebar .filter-range .filter-panel-item-dropdown {
  border: 0 !important;
  box-shadow: none !important;
  max-height: none !important;
  overflow: visible !important;
  min-width: 0 !important;
  width: 100%;
  padding: 0 0 0.5rem;
}
.filter-panel .filter-range input, .filter-panel .filter-range .form-control, .filter-panel .filter-min-input, .filter-panel .filter-max-input {
  min-height: 40px;
  padding: 0.35rem 0.5rem;
  border: 1px solid #D5D9DC;
  border-radius: 4px;
  box-shadow: none;
  color: #000;
  font: inherit;
  box-sizing: border-box;
}
.filter-panel .filter-range input:focus, .filter-panel .filter-range .form-control:focus {
  outline: 2px solid #B84E1F;
  outline-offset: 1px;
  box-shadow: none;
}
/* Mobil: Shopware-Offcanvas wie Shopify-Drawer */
@media screen and (max-width: 991.98px) {
  /* Offcanvas: Standard-Dropdown-Rahmen entfernen, Accordion wie Desktop */
  .filter-panel-offcanvas-header.ew-filter__head, .offcanvas .ew-filter__head, .offcanvas-filter .filter-panel-offcanvas-header {
    display: flex;
    margin: 0;
    padding: 1rem 1rem 0.5rem;
    min-height: 0;
    border: 0;
    border-bottom: 0;
    box-shadow: none;
  }
  .ew-filter__close, .filter-panel-offcanvas-only.ew-filter__close, .offcanvas .ew-filter__close {
    display: block;
  }
  .offcanvas-filter .filter-panel, .offcanvas .filter-panel {
    width: 100%;
    max-width: 100%;
    padding: 0 1rem 1rem !important;
    box-sizing: border-box;
  }
  .filter-panel-items-container {
    padding-bottom: 4.5rem;
  }
  .ew-filter__actions {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    display: block;
    width: 100%;
    max-width: 100%;
    margin-top: auto;
    padding: 0.75rem 0 0.5rem;
    background: #fff;
    box-shadow: 0 -8px 12px #fff;
    box-sizing: border-box;
  }
  .offcanvas .ew-filter__actions, .offcanvas-filter .ew-filter__actions, .filter-offcanvas-body .ew-filter__actions {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100vw;
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
    z-index: 1060;
  }
  .ew-filter__show, .offcanvas .ew-filter__show {
    display: block !important;
    position: static !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 44px;
    padding: 0.6rem 1rem;
    border: 0 !important;
    border-radius: 4px;
    background: #B84E1F !important;
    color: #fff !important;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    box-sizing: border-box;
  }
  .ew-filter__show:hover, .offcanvas .ew-filter__show:hover {
    background: #9E421A !important;
    color: #fff !important;
  }
  .offcanvas .filter-panel-item-toggle, .offcanvas .ew-filter__title {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  .offcanvas .filter-panel-item-dropdown, .offcanvas .ew-filter__body {
    border: 0 !important;
    box-shadow: none !important;
    max-height: none !important;
    overflow: visible !important;
  }
}
@media screen and (min-width: 992px) {
  .ew-filter__show, .ew-filter__actions {
    display: none !important;
  }
  .filter-panel-offcanvas-only.ew-filter__close {
    display: none !important;
  }
  .cms-element-sidebar-filter .filter-panel-wrapper {
    display: block !important;
    position: static !important;
    width: auto !important;
    transform: none !important;
    visibility: visible !important;
    height: auto !important;
    overflow: visible !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
  }
}
.ew-filter__title:focus-visible, .ew-filter__search-input:focus-visible, .ew-filter__show:focus-visible, .filter-active:focus-visible {
  outline: 2px solid #B84E1F;
  outline-offset: 2px;
}
/* Instantes Auf-/Zuklappen: kein Bootstrap-height-Transition (verursacht Ruckeln bei langen Optionslisten). */
.ew-filter__group > .ew-filter__body.collapse, .ew-filter__group > .ew-filter__body.collapsing, .is--sidebar .ew-filter__group > .filter-panel-item-dropdown.collapse, .is--sidebar .ew-filter__group > .filter-panel-item-dropdown.collapsing {
  display: none !important;
  height: auto !important;
  transition: none !important;
  overflow: hidden;
}
.ew-filter__group.is-open > .ew-filter__body, .ew-filter__group.is-open > .ew-filter__body.collapse, .ew-filter__group.is-open > .ew-filter__body.collapse.show, .ew-filter__group.is-open > .ew-filter__body.collapsing, .is--sidebar .ew-filter__group.is-open > .filter-panel-item-dropdown {
  display: block !important;
  height: auto !important;
  transition: none !important;
}
.ew-filter__group.is-open .ew-filter__list {
  max-height: 16.5rem;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
}
.filter-multi-select-count:not(:empty) {
  margin-left: 0.3rem;
  color: #6b7280;
  font-weight: 600;
  font-size: 0.8125rem;
}
/* Leere/inaktive Filteroptionen ausblenden (Shopware disableEmptyFilter graut sonst nur aus). */
.ew-filter__list .filter-multi-select-list-item:has(.filter-multi-select-checkbox:disabled):not(:has(.filter-multi-select-checkbox:checked)) {
  display: none !important;
}
.ew-filter__group.filter-boolean:has(input:disabled):not(:has(input:checked)), .ew-filter__group.filter-range.disabled:not(:has(input:checked)), .ew-filter__group.is-disabled:not(:has(input:checked)), .ew-filter__group[hidden] {
  display: none !important;
}
