.wp-block-eurotech-custom-woo-category-marquee.ecw-category-marquee {
  position: relative;
  display: block;
  inline-size: 100%;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  overflow-x: clip;
  box-sizing: border-box;
  isolation: isolate;
}

.wp-block-eurotech-custom-woo-category-marquee.ecw-category-marquee::before,
.wp-block-eurotech-custom-woo-category-marquee.ecw-category-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  z-index: 2;
  width: 48px;
  height: 100%;
  pointer-events: none;
}

.wp-block-eurotech-custom-woo-category-marquee.ecw-category-marquee::before {
  left: 0;
  background: linear-gradient(
    to right,
    var(--et-color-background-base),
    transparent
  );
}

.wp-block-eurotech-custom-woo-category-marquee.ecw-category-marquee::after {
  right: 0;
  background: linear-gradient(
    to left,
    var(--et-color-background-base),
    transparent
  );
}

.ecw-category-marquee__viewport {
  position: relative;
  inline-size: 100%;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  overflow-x: clip;
  box-sizing: border-box;
  contain: inline-size layout paint;
}

.ecw-category-marquee__swiper {
  display: block;
  inline-size: 100%;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: visible;
  box-sizing: border-box;
}

.ecw-category-marquee__track {
  --swiper-wrapper-transition-timing-function: linear !important;
  display: flex;
  width: max-content;
  margin: 0;
  padding: 0;
  align-items: center;
  transition-timing-function: linear !important;
}

.ecw-category-marquee__slide {
  width: auto;
  height: auto;
  flex: 0 0 auto;
  box-sizing: border-box;
}

.ecw-category-marquee__badge {
  display: inline-flex;
  width: fit-content;
  max-width: none;
  align-items: center;
  padding: 12px 16px;
  border-radius: var(--et-radius-md);
  background: var(--et-color-background-surface);
  color: var(--et-color-text-primary);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.3s ease;
}

.ecw-category-marquee__badge:hover,
.ecw-category-marquee__badge:focus-visible {
  background: var(--et-color-background-raised);
  text-decoration: none;
}

.ecw-category-marquee__empty-message {
  margin: 0;
  color: var(--et-color-text-muted, inherit);
}
