/*
 * Product listing responsive layout.
 *
 * Keep this scoped to listing pages: other layouts retain the theme's original
 * container widths, column ordering and sidebar behaviour.
 */

body.ma-product-listing-page #js-product-list .products {
  row-gap: 28px;
}

body.ma-product-listing-page #js-product-list .psvc-listing-card {
  margin-bottom: 0;
}

/* Search keeps card density relative to its available width, beside the facet sidebar. */
@media (min-width: 992px) {
  body#search.ma-product-listing-page #products.grid #js-product-list .products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    align-items: start;
    gap: 24px;
  }
  body#search.ma-product-listing-page #products.grid #js-product-list .products > .psvc-listing-card.tv-grid-list-wrapper-info-box {
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  body#search.ma-product-listing-page #products.grid #js-product-list .mch-category-inline-slot {
    grid-column: 1 / -1;
  }
}

/* Card typography and a decorative delivery cue in both catalog views. */
body.ma-product-listing-page #products .psvc-product-card__title h6 {
  font-weight: 650 !important;
}

body.ma-product-listing-page #products .psvc-product-card__delivery {
  font-weight: 400 !important;
}

body.ma-product-listing-page #products:not(.ma-list-compact) .psvc-product-card__delivery {
  text-align: center !important;
  justify-content: center;
}

body.ma-product-listing-page #products .psvc-product-card__delivery:not(.psvc-product-card__delivery--unavailable) {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

body.ma-product-listing-page #products .psvc-product-card__delivery:not(.psvc-product-card__delivery--unavailable)::before {
  content: "";
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask: url("../img/listing-delivery-truck.svg") center / contain no-repeat;
  mask: url("../img/listing-delivery-truck.svg") center / contain no-repeat;
}

/*
 * Listing transitions are page-level states. Keep the faceted-search loader
 * above the header, search field and floating storefront controls.
 */
body.ma-product-listing-page .faceted-overlay {
  z-index: 1000000;
}

/* Selected facet text stays light in desktop popups and the mobile drawer. */
body.ma-product-listing-page #search_filters .ma-facet-trigger,
body.ma-product-listing-page #search_filters .facet-label.active .search-link,
body.ma-product-listing-page #search_filters .facet-dropdown .select-title,
body.ma-product-listing-page #js-active-search-filters .filter-block {
  font-weight: 400 !important;
}

/*
 * Header dropdowns intentionally dim the page. The listing facets create
 * their own stacking context, so keep the shared backdrop above that context
 * but below the active header controls and dropdown.
 */
body.ma-product-listing-page.dropdown-open .tv-main-div .half-wrapper-backdrop {
  z-index: 1000;
}

/*
 * Shared listing toolbar.
 *
 * Keep the counter, sorting and page-size controls in one compact surface.
 * The markup remains compatible with PrestaShop's native listing refresh.
 */
body.ma-product-listing-page .tvleft-penal-product-top .ma-listing-toolbar {
  display: flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 10px;
  padding: 7px 10px 7px 14px;
  border: 1px solid #dce5ee;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(7, 60, 94, 0.055);
}

body.ma-product-listing-page .ma-listing-toolbar__summary {
  display: flex;
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  align-items: center;
  padding: 0;
}

body.ma-product-listing-page .ma-listing-toolbar__summary::before {
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: #f76300;
  box-shadow: 0 0 0 4px rgba(247, 99, 0, 0.1);
  content: "";
  flex: 0 0 auto;
}

body.ma-product-listing-page .ma-listing-toolbar__summary .tv-total-product {
  margin: 0;
}

body.ma-product-listing-page .ma-listing-toolbar__summary .tv-total-product-number {
  margin: 0;
  color: #073c5e;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
}

body.ma-product-listing-page .ma-listing-toolbar__controls,
body.ma-product-listing-page .ma-listing-toolbar__controls .tvall-page-shortby,
body.ma-product-listing-page .ma-listing-toolbar__controls .sort-by-row {
  display: flex;
  align-items: center;
}

