/* Finder state follows the native checked radio, including resets and AJAX replacements. */
body#html-body:is(#html-body).sf-store .amfinder-dropdown {
  background: #f4f7fa !important;
  color: var(--store-ink, #163e56) !important;
}
body#html-body:is(#html-body).sf-store .amfinder-dropdown-wrapper:has(input[type="radio"]:checked) > .amfinder-dropdown:not([disabled]):not([aria-disabled="true"]) {
  background: #fff !important;
}
body#html-body:is(#html-body).sf-store .amfinder-dropdown:is([disabled],[aria-disabled="true"]) {
  background: #f4f7fa !important;
  color: #7b8ba2 !important;
}
body#html-body:is(#html-body).sf-store .amfinder-dropdown .amfinder-dropdown-button {
  background: transparent !important;
  color: inherit !important;
}

/* Keep the native collapsible and toolbar together on tablet and mobile. */
body#html-body:is(#html-body).sf-store .sf-catalog-bar-v68:empty { display: none !important; }
@media (max-width: 1024px) {
  body#html-body:is(#html-body).sf-filter-inline-v68 #maincontent > .columns { display: block !important; }
  body#html-body:is(#html-body).sf-filter-inline-v68 #maincontent > .columns > .column.main {
    width: 100% !important;
    max-width: none !important;
    float: none !important;
    padding-left: 0 !important;
  }
  body#html-body:is(#html-body).sf-filter-inline-v68 #maincontent > .columns > .sidebar-main:empty { display: none !important; }
  body#html-body:is(#html-body).sf-filter-inline-v68 .sf-catalog-bar-v68 {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 12px 16px !important;
    align-items: center !important;
    margin: 0 0 20px !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  body#html-body:is(#html-body).sf-filter-inline-v68 .sf-catalog-bar-v68 > :is(#layered-filter-block,.toolbar-products) {
    display: contents !important;
    position: static !important;
  }
  body#html-body:is(#html-body).sf-filter-inline-v68 .sf-catalog-bar-v68 .filter-title {
    grid-column: 1 !important;
    grid-row: 1 !important;
    display: block !important;
    margin: 0 !important;
    width: auto !important;
    position: static !important;
    inset: auto !important;
    height: auto !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    z-index: auto !important;
  }
  body#html-body:is(#html-body).sf-filter-inline-v68 .sf-catalog-bar-v68 .filter-title strong {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    position: static !important;
    inset: auto !important;
    box-sizing: border-box !important;
    min-height: 44px !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    border: 1px solid #bfd8e8 !important;
    border-radius: 8px !important;
    background: #edf6fc !important;
    color: var(--store-ink, #163e56) !important;
    font: 600 14px/1.4 var(--store-body, Arial, sans-serif) !important;
    cursor: pointer !important;
    box-shadow: none !important;
    white-space: normal !important;
    z-index: auto !important;
  }
  body#html-body:is(#html-body).sf-filter-inline-v68 .sf-catalog-bar-v68 .filter-title strong::before { display: none !important; }
  body#html-body:is(#html-body).sf-filter-inline-v68 .sf-catalog-bar-v68 .filter-title strong::after {
    content: "" !important;
    color: inherit !important;
    display: block !important;
    position: static !important;
    width: 7px !important;
    height: 7px !important;
    margin: -4px 2px 0 !important;
    border: solid currentColor !important;
    border-width: 0 2px 2px 0 !important;
    transform: rotate(45deg) !important;
    flex: 0 0 7px !important;
  }
  body#html-body:is(#html-body).sf-filter-inline-v68 .sf-catalog-bar-v68 .active > .filter-title strong::after {
    transform: rotate(225deg) !important;
    margin-top: 4px !important;
  }
  body#html-body:is(#html-body).sf-filter-inline-v68 .sf-catalog-bar-v68 .filter-title strong:focus-visible {
    outline: 2px solid #087fb2 !important;
    outline-offset: 3px !important;
  }
  body#html-body:is(#html-body).sf-filter-inline-v68 .sf-catalog-bar-v68 .filter-content {
    display: none !important;
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    position: static !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 16px !important;
    border: 1px solid #bfd8e8 !important;
    border-radius: 10px !important;
    background: #fff !important;
    visibility: visible !important;
    overflow: visible !important;
    box-shadow: none !important;
    z-index: auto !important;
  }
  body#html-body:is(#html-body).sf-filter-inline-v68 .sf-catalog-bar-v68 .active > .filter-content { display: block !important; }
  body#html-body:is(#html-body).sf-filter-inline-v68 .sf-catalog-bar-v68 .active > .filter-content > .filter-options { display: block !important; }
  body#html-body:is(#html-body).sf-filter-inline-v68 .sf-catalog-bar-v68 :is(.filter-options,.filter-subtitle) {
    position: static !important;
    inset: auto !important;
    width: auto !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }
  body#html-body:is(#html-body).sf-filter-inline-v68 .sf-catalog-bar-v68 .filter-subtitle { display: none !important; }
  body#html-body:is(#html-body).sf-filter-inline-v68 .sf-catalog-bar-v68 .toolbar-sorter {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    float: none !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 44px !important;
    min-width: 0 !important;
  }
  body#html-body:is(#html-body).sf-filter-inline-v68 .sf-catalog-bar-v68 .sorter-options {
    min-height: 44px !important;
    max-width: 150px !important;
    width: auto !important;
    margin: 0 !important;
  }
  body#html-body:is(#html-body).sf-filter-inline-v68 .sf-catalog-bar-v68 .toolbar-amount {
    display: block !important;
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
  }
  body#html-body:is(#html-body).sf-filter-inline-v68 .sf-catalog-bar-v68 .modes:empty { display: none !important; }
  /* Remove the legacy fullscreen filter shell only while this inline control is used. */
  body#html-body:is(#html-body).sf-filter-inline-v68.filter-active { overflow: auto !important; }
  body#html-body:is(#html-body).sf-filter-inline-v68.filter-active .page-wrapper {
    height: auto !important;
    margin-top: 0 !important;
    visibility: visible !important;
  }
  body#html-body:is(#html-body).sf-filter-inline-v68.filter-active .page-header { display: block !important; }
  body#html-body:is(#html-body).sf-filter-inline-v68.filter-active .columns { z-index: auto !important; }
}
@media (max-width: 479px) {
  body#html-body:is(#html-body).sf-filter-inline-v68 .sf-catalog-bar-v68 { gap: 10px 8px !important; }
  body#html-body:is(#html-body).sf-filter-inline-v68 .sf-catalog-bar-v68 .sorter-label {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
  }
  body#html-body:is(#html-body).sf-filter-inline-v68 .sf-catalog-bar-v68 .sorter-options { max-width: 115px !important; }
}

