[data-marketplace-page] {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  width: min(100%, 1120px);
  min-width: 0;
  max-width: 1120px;
  margin-inline: auto;
  padding-bottom: 24px;
  overflow-anchor: none;
}

.erp-marketplace-home-layout,
.erp-marketplace-home-layout__content {
  display: grid;
  gap: var(--erp-ui-space-3, 12px);
  min-width: 0;
  width: 100%;
}

.erp-marketplace-page--with-rail {
  --erp-marketplace-filter-panel-width: clamp(312px, 26vw, 344px);
  --erp-marketplace-catalog-frame-gutter: 32px;
  --erp-marketplace-panel-sticky-top: calc(var(--erp-page-toolbar-h, 54px) + var(--erp-ui-space-3, 12px));
  --erp-marketplace-catalog-content-width: min(
    1120px,
    calc(
      100vw
      - var(--erp-sidebar-current-w, 0px)
      - var(--erp-marketplace-filter-panel-width)
      - var(--erp-ui-space-3, 12px)
      - var(--erp-marketplace-catalog-frame-gutter)
    )
  );
  width: min(
    100%,
    calc(
      var(--erp-marketplace-catalog-content-width)
      + var(--erp-marketplace-filter-panel-width)
      + var(--erp-ui-space-3, 12px)
    )
  );
  max-width: calc(
    var(--erp-marketplace-catalog-content-width)
    + var(--erp-marketplace-filter-panel-width)
    + var(--erp-ui-space-3, 12px)
  );
  transition:
    width var(--erp-ui-motion-fast, 180ms) ease,
    max-width var(--erp-ui-motion-fast, 180ms) ease;
}

.erp-marketplace-page--with-rail.is-filter-panel-collapsed:not(.is-cart-panel-open) {
  width: min(100%, var(--erp-marketplace-catalog-content-width));
  max-width: var(--erp-marketplace-catalog-content-width);
}

.erp-marketplace-search {
  display: block;
  width: min(920px, calc(100% - 32px));
  margin: 18px auto 8px;
}