body.ma-product-listing-page .ma-listing-toolbar__controls {
  flex: 0 1 auto;
  min-width: 0;
  margin-left: 16px;
}

body.ma-product-listing-page .ma-listing-toolbar__controls .tvall-page-shortby {
  width: auto;
  padding: 0;
}

body.ma-product-listing-page .ma-listing-toolbar__controls .sort-by-row {
  flex-wrap: nowrap;
  gap: 12px;
  margin: 0;
}

body.ma-product-listing-page .ma-listing-control {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

body.ma-product-listing-page .ma-listing-control .sort-by,
body.ma-product-listing-page .ma-products-per-page__label {
  width: auto;
  margin: 0;
  padding: 0;
  color: #617287;
  font-size: 12px;
  font-weight: 650;
  line-height: 1;
  text-align: left;
  white-space: nowrap;
}

body.ma-product-listing-page .ma-listing-control--sort .products-sort-order {
  position: relative;
  width: clamp(180px, 18vw, 260px);
  min-width: 180px;
  padding: 0;
  color: #073c5e;
}

body.ma-product-listing-page .ma-listing-control--sort .products-sort-order .select-title {
  display: flex;
  width: 100%;
  min-height: 28px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 3px 9px 3px 11px;
  border: 1px solid #d7e1eb;
  border-radius: 7px;
  background: #f8fafc;
  box-shadow: none;
  color: #073c5e;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.2;
  transition:
    border-color 0.16s ease,
    background-color 0.16s ease;
}

body.ma-product-listing-page .ma-listing-control--sort .products-sort-order .select-title:hover {
  border-color: #9db2c5;
  background: #fff;
}

body.ma-product-listing-page .ma-listing-control--sort .products-sort-order .select-title .material-icons {
  color: #073c5e;
  font-size: 18px;
  line-height: 1;
}

body.ma-product-listing-page .ma-listing-control--sort .products-sort-order .dropdown-menu {
  right: 0;
  left: auto;
  width: max(100%, 240px);
  margin-top: 4px;
  overflow: hidden;
  border: 1px solid #dce5ee;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(7, 60, 94, 0.14);
}

body.ma-product-listing-page .ma-listing-control--sort .products-sort-order .select-list {
  padding: 9px 12px;
  font-size: 12.5px;
  line-height: 1.25;
}

body.ma-product-listing-page .ma-listing-control--sort .products-sort-order .select-list.current {
  background: rgba(7, 60, 94, 0.07);
  color: #073c5e;
  font-weight: 400;
}

body.ma-product-listing-page .ma-products-per-page {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
}

body.ma-product-listing-page .ma-products-per-page__select {
  width: 72px;
  min-width: 72px;
  height: 28px;
  margin: 0;
  padding: 0 23px 0 9px;
  border: 1px solid #d7e1eb;
  border-radius: 7px;
  background-color: #f8fafc;
  color: #073c5e;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 400;
  line-height: normal;
  text-align: left;
  text-align-last: left;
  transition:
    border-color 0.16s ease,
    background-color 0.16s ease;
}

body.ma-product-listing-page .ma-products-per-page__select:hover,
body.ma-product-listing-page .ma-products-per-page__select:focus {
  border-color: #9db2c5;
  background-color: #fff;
}

body.ma-product-listing-page .ma-listing-control--sort .products-sort-order .select-title:focus-visible,
body.ma-product-listing-page .ma-products-per-page__select:focus-visible {
  outline: 2px solid #f76300;
  outline-offset: 2px;
}

@media (min-width: 992px) {
  body.ma-product-listing-page #products #search_filters .tvleft-right-penal-all-block {
    margin-bottom: 0;
  }

  body.ma-product-listing-page #products #search_filters .tvserach-filter-wrapper {
    padding-top: 7px;
    padding-bottom: 7px;
  }

  body.ma-product-listing-page #products #search_filters .ma-facet-trigger,
  body.ma-product-listing-page #products #search_filters .facet-dropdown .select-title {
    min-height: 28px;
    padding-top: 3px;
    padding-bottom: 3px;
  }
}