/* PRP category information shares the banner's content edges. OMP stays unchanged. */
body#html-body:is(#html-body).sf-store-prp.catalog-category-view :is(.sf-category-info-v68,.sf-category-banner-v68) {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
body#html-body:is(#html-body).sf-store-prp.catalog-category-view .sf-category-info-v68 :is([data-content-type="html"],.block-highlight,#custom-accordion) {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}
body#html-body:is(#html-body).sf-store-prp.catalog-category-view .sf-category-info-v68 #custom-accordion > [data-role="collapsible"] {
  border: 0 !important;
  margin: 10px 0 0 !important;
  padding: 0 !important;
  background: transparent !important;
}
body#html-body:is(#html-body).sf-store-prp.catalog-category-view .sf-category-info-v68 #custom-accordion > [data-role="collapsible"] > .title {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  box-sizing: border-box !important;
  width: 100% !important;
  gap: 16px !important;
  min-height: 56px !important;
  margin: 0 !important;
  padding: 14px 20px !important;
  border: 1px solid #c7dbe8 !important;
  border-radius: 10px !important;
  background: #f3f8fb !important;
  color: #163e56 !important;
  font: 600 16px/1.5 var(--store-body, Arial, sans-serif) !important;
  box-shadow: none !important;
}
body#html-body:is(#html-body).sf-store-prp.catalog-category-view .sf-category-info-v68 #custom-accordion > .active > .title {
  border-radius: 10px 10px 0 0 !important;
  border-bottom-color: transparent !important;
}
body#html-body:is(#html-body).sf-store-prp.catalog-category-view .sf-category-info-v68 #custom-accordion .left-t {
  flex: 1 1 0 !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
}
body#html-body:is(#html-body).sf-store-prp.catalog-category-view .sf-category-info-v68 #custom-accordion h2 {
  font: inherit !important;
  color: inherit !important;
  margin: 0 !important;
}
body#html-body:is(#html-body).sf-store-prp.catalog-category-view .sf-category-info-v68 #custom-accordion > [data-role="content"] {
  box-sizing: border-box !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 4px 20px 18px !important;
  border: 1px solid #c7dbe8 !important;
  border-top: 0 !important;
  border-radius: 0 0 10px 10px !important;
  background: #f3f8fb !important;
  color: #23485d !important;
  box-shadow: none !important;
}
body#html-body:is(#html-body).sf-store-prp.catalog-category-view .sf-category-info-v68 #custom-accordion :is(p,li) {
  color: #23485d !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
}
body#html-body:is(#html-body).sf-store-prp.catalog-category-view .sf-category-info-v68 #custom-accordion .icon-arrow {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 30px !important;
  width: 30px !important;
  height: 30px !important;
  margin: 0 !important;
  border-radius: 50% !important;
  color: #165778 !important;
  background: #e1eef5 !important;
  transform: none !important;
}
body#html-body:is(#html-body).sf-store-prp.catalog-category-view .sf-category-info-v68 #custom-accordion .icon-arrow::before { display: none !important; }
body#html-body:is(#html-body).sf-store-prp.catalog-category-view .sf-category-info-v68 #custom-accordion .icon-arrow::after {
  content: "" !important;
  color: inherit !important;
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: 7px !important;
  height: 7px !important;
  margin-top: -3px !important;
  border: solid currentColor !important;
  border-width: 0 1.5px 1.5px 0 !important;
  transform: rotate(45deg) !important;
}
body#html-body:is(#html-body).sf-store-prp.catalog-category-view .sf-category-info-v68 #custom-accordion .active .icon-arrow::after {
  transform: rotate(225deg) !important;
  margin-top: 3px !important;
}
@media (max-width: 767px) {
  body#html-body:is(#html-body).sf-store-prp.catalog-category-view .sf-category-info-v68 #custom-accordion > [data-role="collapsible"] > .title { padding: 12px 14px !important; }
  body#html-body:is(#html-body).sf-store-prp.catalog-category-view .sf-category-info-v68 #custom-accordion > [data-role="content"] { padding: 4px 14px 16px !important; }
}