.erp-marketplace-search__field {
  grid-template-columns: minmax(0, 1fr) 46px;
  min-width: 0;
  min-height: 46px;
  border: 1px solid var(--erp-border, #dfe5ee);
  border-radius: var(--erp-radius-pill, 999px);
  background: var(--erp-surface, #fff);
  color: var(--erp-text-muted, #64748b);
  box-shadow: var(--erp-shadow-xs, 0 1px 2px rgba(15, 23, 42, .06));
  overflow: hidden;
}

.erp-marketplace-search__field--has-clear {
  grid-template-columns: minmax(0, 1fr) 40px 46px;
}

.erp-marketplace-search__field:focus-within {
  border-color: var(--erp-focus, #2457a6);
  box-shadow: 0 0 0 3px rgba(36, 87, 166, .14);
}

.erp-marketplace-search__field input {
  min-height: 44px;
  padding-inline: 16px;
}

.erp-marketplace-search__field .erp-field-control__button {
  min-width: 40px;
  min-height: 44px;
  color: inherit;
}

.erp-marketplace-search__field .erp-field-control__button--right {
  min-width: 46px;
  border-left: 1px solid var(--erp-ui-border-soft, #e5e7eb);
}

.erp-marketplace-search--sheet {
  width: 100%;
  margin: 0;
}

.erp-marketplace-mobile-sheet-menu {
  display: grid;
  gap: var(--erp-ui-space-2, 8px);
  min-height: 0;
  overflow: auto;
  padding: var(--erp-ui-space-3, 12px) var(--erp-ui-space-4, 16px);
  padding-bottom: max(var(--erp-ui-space-4, 16px), env(safe-area-inset-bottom));
}

.erp-marketplace-mobile-sheet-menu__item,
.erp-marketplace-mobile-sheet-menu__item:link,
.erp-marketplace-mobile-sheet-menu__item:visited {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 18px;
  gap: var(--erp-ui-space-3, 12px);
  align-items: center;
  width: 100%;
  min-height: 52px;
  padding: 6px 10px;
  border: 1px solid var(--erp-ui-border-soft, #e5e7eb);
  border-radius: var(--erp-ui-radius, 12px);
  background: var(--erp-ui-surface, #fff);
  color: var(--erp-ui-text, #111827);
  text-align: left;
  text-decoration: none;
}

.erp-marketplace-mobile-sheet-menu__item:hover,
.erp-marketplace-mobile-sheet-menu__item:focus-visible,
.erp-marketplace-mobile-sheet-menu__item.is-active {
  border-color: var(--erp-action-active-bg, #2563eb);
  background: var(--erp-action-hover-bg, #f2f3f5);
  color: var(--erp-action-active-bg, #2563eb);
  outline: none;
}

.erp-marketplace-mobile-sheet-menu__item > :is(i, svg, .lucide) {
  width: 18px;
  height: 18px;
}

.erp-marketplace-mobile-sheet-menu__item > :first-child {
  justify-self: center;
}

.erp-marketplace-mobile-sheet-menu__item > :last-child {
  justify-self: end;
}

.erp-marketplace-mobile-sheet-menu__visual {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  overflow: hidden;
  border-radius: var(--erp-ui-radius, 12px);
  background: var(--erp-ui-surface-muted, #f8fafc);
  color: currentColor;
}

.erp-marketplace-mobile-sheet-menu__visual :is(img, svg) {
  display: block;
  width: 100%;
  height: 100%;
}

.erp-marketplace-mobile-sheet-menu__visual img {
  object-fit: cover;
}

.erp-marketplace-mobile-sheet-menu__visual > :is(i, svg, .lucide),
.erp-marketplace-mobile-sheet-menu__visual-fallback > :is(i, svg, .lucide) {
  width: 18px;
  height: 18px;
}

.erp-marketplace-mobile-sheet-menu__copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.erp-marketplace-mobile-sheet-menu__copy :is(strong, small) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.erp-marketplace-mobile-sheet-menu__copy strong {
  font-size: 14px;
}

.erp-marketplace-mobile-sheet-menu__copy small {
  color: var(--erp-ui-muted, #64748b);
  font-size: 11px;
}

@media (max-width: 640px) {
  .erp-marketplace-search {
    width: min(100% - 20px, 920px);
  }

  .erp-marketplace-search--sheet {
    width: 100%;
  }
}

.erp-marketplace-product-detail {
  width: min(1180px, calc(100% - 32px));
  margin: 24px auto 56px;
}

.erp-marketplace-product-detail__breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin-bottom: 18px;
  color: var(--erp-text-muted, #64748b);
  font-size: .88rem;
}

.erp-marketplace-product-detail__breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.erp-marketplace-product-detail__breadcrumbs span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.erp-marketplace-product-detail__breadcrumbs svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.erp-marketplace-product-detail__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.erp-marketplace-product-detail__card .erp-list-card {
  max-width: 620px;
  margin-inline: auto;
}

.erp-marketplace-product-detail__summary {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 16px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--erp-border, #dfe5ee);
  border-radius: var(--erp-radius-xl, 24px);
  background: var(--erp-surface, #fff);
  box-shadow: var(--erp-shadow-sm, 0 10px 30px rgba(15, 23, 42, .08));
}

.erp-marketplace-product-detail__summary h1,
.erp-marketplace-product-detail__summary p {
  margin: 0;
}

.erp-marketplace-product-detail__summary h1 {
  color: var(--erp-text, #172033);
  font-size: clamp(1.75rem, 3vw, 2.7rem);
  line-height: 1.08;
}

.erp-marketplace-product-detail__model {
  color: var(--erp-text-muted, #64748b);
}

.erp-marketplace-product-detail__price {
  color: var(--erp-accent, #0b4da2);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-weight: 800;
}

.erp-marketplace-product-detail__summary dl {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--erp-border, #dfe5ee);
}

.erp-marketplace-product-detail__summary dl div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--erp-border, #dfe5ee);
}

.erp-marketplace-product-detail__summary dt {
  color: var(--erp-text-muted, #64748b);
}

.erp-marketplace-product-detail__summary dd {
  margin: 0;
  color: var(--erp-text, #172033);
  font-weight: 650;
}

.erp-marketplace-product-detail__hint {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--erp-text-muted, #64748b);
  font-size: .9rem;
}

.erp-marketplace-product-detail__hint svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--erp-success, #16835d);
}

@media (max-width: 820px) {
  .erp-marketplace-product-detail {
    width: min(100% - 20px, 1180px);
  }

  .erp-marketplace-product-detail__layout {
    grid-template-columns: 1fr;
  }

  .erp-marketplace-product-detail__summary {
    position: static;
  }
}

body.erp-public-guest {
  --erp-sidebar-current-w: 0px;
  padding-bottom: 0;
}

body.erp-public-guest .erp-marketplace-page--with-rail {
  --erp-marketplace-panel-sticky-top: var(--erp-ui-space-3, 12px);
}

.erp-marketplace-page--with-rail
  .erp-marketplace-catalog-layout > .erp-products-filter-panel {
  top: var(--erp-marketplace-panel-sticky-top);
}

body.erp-marketplace-body {
  overflow-x: clip;
}

body.erp-public-guest #mainContent {
  width: 100%;
  min-height: 100vh;
  margin-left: 0;
}

@media (max-width: 900px) {
  body.erp-public-guest:has(.app-mobile-bottom-menu) {
    padding-bottom: var(--erp-footer-h);
  }

  body.erp-public-guest:has(> .erp-mobile-page-header-slot) #mainContent {
    min-height: calc(100vh - var(--erp-header-h));
    min-height: calc(100dvh - var(--erp-header-h));
  }

  body.erp-mobile-sheet-open [data-marketplace-page] {
    position: relative;
    z-index: var(--erp-layer-overlay);
  }

  .auth-topbar.auth-topbar--marketplace,
  .erp-marketplace-search--inline {
    display: none;
  }
}

[data-marketplace-page][data-marketplace-view="home"] {
  position: relative;
  isolation: isolate;
}

[data-marketplace-page][data-marketplace-view="home"]::before,
[data-marketplace-page][data-marketplace-view="home"]::after {
  content: "";
  position: absolute;
  top: calc(-1 * var(--erp-ui-space-2, 8px));
  left: 50%;
  width: calc(100vw - var(--erp-sidebar-current-w, 0px));
  height: clamp(310px, 34vw, 390px);
  pointer-events: none;
  transform: translateX(-50%);
}

[data-marketplace-page][data-marketplace-view="home"]::before {
  z-index: -2;
  background: url("./marketplace-header-waves.jpg") center 44% / cover no-repeat;
}

[data-marketplace-page][data-marketplace-view="home"]::after {
  z-index: -1;
  background: linear-gradient(
    180deg,
    transparent 44%,
    color-mix(in srgb, var(--erp-page-bg, #f4f7fb) 18%, transparent) 56%,
    color-mix(in srgb, var(--erp-page-bg, #f4f7fb) 76%, transparent) 82%,
    var(--erp-page-bg, #f4f7fb) 100%
  );
}

body:not(.erp-embedded-page).erp-marketplace-body #mainContent {
  padding-top: var(--erp-ui-space-2, 8px);
}

.auth-topbar.auth-topbar--marketplace {
  position: relative;
  top: auto;
  left: auto;
  z-index: 3;
  width: 100%;
  min-height: 42px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.auth-topbar--marketplace .auth-brand {
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.auth-topbar--marketplace .auth-brand__logo {
  width: 150px;
  max-width: 40vw;
}

.auth-topbar--marketplace .auth-bubble-menu__item.erp-btn--bubble,
.auth-topbar--marketplace .auth-bubble-menu__item.erp-btn--bubble:link,
.auth-topbar--marketplace .auth-bubble-menu__item.erp-btn--bubble:visited {
  border-color: var(--erp-ui-border-soft, #e5e7eb);
  background: var(--erp-ui-surface, #fff);
  color: var(--erp-ui-text, #111827);
}

.auth-topbar--marketplace .auth-bubble-menu__item.erp-btn--bubble:hover,
.auth-topbar--marketplace .auth-bubble-menu__item.erp-btn--bubble:focus-visible,
.auth-topbar--marketplace .auth-bubble-menu__item.erp-btn--bubble.is-active {
  border-color: var(--erp-action-active-bg, #2563eb);
  background: var(--erp-action-active-bg, #2563eb);
  color: var(--erp-action-active-text, #fff);
}

.erp-marketplace-catalog-slider {
  position: relative;
  width: 100%;
  min-width: 0;
  margin: 8px 0 18px;
  overflow: hidden;
}

.erp-marketplace-catalog-slider__viewport {
  position: relative;
  min-height: clamp(350px, 30vw, 380px);
  overflow: hidden;
}

.erp-marketplace-catalog-slider__track {
  position: absolute;
  inset: 0;
}

.erp-marketplace-catalog-slider__slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(280px, .86fr);
  align-items: center;
  gap: clamp(20px, 2.8vw, 34px);
  box-sizing: border-box;
  width: 100%;
  padding-bottom: 34px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(22px);
  text-align: left;
  transition: opacity .38s ease, transform .46s cubic-bezier(.2, .8, .2, 1), visibility .38s;
}

.erp-marketplace-catalog-slider__slide.is-active {
  z-index: 2;
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.erp-marketplace-catalog-slider__visual {
  position: relative;
  width: 100%;
  min-width: 0;
}

.erp-marketplace-catalog-heading__copy {
  display: grid;
  align-content: center;
  justify-items: start;
  min-width: 0;
}

[data-marketplace-page][data-marketplace-view="catalog"]:is(:not(.is-filter-panel-collapsed), .is-cart-panel-open)
  .erp-ui-category-hierarchy__items {
  justify-content: flex-start;
  margin-inline: 0;
}

.erp-marketplace-catalog-heading__eyebrow {
  display: block;
  margin: 0;
  color: #10b7c8;
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.025em;
}

.erp-marketplace-catalog-slider__slide :is(h1, h2) {
  max-width: 560px;
  margin: 14px 0 0;
  background: linear-gradient(135deg, #092b8e 0%, #0b43bd 52%, #092a86 100%);
  color: #0a359f;
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 950;
  line-height: 1.02;
  letter-spacing: -.045em;
  text-wrap: balance;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.erp-marketplace-catalog-heading__description {
  max-width: 570px;
  margin: 16px 0 0;
  color: #667085;
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 500;
  line-height: 1.48;
  letter-spacing: -.012em;
}

.erp-marketplace-catalog-slider__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 20px;
}

.erp-marketplace-catalog-slider__source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  color: var(--erp-ui-muted, #64748b);
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.erp-marketplace-catalog-slider__source:hover,
.erp-marketplace-catalog-slider__source:focus-visible {
  color: var(--erp-action-active-bg, #2563eb);
  outline: none;
  text-decoration: underline;
}

.erp-marketplace-catalog-slider__source :is(i, svg, .lucide) {
  width: 14px !important;
  height: 14px !important;
}

.erp-marketplace-catalog-slider > .erp-marketplace-hero__dots {
  bottom: 0;
}

.erp-marketplace-catalog-showcase {
  position: relative;
  width: 100%;
  min-width: 0;
  height: clamp(270px, 26vw, 320px);
  margin: 0;
  overflow: hidden;
  pointer-events: none;
}

.erp-marketplace-catalog-feature-visual {
  display: block;
  width: 100%;
  min-width: 0;
  height: clamp(270px, 26vw, 320px);
  margin: 0;
  overflow: visible;
}

.erp-marketplace-catalog-feature-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.25);
}

.erp-marketplace-catalog-feature-visual--season {
  overflow: visible;
  background: transparent;
}

.erp-marketplace-catalog-feature-visual--season img {
  object-fit: contain;
  transform: none;
}

.erp-marketplace-catalog-showcase__card {
  position: absolute;
  width: 51%;
  height: 59%;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(15, 54, 110, .2);
  isolation: isolate;
}

.erp-marketplace-catalog-showcase__card:nth-child(1) {
  top: 2%;
  left: 1%;
  z-index: 2;
  transform: rotate(-3deg);
}

.erp-marketplace-catalog-showcase__card:nth-child(2) {
  top: 0;
  right: 0;
  z-index: 1;
  transform: rotate(2.5deg);
}

.erp-marketplace-catalog-showcase__card:nth-child(3) {
  bottom: -1%;
  left: 3%;
  z-index: 4;
  transform: rotate(2.3deg);
}

.erp-marketplace-catalog-showcase__card:nth-child(4) {
  right: 1%;
  bottom: 2%;
  z-index: 3;
  transform: rotate(-2.3deg);
}

.erp-marketplace-catalog-showcase__card .erp-list-card__media-shell {
  margin: 6px 6px 0;
}

.erp-marketplace-catalog-showcase__card .erp-list-card__media,
.erp-marketplace-catalog-showcase__card .erp-list-card__media img {
  height: 132px;
  min-height: 132px;
}

.erp-marketplace-catalog-showcase__card .erp-list-card__media-title {
  top: 6px;
  left: 6px;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 4px;
  max-width: calc(100% - 73px);
}

.erp-marketplace-catalog-showcase__card .erp-list-card__media-avatar {
  width: 24px;
  height: 24px;
}

.erp-marketplace-catalog-showcase__card .erp-list-card__media-avatar :is(i, svg, .lucide) {
  width: 13px !important;
  height: 13px !important;
}

.erp-marketplace-catalog-showcase__card .erp-list-card__media-avatar .erp-product-card-group-icon,
.erp-marketplace-catalog-showcase__card .erp-list-card__media-avatar .erp-product-card-group-icon :is(img, svg, .lucide) {
  width: 20px !important;
  height: 20px !important;
}

.erp-marketplace-catalog-showcase__card .erp-list-card__media-title-text > span {
  font-size: 9px;
  line-height: 1.05;
}

.erp-marketplace-catalog-showcase__card .erp-list-card__media-title-text small {
  font-size: 7px;
}

.erp-marketplace-catalog-showcase__card .erp-social-post__media-shell--has-price {
  --erp-social-price-h: 31px;
  --erp-social-price-r: 16px;
  --erp-social-price-pad-left: 8px;
  --erp-social-price-pad-right: 4px;
  --erp-social-price-action-gap: 2px;
}

.erp-marketplace-catalog-showcase__card .erp-social-post__price-cut {
  min-width: 62px;
  max-width: calc(100% - 50px);
  font-size: 10px;
}

.erp-marketplace-catalog-showcase__card .erp-list-card__price-actions .erp-social-post__icon-action {
  width: 24px;
  min-width: 24px;
  height: 24px;
  min-height: 24px;
}

.erp-marketplace-catalog-showcase__card .erp-list-card__price-actions .erp-social-post__icon-action :is(i, svg, .lucide) {
  width: 13px !important;
  height: 13px !important;
}

.erp-marketplace-catalog-showcase__card .erp-social-post__color-badges {
  min-height: 30px;
  gap: 4px;
  padding-inline: 8px;
}

.erp-marketplace-catalog-showcase__card .erp-social-color-badge {
  width: 11px;
  height: 11px;
  border-width: 1px;
}

.erp-marketplace-catalog-showcase__card .erp-list-card__media-info {
  min-height: 30px;
  padding-inline: 7px;
}

.erp-marketplace-catalog-showcase__card .erp-list-card__media-model-code {
  font-size: 10px;
}

.erp-marketplace-catalog-showcase__card .erp-list-card__body {
  gap: 0;
  padding: 5px 6px 7px;
  background: #fff;
}

.erp-marketplace-catalog-showcase__card .erp-list-card__size-list .erp-square-option {
  width: 29px;
  height: 29px;
  flex-basis: 29px;
  font-size: 9px;
}

.erp-marketplace-state-aid {
  display: block;
  width: 100%;
  min-width: 0;
  height: 286px;
  box-sizing: border-box;
  margin: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.erp-marketplace-state-aid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  transform: scale(1.3);
  transform-origin: right center;
}

.erp-marketplace-promotions {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.erp-marketplace-promotions__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.erp-marketplace-promotions__catalog {
  min-width: 0;
}

.erp-marketplace-promotions__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.erp-marketplace-promotions__catalog .erp-empty-state {
  border-radius: 20px;
}

.erp-marketplace-subcategories-section {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.erp-marketplace-section-heading {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.erp-marketplace-section-heading__title {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: var(--erp-ui-space-2, 8px);
  min-width: 0;
}

.erp-marketplace-section-heading p,
.erp-marketplace-section-heading h2,
.erp-marketplace-section-heading > span {
  margin: 0;
}

.erp-marketplace-section-heading p {
  color: var(--erp-ui-primary, #2563eb);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.erp-marketplace-section-heading h2 {
  color: var(--erp-ui-text, #111827);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.erp-marketplace-section-heading > span {
  color: var(--erp-ui-muted, #64748b);
  font-size: 14px;
  line-height: 1.45;
}

.erp-marketplace-action-bubble {
  min-height: 40px;
  padding-inline: 16px;
}

.erp-marketplace-action-bubble svg {
  width: 17px;
  height: 17px;
}

.erp-marketplace-catalog-link {
  justify-self: center;
}

.erp-marketplace-hero {
  position: relative;
  width: 100%;
  min-width: 0;
  margin-inline: auto;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(15, 54, 65, .08);
  background: #fff;
  color: #152e36;
  box-shadow:
    0 0 0 8px var(--erp-page-bg, #f4f7fb),
    0 22px 64px 24px color-mix(in srgb, var(--erp-page-bg, #f4f7fb) 84%, transparent),
    0 18px 48px rgba(31, 70, 78, .08);
  isolation: isolate;
}

.erp-marketplace-hero__viewport {
  position: relative;
  min-height: clamp(260px, 27vw, 360px);
  overflow: hidden;
  border-radius: inherit;
}

.erp-marketplace-hero__track {
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.erp-marketplace-hero__slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(320px, 40%) minmax(0, 60%);
  align-items: stretch;
  border-radius: inherit;
  background: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateX(24px);
  transition: opacity .42s ease, transform .52s cubic-bezier(.2, .8, .2, 1), visibility .42s;
}

.erp-marketplace-hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255, 255, 255, .18) 0%, transparent 48%, rgba(255, 255, 255, .08) 100%);
  pointer-events: none;
}

.erp-marketplace-hero__slide--reverse {
  grid-template-columns: minmax(0, 60%) minmax(320px, 40%);
  background: #fff;
}

.erp-marketplace-hero__slide--reverse::after {
  background: linear-gradient(270deg, rgba(255, 255, 255, .18) 0%, transparent 48%, rgba(255, 255, 255, .08) 100%);
}

.erp-marketplace-hero__slide.is-active {
  z-index: 2;
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.erp-marketplace-hero__copy {
  position: relative;
  z-index: 3;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 14px;
  box-sizing: border-box;
  min-width: 0;
  height: 100%;
  padding: 38px 34px 44px 52px;
}

.erp-marketplace-hero__slide--reverse .erp-marketplace-hero__copy {
  grid-column: 2;
  grid-row: 1;
  padding: 38px 52px 44px 34px;
}

.erp-marketplace-hero__copy h1 {
  max-width: 560px;
  margin: 0;
  background: linear-gradient(135deg, #092b8e 0%, #0b43bd 52%, #092a86 100%);
  color: #0a359f;
  font-size: 34px;
  font-weight: 950;
  line-height: 1.02;
  letter-spacing: -.045em;
  text-wrap: balance;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.erp-marketplace-hero__copy p {
  max-width: 520px;
  margin: 0;
  color: #667085;
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 500;
  line-height: 1.48;
  letter-spacing: -.012em;
}

.erp-marketplace-hero__link {
  margin-top: 4px;
}

.erp-marketplace-hero__link:hover,
.erp-marketplace-hero__link:focus-visible {
  outline: none;
}

.erp-marketplace-hero__collage {
  --erp-marketplace-photo-cut: 80px;
  --erp-marketplace-photo-overlap: 68px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  background: var(--erp-page-bg, #f4f7fb);
}

.erp-marketplace-hero__collage::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 2;
  width: 46%;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .98) 24%, rgba(255, 255, 255, .76) 56%, rgba(255, 255, 255, .28) 82%, transparent 100%);
  pointer-events: none;
}

.erp-marketplace-hero__slide--reverse .erp-marketplace-hero__collage {
  grid-column: 1;
}

.erp-marketplace-hero__slide--reverse .erp-marketplace-hero__collage::before {
  inset: 0 0 0 auto;
  background: linear-gradient(270deg, #fff 0%, rgba(255, 255, 255, .98) 24%, rgba(255, 255, 255, .76) 56%, rgba(255, 255, 255, .28) 82%, transparent 100%);
}

.erp-marketplace-hero__photo {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  background: #f5f7f7;
}

.erp-marketplace-hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, .01), rgba(9, 47, 57, .05));
  pointer-events: none;
}

.erp-marketplace-hero__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.18) contrast(1.04) brightness(1.04);
  transform: scale(1.035);
  transition: transform .8s cubic-bezier(.2, .8, .2, 1);
}

.erp-marketplace-hero__photo:nth-child(1) {
  grid-column: 1;
  clip-path: polygon(0 0, 100% 0, calc(100% - var(--erp-marketplace-photo-cut)) 100%, 0 100%);
}

.erp-marketplace-hero__photo:nth-child(2) {
  grid-column: 2;
  width: calc(100% + var(--erp-marketplace-photo-overlap));
  margin-left: calc(-1 * var(--erp-marketplace-photo-overlap));
  clip-path: polygon(var(--erp-marketplace-photo-cut) 0, 100% 0, calc(100% - var(--erp-marketplace-photo-cut)) 100%, 0 100%);
}

.erp-marketplace-hero__photo:nth-child(3) {
  grid-column: 3;
  width: calc(100% + var(--erp-marketplace-photo-overlap));
  margin-left: calc(-1 * var(--erp-marketplace-photo-overlap));
  clip-path: polygon(var(--erp-marketplace-photo-cut) 0, 100% 0, 100% 100%, 0 100%);
}

.erp-marketplace-hero__slide.is-active .erp-marketplace-hero__photo img {
  transform: scale(1);
}

.erp-marketplace-hero__dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(16, 46, 54, .14);
  transform: translateX(-50%);
  backdrop-filter: blur(8px);
}

.erp-marketplace-hero__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(31, 89, 101, .38);
  cursor: pointer;
  transition: width .24s ease, background-color .24s ease;
}

.erp-marketplace-hero__dot.is-active {
  width: 24px;
  background: #216f7d;
}

.erp-marketplace-navigation {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.erp-marketplace-product-card,
.erp-marketplace-product-card .erp-list-card__media-shell,
.erp-marketplace-product-card .erp-social-post__media-shell--has-price,
.erp-marketplace-product-card .erp-list-card__media {
  --erp-social-price-bg: #fff;
  --erp-social-color-bg: #fff;
  background-color: #fff;
}

.erp-marketplace-support-posts {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.erp-marketplace-support-posts__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.erp-marketplace-support-posts__controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.erp-marketplace-support-posts__arrow {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--erp-ui-surface, #fff);
}

.erp-marketplace-support-posts__arrow:disabled {
  cursor: default;
  opacity: .38;
}

.erp-marketplace-support-posts__status {
  min-width: 42px;
  color: var(--erp-ui-muted, #64748b);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.erp-marketplace-support-posts__viewport {
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  border-radius: 20px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.erp-marketplace-support-posts__viewport::-webkit-scrollbar {
  display: none;
}

.erp-marketplace-support-posts__viewport:focus-visible {
  outline: 2px solid var(--erp-ui-primary, #2563eb);
  outline-offset: 4px;
}

.erp-marketplace-support-posts__track {
  display: flex;
  gap: 16px;
  width: 100%;
  min-width: 100%;
}

.erp-marketplace-support-post {
  display: grid;
  flex: 0 0 calc((100% - 32px) / 3);
  grid-template-rows: auto minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--erp-ui-border-soft, #e5e7eb);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(31, 70, 78, .08);
  scroll-snap-align: start;
}

.erp-marketplace-support-post__media {
  aspect-ratio: 3 / 2;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: var(--erp-ui-surface-muted, #f8fafc);
}

.erp-marketplace-support-post__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.erp-marketplace-support-post__content {
  display: grid;
  align-content: start;
  gap: 9px;
  min-width: 0;
  padding: 15px 16px 17px;
}

.erp-marketplace-support-post__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  color: var(--erp-ui-muted, #64748b);
  font-size: 11px;
  font-weight: 700;
}

.erp-marketplace-support-post__meta > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.erp-marketplace-support-post__topic {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: var(--erp-ui-primary, #2563eb);
  font-weight: 800;
  white-space: nowrap;
}

.erp-marketplace-support-post__topic svg {
  width: 14px;
  height: 14px;
}

.erp-marketplace-support-post h3 {
  display: -webkit-box;
  min-height: 44px;
  margin: 0;
  overflow: hidden;
  color: var(--erp-ui-text, #111827);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -.015em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.erp-marketplace-support-post p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--erp-ui-muted, #64748b);
  font-size: 13px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.erp-marketplace-catalog {
  min-width: 0;
  scroll-margin-top: calc(var(--erp-page-toolbar-h, 54px) + 16px);
}

.erp-marketplace-catalog-layout .erp-products-catalog-layout__content {
  display: grid;
  align-content: start;
  gap: var(--erp-ui-space-3, 12px);
}

.erp-marketplace-catalog-layout {
  width: calc(
    var(--erp-marketplace-catalog-content-width, 1120px)
    + var(--erp-marketplace-filter-panel-width, clamp(312px, 26vw, 344px))
    + var(--erp-ui-space-3, 12px)
  );
  grid-template-columns:
    var(--erp-marketplace-catalog-content-width, 1120px)
    var(--erp-marketplace-filter-panel-width, clamp(312px, 26vw, 344px));
  justify-content: start;
}

.erp-marketplace-catalog-layout.is-filter-panel-collapsed {
  grid-template-columns:
    var(--erp-marketplace-catalog-content-width, 1120px)
    var(--erp-marketplace-filter-panel-width, clamp(312px, 26vw, 344px));
}

@media (min-width: 761px) {
  .erp-marketplace-page--with-rail.is-filter-panel-collapsed
    .erp-marketplace-catalog-rail > .erp-products-filter-panel {
    display: none;
  }

  .erp-marketplace-page--with-rail.is-cart-panel-open
    .erp-marketplace-catalog-rail > .erp-products-filter-panel {
    display: none;
  }
}

.erp-marketplace-catalog-layout .erp-marketplace-catalog .erp-marketplace-product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.erp-marketplace-catalog .erp-marketplace-product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.erp-marketplace-catalog .erp-product-commerce-card,
.erp-marketplace-catalog .erp-empty-state {
  border-radius: 20px;
}

@media (prefers-reduced-motion: reduce) {
  .erp-marketplace-page--with-rail {
    transition: none;
  }

  .erp-marketplace-hero__slide,
  .erp-marketplace-hero__link,
  .erp-marketplace-hero__dot {
    transition: none;
  }

  .erp-marketplace-support-posts__viewport {
    scroll-behavior: auto;
  }
}

@media (max-width: 1180px) {
  .erp-marketplace-hero__slide {
    grid-template-columns: minmax(280px, 42%) minmax(0, 58%);
  }

  .erp-marketplace-hero__slide--reverse {
    grid-template-columns: minmax(0, 58%) minmax(280px, 42%);
  }

  .erp-marketplace-hero__copy {
    padding: 34px 38px 42px 46px;
  }

  .erp-marketplace-hero__slide--reverse .erp-marketplace-hero__copy {
    padding: 34px 46px 42px 38px;
  }

  .erp-marketplace-hero__copy h1 {
    font-size: 32px;
  }

  .erp-marketplace-catalog-layout .erp-marketplace-catalog .erp-marketplace-product-grid,
  .erp-marketplace-catalog .erp-marketplace-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .erp-marketplace-promotions__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .erp-marketplace-page--with-rail {
    --erp-marketplace-filter-panel-width: clamp(260px, 30vw, 280px);
    --erp-marketplace-catalog-frame-gutter: 24px;
  }
}

@media (max-width: 860px) {
  [data-marketplace-page] {
    gap: 18px;
  }

  .erp-marketplace-hero__viewport {
    min-height: 350px;
  }

  .erp-marketplace-hero__slide {
    grid-template-columns: minmax(0, 1fr);
    align-content: stretch;
  }

  .erp-marketplace-hero__copy {
    grid-column: 1;
    grid-row: 1;
    align-content: end;
    padding: 148px 44px 38px;
  }

  .erp-marketplace-hero__slide--reverse .erp-marketplace-hero__copy {
    grid-column: 1;
    grid-row: 1;
    padding: 148px 44px 38px;
  }

  .erp-marketplace-hero__copy h1 {
    max-width: 520px;
    font-size: 29px;
  }

  .erp-marketplace-hero__copy p {
    max-width: 500px;
  }

  .erp-marketplace-hero__collage {
    --erp-marketplace-photo-cut: 56px;
    --erp-marketplace-photo-overlap: 48px;
    position: absolute;
    inset: 0 0 auto;
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: 188px;
    opacity: .92;
  }

  .erp-marketplace-hero__slide--reverse .erp-marketplace-hero__collage {
    inset: 0 0 auto;
    grid-column: 1;
    grid-row: 1;
  }

  .erp-marketplace-hero__collage::before,
  .erp-marketplace-hero__slide--reverse .erp-marketplace-hero__collage::before {
    inset: auto 0 0;
    width: 100%;
    height: 72%;
    background: linear-gradient(0deg, #fff 0%, rgba(255, 255, 255, .98) 24%, rgba(255, 255, 255, .72) 58%, rgba(255, 255, 255, .18) 86%, transparent 100%);
  }

  .erp-marketplace-support-post {
    flex-basis: calc((100% - 14px) / 2);
  }

  .erp-marketplace-support-posts__track {
    gap: 14px;
  }
}

@media (max-width: 760px) {
  .erp-marketplace-page--with-rail,
  .erp-marketplace-page--with-rail.is-filter-panel-collapsed,
  .erp-marketplace-page--with-rail.is-filter-panel-collapsed:not(.is-cart-panel-open) {
    width: min(100%, 1120px);
    max-width: 1120px;
  }

  .erp-marketplace-catalog-layout,
  .erp-marketplace-catalog-layout.is-filter-panel-collapsed {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
  }

  .erp-marketplace-catalog-layout > .erp-products-catalog-layout__content,
  .erp-marketplace-catalog-layout.is-cart-panel-open > .erp-products-catalog-layout__content,
  .erp-marketplace-page--with-rail:not(.is-filter-panel-collapsed)
    .erp-marketplace-catalog-layout > .erp-products-catalog-layout__content {
    grid-column: 1;
    grid-row: 1;
  }

  .erp-marketplace-catalog-slider {
    margin-block: 8px 18px;
  }

  .erp-marketplace-catalog-slider__viewport {
    min-height: 630px;
  }

  .erp-marketplace-catalog-slider__slide {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: repeat(5, auto);
    align-content: start;
    justify-items: center;
    gap: 0;
    padding-bottom: 44px;
  }

  .erp-marketplace-catalog-heading__copy {
    display: contents;
  }

  .erp-marketplace-catalog-heading__eyebrow {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    width: 100%;
    text-align: left;
  }

  .erp-marketplace-catalog-slider__slide :is(h1, h2) {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
    width: 100%;
    margin-top: 12px;
    font-size: clamp(32px, 9vw, 40px);
    text-align: left;
  }

  .erp-marketplace-catalog-heading__description {
    grid-column: 1;
    grid-row: 4;
    justify-self: start;
    width: 100%;
    margin-top: 18px;
    font-size: 16px;
    text-align: left;
  }

  .erp-marketplace-catalog-slider__actions {
    grid-column: 1;
    grid-row: 5;
    justify-self: center;
    justify-content: center;
    margin-top: 16px;
    text-align: center;
  }

  .erp-marketplace-catalog-slider__visual {
    grid-column: 1;
    grid-row: 3;
    justify-self: center;
    width: min(100%, 390px);
    margin-top: 18px;
  }

  .erp-marketplace-catalog-showcase,
  .erp-marketplace-catalog-feature-visual {
    width: 100%;
    height: 300px;
  }

  .erp-marketplace-state-aid {
    width: 100%;
    height: 270px;
  }

  .erp-marketplace-catalog-slider .erp-marketplace-hero__dots {
    top: auto;
    bottom: 12px;
  }

  .erp-marketplace-hero__viewport {
    min-height: 450px;
  }

  .erp-marketplace-hero__slide,
  .erp-marketplace-hero__slide--reverse {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto minmax(40px, 1fr);
    align-content: start;
    justify-items: center;
    padding: 22px 0 20px;
  }

  .erp-marketplace-hero__copy,
  .erp-marketplace-hero__slide--reverse .erp-marketplace-hero__copy {
    display: contents;
  }

  .erp-marketplace-hero__copy h1 {
    position: relative;
    z-index: 3;
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    width: calc(100% - 32px);
    margin-inline: 16px;
    text-align: left;
  }

  .erp-marketplace-hero__copy p {
    position: relative;
    z-index: 3;
    grid-column: 1;
    grid-row: 3;
    justify-self: start;
    width: calc(100% - 32px);
    margin-top: 18px;
    margin-inline: 16px;
    text-align: left;
  }

  .erp-marketplace-hero__link {
    position: relative;
    z-index: 3;
    grid-column: 1;
    grid-row: 4;
    justify-self: center;
    align-self: end;
    margin-top: 18px;
  }

  .erp-marketplace-hero__collage,
  .erp-marketplace-hero__slide--reverse .erp-marketplace-hero__collage {
    position: relative;
    inset: auto;
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
    width: 100%;
    height: 196px;
    margin-top: 18px;
    opacity: 1;
  }

  .erp-marketplace-hero__collage::before,
  .erp-marketplace-hero__slide--reverse .erp-marketplace-hero__collage::before {
    display: none;
  }

  .erp-marketplace-hero__dots {
    top: auto;
    bottom: 12px;
  }
}

@media (max-width: 560px) {
  [data-marketplace-page][data-marketplace-view="home"]::before,
  [data-marketplace-page][data-marketplace-view="home"]::after {
    height: 370px;
  }

  .auth-topbar.auth-topbar--marketplace {
    top: auto;
    left: auto;
    flex-direction: row;
    justify-content: center;
    gap: 0;
    width: auto;
    padding: 0;
    border-radius: 0;
    transform: none;
  }

  .auth-topbar--marketplace .auth-bubble-menu {
    width: 100%;
  }

  .auth-topbar--marketplace .auth-bubble-menu__item,
  .auth-topbar--marketplace .auth-bubble-menu__item:link,
  .auth-topbar--marketplace .auth-bubble-menu__item:visited {
    flex: 1 1 0;
    min-width: 0;
    padding-inline: 8px;
    font-size: 12px;
  }

  .erp-marketplace-promotions__header {
    align-items: stretch;
    flex-direction: column;
  }

  .erp-marketplace-support-posts__header {
    align-items: flex-start;
  }

  .erp-marketplace-support-posts__controls {
    padding-top: 2px;
  }

  .erp-marketplace-promotions__header .erp-btn {
    width: 100%;
  }

  .erp-marketplace-catalog-slider__viewport {
    min-height: 660px;
  }

  .erp-marketplace-catalog-slider__slide :is(h1, h2) {
    font-size: 32px;
  }

  .erp-marketplace-catalog-heading__description {
    font-size: 15px;
  }

  .erp-marketplace-state-aid {
    height: 280px;
  }

  .erp-marketplace-hero,
  .erp-marketplace-hero__viewport {
    border-radius: 18px;
  }

  .erp-marketplace-hero__viewport {
    min-height: 450px;
  }

  .erp-marketplace-hero__slide,
  .erp-marketplace-hero__slide--reverse {
    padding: 22px 0 20px;
  }

  .erp-marketplace-hero__copy h1 {
    font-size: 26px;
  }

  .erp-marketplace-hero__copy p {
    font-size: 14px;
  }

  .erp-marketplace-hero__collage {
    inset: auto;
    width: 100%;
    height: 196px;
  }

  .erp-marketplace-hero__dots {
    top: auto;
    bottom: 12px;
  }

  .erp-marketplace-catalog-layout .erp-marketplace-catalog .erp-marketplace-product-grid,
  .erp-marketplace-catalog .erp-marketplace-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .erp-marketplace-promotions__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .erp-marketplace-support-posts__track {
    gap: 12px;
  }

  .erp-marketplace-support-post {
    flex-basis: 86%;
  }

  .erp-marketplace-support-post__content {
    padding: 13px 14px 15px;
  }

  .erp-marketplace-support-post h3 {
    min-height: 40px;
    font-size: 16px;
  }
}
.erp-marketplace-lazy-section {
  min-height: 180px;
  display: grid;
  place-items: center;
  content-visibility: auto;
  contain-intrinsic-size: auto 220px;
}

.erp-marketplace-lazy-section > .erp-empty-state {
  width: min(100%, 560px);
}

/* Shared BulkSelectionBar placement inside the Marketplace catalog rail. */
.erp-marketplace-page:has(.erp-products-catalog-layout.is-filter-panel-collapsed) .erp-ui-bulk-selection-bar {
  right: 86px;
}

.erp-marketplace-catalog-actions {
  position: fixed;
  right: 22px;
  bottom: calc(var(--erp-footer-h, 56px) + 18px);
  z-index: var(--erp-layer-floating, 1340);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  width: max-content;
  max-width: calc(100vw - var(--erp-sidebar-current-w, 0px) - 44px);
  overflow: visible;
}

.erp-marketplace-page:not(.is-filter-panel-collapsed) .erp-marketplace-catalog-rail > .erp-marketplace-catalog-actions,
.erp-marketplace-page.is-cart-panel-open .erp-marketplace-catalog-rail > .erp-marketplace-catalog-actions {
  position: static;
  inset: auto;
  width: 100%;
  max-width: none;
}

.erp-marketplace-catalog-actions > .erp-ui-bulk-selection-bar {
  position: static;
  inset: auto;
  display: flex;
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  max-width: none;
  gap: 8px;
  animation: none;
}

.erp-marketplace-catalog-actions > .erp-ui-bulk-selection-bar[hidden] {
  display: none;
}

.erp-marketplace-catalog-actions .erp-ui-bulk-selection-bar__items {
  min-width: 0;
  max-width: none;
}

.erp-marketplace-catalog-actions > :is(.erp-product-cart-fab, .erp-products-filter-floating-button) {
  position: relative;
  inset: auto;
  z-index: 0;
  flex: 0 0 52px;
}

.erp-marketplace-catalog-actions > :is(.erp-product-cart-fab, .erp-products-filter-floating-button).is-active {
  background: var(--erp-button-group-active-bg);
  color: var(--erp-button-group-active-text);
}

.erp-marketplace-catalog-actions > :is(.erp-product-cart-fab, .erp-products-filter-floating-button):focus-visible {
  z-index: 1;
  outline: 2px solid var(--erp-ui-focus-ring, #2563eb);
  outline-offset: 2px;
}

@media (min-width: 981px) {
  .erp-marketplace-page:has(.erp-products-catalog-layout:not(.is-filter-panel-collapsed)) .erp-ui-bulk-selection-bar {
    right: calc(
      clamp(312px, 26vw, 344px)
      + var(--erp-ui-space-3)
      + var(--erp-ui-space-4)
      + var(--erp-ui-space-2)
    );
  }
}

@media (min-width: 761px) and (max-width: 980px) {
  .erp-marketplace-page:has(.erp-products-catalog-layout:not(.is-filter-panel-collapsed)) .erp-ui-bulk-selection-bar {
    right: calc(
      280px
      + var(--erp-ui-space-3)
      + var(--erp-ui-space-4)
      + var(--erp-ui-space-2)
    );
  }
}

@media (max-width: 760px) {
  .erp-marketplace-page:has(.erp-products-catalog-layout.is-filter-panel-collapsed) .erp-ui-bulk-selection-bar {
    right: 78px;
  }

  .erp-marketplace-catalog-actions {
    right: 14px;
    bottom: calc(var(--erp-footer-h, 56px) + 14px);
    max-width: calc(100vw - 28px);
  }

  .erp-marketplace-page:not(.is-filter-panel-collapsed)
    .erp-marketplace-catalog-rail > .erp-marketplace-catalog-actions,
  .erp-marketplace-page.is-cart-panel-open
    .erp-marketplace-catalog-rail > .erp-marketplace-catalog-actions {
    position: fixed;
    inset: auto 14px calc(var(--erp-footer-h, 56px) + 14px) auto;
    width: max-content;
    max-width: calc(100vw - 28px);
  }
}