@media (min-width: 1600px) {
  body.ma-product-listing-page #products.grid .psvc-listing-card.tv-grid-list-wrapper-info-box {
    flex: 0 0 25% !important;
    width: 25% !important;
    max-width: 25% !important;
  }
}

@media (min-width: 1600px) {
  :is(body.ma-product-listing-page, body#pagenotfound, body#module-psvehiclecompat-vehicles, body#cms) #left-column.tv-left-right-panel-hide {
    flex: 0 0 clamp(300px, 20vw, 360px) !important;
    width: clamp(300px, 20vw, 360px) !important;
    max-width: clamp(300px, 20vw, 360px) !important;
    position: relative;
    top: auto;
    left: auto;
    z-index: auto;
    display: block;
    height: auto;
    padding: 0 15px;
    overflow: visible;
    background: transparent;
    opacity: 1;
    transition: none;
  }

  :is(body.ma-product-listing-page, body#pagenotfound, body#module-psvehiclecompat-vehicles, body#cms) #content-wrapper {
    flex: 1 1 0 !important;
    width: calc(100% - clamp(300px, 20vw, 360px)) !important;
    max-width: calc(100% - clamp(300px, 20vw, 360px)) !important;
  }

  :is(body.ma-product-listing-page, body#pagenotfound, body#module-psvehiclecompat-vehicles, body#cms) #left-column .tvleft-column-close-btn {
    display: none;
  }
}

@media (min-width: 992px) and (max-width: 1599.98px) {
  :is(body.ma-product-listing-page, body#pagenotfound) #wrapper > .tvcmscontainer-layout {
    padding-right: 24px !important;
    padding-left: 24px !important;
  }

  :is(body.ma-product-listing-page, body#pagenotfound) #wrapper > .tvcmscontainer-layout > .container,
  :is(body.ma-product-listing-page, body#pagenotfound) #wrapper > .tvcmscontainer-layout > .container > .tv-left-layout.container {
    width: 100%;
    max-width: none;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  body.ma-product-listing-page #products.grid .psvc-listing-card.tv-grid-list-wrapper-info-box {
    flex: 0 0 33.333333% !important;
    width: 33.333333% !important;
    max-width: 33.333333% !important;
  }
}

@media (min-width: 992px) and (max-width: 1599.98px) {
  :is(body.ma-product-listing-page, body#pagenotfound, body#module-psvehiclecompat-vehicles, body#cms) #content-wrapper {
    flex: 1 1 0 !important;
    width: calc(100% - clamp(300px, 20vw, 360px)) !important;
    max-width: calc(100% - clamp(300px, 20vw, 360px)) !important;
  }

  :is(body.ma-product-listing-page, body#pagenotfound, body#module-psvehiclecompat-vehicles, body#cms) #left-column.tv-left-right-panel-hide {
    position: relative;
    top: auto;
    left: auto;
    z-index: auto;
    display: block;
    flex: 0 0 clamp(300px, 20vw, 360px) !important;
    width: clamp(300px, 20vw, 360px) !important;
    max-width: clamp(300px, 20vw, 360px) !important;
    height: auto;
    padding: 0 15px;
    overflow: visible;
    background: transparent;
    opacity: 1;
    box-shadow: none;
    transition: none;
  }

  :is(body.ma-product-listing-page, body#pagenotfound, body#module-psvehiclecompat-vehicles, body#cms) #left-column .tvleft-column-close-btn {
    display: none;
  }

}

@media (min-width: 992px) and (max-width: 1199.98px) {
  /* Tablet keeps the owner’s collapsible selector. */
  :is(body.ma-product-listing-page, body#pagenotfound) #psvc-selector.psvc-bar {
    margin-bottom: 18px;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  :is(body.ma-product-listing-page, body#pagenotfound) #psvc-selector .psvc-bar__inner {
    display: block !important;
    min-height: 0;
    padding: 0 !important;
    overflow: visible !important;
  }

  :is(body.ma-product-listing-page, body#pagenotfound) #psvc-selector .psvc-bar__selected--desktop,
  :is(body.ma-product-listing-page, body#pagenotfound) #psvc-selector .psvc-bar__garage-btn--desktop,
  :is(body.ma-product-listing-page, body#pagenotfound) #psvc-selector .psvc-bar__form--desktop {
    display: none !important;
  }

  :is(body.ma-product-listing-page, body#pagenotfound) #psvc-selector .psvc-bar__mobile-toggle {
    display: flex !important;
    width: 100%;
    min-height: 68px;
    align-items: center;
    padding: 10px 18px 8px;
    color: #fff !important;
    text-align: left;
    background: #073c5e !important;
    border: 0;
    cursor: pointer;
    opacity: 1;
  }

  :is(body.ma-product-listing-page, body#pagenotfound) #psvc-selector .psvc-bar__mobile-toggle-text {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
  }

  :is(body.ma-product-listing-page, body#pagenotfound) #psvc-selector .psvc-bar__mobile-toggle-title {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
  }

  :is(body.ma-product-listing-page, body#pagenotfound) #psvc-selector .psvc-bar__mobile-toggle-sub {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
  }

  :is(body.ma-product-listing-page, body#pagenotfound) #psvc-selector .psvc-bar__mobile-toggle-title,
  :is(body.ma-product-listing-page, body#pagenotfound) #psvc-selector .psvc-bar__mobile-toggle-sub,
  :is(body.ma-product-listing-page, body#pagenotfound) #psvc-selector .psvc-bar__mobile-chevron,
  :is(body.ma-product-listing-page, body#pagenotfound) #psvc-selector .psvc-bar__mobile-chevron .material-icons {
    color: #fff !important;
  }

  :is(body.ma-product-listing-page, body#pagenotfound) #psvc-selector .psvc-bar__mobile-chevron {
    display: flex;
    margin-left: auto;
  }

  :is(body.ma-product-listing-page, body#pagenotfound) #psvc-selector .psvc-bar__mobile-toggle-sub {
    color: rgba(255, 255, 255, 0.78) !important;
  }

  :is(body.ma-product-listing-page, body#pagenotfound) #psvc-selector .psvc-bar__collapsible {
    display: block !important;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
    color: #fff;
    background: #073c5e !important;
    transition:
      max-height 0.28s ease,
      visibility 0s linear 0.28s;
  }

  :is(body.ma-product-listing-page, body#pagenotfound) #psvc-selector.is-expanded .psvc-bar__collapsible {
    max-height: 720px;
    overflow: visible;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }

  :is(body.ma-product-listing-page, body#pagenotfound) #psvc-selector .psvc-bar__collapsible-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 0 16px 16px;
  }

  :is(body.ma-product-listing-page, body#pagenotfound) #psvc-selector .psvc-mobile-dd-wrapper,
  :is(body.ma-product-listing-page, body#pagenotfound) #psvc-selector .psvc-bar__search-input--mobile {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  :is(body.ma-product-listing-page, body#pagenotfound) #psvc-selector .psvc-bar__search-input--mobile {
    display: block !important;
  }

  :is(body.ma-product-listing-page, body#pagenotfound) #psvc-selector .psvc-bar__collapsible-inner > .psvc-bar__apply {
    width: 100%;
    justify-content: center;
  }
}

/* Use the same desktop selector as wide screens, with one non-wrapping row. */
@media (min-width: 1200px) and (max-width: 1599.98px) {
  :is(body.ma-product-listing-page, body#pagenotfound) #psvc-selector.psvc-bar {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  :is(body.ma-product-listing-page, body#pagenotfound) #psvc-selector .psvc-bar__inner {
    display: flex !important;
    align-items: center;
    flex-wrap: nowrap;
    gap: 12px !important;
    padding: 8px 14px !important;
  }

  :is(body.ma-product-listing-page, body#pagenotfound) #psvc-selector .psvc-bar__garage-btn--desktop {
    display: flex !important;
    flex: 0 0 260px;
    min-width: 0;
    padding: 4px 0;
  }

  :is(body.ma-product-listing-page, body#pagenotfound) #psvc-selector .psvc-bar__garage-sub {
    width: 200px;
    min-width: 0;
  }

  :is(body.ma-product-listing-page, body#pagenotfound) #psvc-selector .psvc-bar__form--desktop {
    display: flex !important;
    flex: 1 1 0;
    min-width: 0;
    padding: 0;
  }

  :is(body.ma-product-listing-page, body#pagenotfound) #psvc-selector .psvc-bar__form-selectors {
    flex: 1 1 0;
    min-width: 0;
    flex-wrap: nowrap;
    gap: 10px;
  }

  :is(body.ma-product-listing-page, body#pagenotfound) #psvc-selector .psvc-bar__dd,
  :is(body.ma-product-listing-page, body#pagenotfound) #psvc-selector .psvc-bar__search-wrapper {
    flex: 1 1 0 !important;
    min-width: 0;
  }

  :is(body.ma-product-listing-page, body#pagenotfound) #psvc-selector .psvc-bar__mobile-toggle,
  :is(body.ma-product-listing-page, body#pagenotfound) #psvc-selector .psvc-bar__collapsible {
    display: none !important;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  body.ma-product-listing-page #products.grid .psvc-listing-card.tv-grid-list-wrapper-info-box {
    flex: 0 0 50% !important;
    width: 50% !important;
    max-width: 50% !important;
  }

  :is(body.ma-product-listing-page, body#pagenotfound) #psvc-selector .psvc-bar__garage-btn--desktop,
  :is(body.ma-product-listing-page, body#pagenotfound) #psvc-selector .psvc-bar__form--desktop {
    display: none !important;
  }

  :is(body.ma-product-listing-page, body#pagenotfound) #psvc-selector .psvc-bar__inner {
    display: block !important;
  }

  :is(body.ma-product-listing-page, body#pagenotfound) #psvc-selector .psvc-bar__mobile-toggle {
    display: flex !important;
    width: 100%;
    min-height: 56px;
    align-items: center;
    padding: 8px 14px;
  }

  :is(body.ma-product-listing-page, body#pagenotfound) #psvc-selector .psvc-bar__collapsible {
    display: block !important;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
  }

  :is(body.ma-product-listing-page, body#pagenotfound) #psvc-selector.is-expanded .psvc-bar__collapsible {
    max-height: 720px;
    overflow: visible;
    visibility: visible;
    pointer-events: auto;
  }
}

@media (max-width: 767px) {
  /* The page container already provides the mobile catalogue gutters. */
  :is(body.ma-product-listing-page, body#pagenotfound) #psvc-selector.psvc-bar {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }
}

@media (max-width: 767.98px) {
  body.ma-product-listing-page #js-product-list .products {
    row-gap: 18px;
  }

  body.ma-product-listing-page .tvleft-penal-product-top .ma-listing-toolbar {
    min-height: 40px;
    padding: 5px 7px 5px 9px;
    border-radius: 9px;
  }

  body.ma-product-listing-page .ma-listing-toolbar__summary {
    flex: 0 0 auto;
  }

  body.ma-product-listing-page .ma-listing-toolbar__summary::before {
    width: 6px;
    height: 6px;
    margin-right: 7px;
    box-shadow: 0 0 0 3px rgba(247, 99, 0, 0.1);
  }

  body.ma-product-listing-page .ma-listing-toolbar__summary .tv-total-product-number {
    font-size: 12px;
  }

  body.ma-product-listing-page .ma-listing-toolbar__controls {
    flex: 1 1 auto;
    justify-content: flex-end;
    margin-left: 8px;
  }

  body.ma-product-listing-page .ma-listing-toolbar__controls .tvall-page-shortby,
  body.ma-product-listing-page .ma-listing-toolbar__controls .sort-by-row {
    width: 100%;
  }

  body.ma-product-listing-page .ma-listing-toolbar__controls .sort-by-row {
    justify-content: flex-end;
    gap: 6px;
  }

  body.ma-product-listing-page .ma-listing-control .sort-by,
  body.ma-product-listing-page .ma-products-per-page__label {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }

  body.ma-product-listing-page .ma-listing-control--sort {
    flex: 1 1 auto;
    justify-content: flex-end;
  }

  body.ma-product-listing-page .ma-listing-control--sort .products-sort-order {
    width: min(100%, 150px);
    min-width: 0;
  }

  body.ma-product-listing-page .ma-listing-control--sort .products-sort-order .select-title {
    min-height: 28px;
    padding-right: 6px;
    padding-left: 9px;
  }

  body.ma-product-listing-page .ma-listing-control--sort .products-sort-order .select-title #ma-sort-current {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.ma-product-listing-page .ma-listing-control--sort .products-sort-order .dropdown-menu {
    right: 0;
    left: auto;
    width: min(270px, calc(100vw - 32px));
  }

  body.ma-product-listing-page .ma-products-per-page__select {
    width: 68px;
    min-width: 68px;
    font-size: 14px;
    padding-top: 0;
    padding-right: 19px;
    padding-bottom: 0;
    padding-left: 7px;
  }

  body.ma-product-listing-page #products.grid .psvc-listing-card.tv-grid-list-wrapper-info-box {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Enlarge the touch target without hiding the native price range or values. */
@media (max-width: 767.98px) {
  .ma-filters-drawer__body #search_filters .ui-slider .ui-slider-handle::after {
    content: "";
    position: absolute;
    inset: -12px;
  }
}

/* Below compact desktop, use the tablet catalogue rather than squeezing its navigation. */
@media (max-width: 1199.98px) {
  :is(body.ma-product-listing-page, body#pagenotfound) #psvc-selector .psvc-bar__mobile-toggle {
    gap: 12px;
  }

  :is(body.ma-product-listing-page, body#pagenotfound) #psvc-selector .psvc-bar__mobile-toggle > .psvc-garage-icon {
    flex-shrink: 0;
  }

  :is(body.ma-product-listing-page, body#pagenotfound) #psvc-selector .psvc-bar__mobile-toggle-text {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    gap: 4px;
  }

  :is(body.ma-product-listing-page, body#pagenotfound, body#module-psvehiclecompat-vehicles, body#cms) #left-column.tv-left-right-panel-hide {
    display: none !important;
  }

  :is(body.ma-product-listing-page, body#pagenotfound, body#module-psvehiclecompat-vehicles, body#cms) #content-wrapper {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* The tablet uses the owner's mobile fields, including its teleported dropdowns. */
@media (min-width: 992px) and (max-width: 1199.98px) {
  :is(body.ma-product-listing-page, body#pagenotfound) #psvc-selector.is-expanded .psvc-bar__collapsible {
    max-height: none;
  }

  :is(body.ma-product-listing-page, body#pagenotfound) #psvc-selector .psvc-mobile-dd-wrapper .psvc-dropdown-panel.is-open {
    display: block !important;
    position: static !important;
    width: 100% !important;
    min-width: 0 !important;
    max-height: none !important;
    margin-top: 8px !important;
    transform: none !important;
  }

  :is(body.ma-product-listing-page, body#pagenotfound) #psvc-selector .psvc-mobile-dd-wrapper .psvc-dropdown-panel.is-open .psvc-dropdown-options {
    max-height: min(240px, 36vh);
    overscroll-behavior: contain;
  }
}
