.icomers-cat-carousel {
  padding-top: var(--icm-cat-pad-top, 0px);
  padding-bottom: var(--icm-cat-pad-bottom, 0px);
}

.icomers-cat-carousel__title {
  margin: 0 0 14px;
  color: #444;
  font-size: 20px;
  line-height: 1;
  font-weight: 700;
}

.icomers-cat-carousel__frame {
  position: relative;
}

.icomers-cat-carousel__viewport {
  display: flex;
  gap: var(--icm-cat-gap, 16px);
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px 0 0;
  margin: 0;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.icomers-cat-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.icomers-cat-carousel__track {
  display: contents;
}

.icomers-cat-carousel__item {
  flex: 0 0 calc((100% - (var(--icm-cat-gap, 16px) * var(--icm-cat-mobile-full, 4))) / (var(--icm-cat-mobile-full, 4) + var(--icm-cat-peek-mobile, 0.18)));
  max-width: calc((100% - (var(--icm-cat-gap, 16px) * var(--icm-cat-mobile-full, 4))) / (var(--icm-cat-mobile-full, 4) + var(--icm-cat-peek-mobile, 0.18)));
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  text-decoration: none;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.icomers-cat-carousel__thumb {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
}

.icomers-cat-carousel__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}

.icomers-cat-carousel__label {
  display: none !important;
}

.icomers-cat-carousel .icomers-cat-carousel__nav {
  display: none;
  position: absolute;
  top: 36%;
  z-index: 3;
  width: 54px;
  height: 54px;
  min-width: 54px !important;
  min-height: 54px !important;
  border: 0;
  border-radius: 999px;
  background: none !important;
  background-color: var(--icm-cat-arrow-bg, rgba(0, 0, 0, 0.25)) !important;
  color: var(--icm-cat-arrow-color, #fff) !important;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18) !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  opacity: 1 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 0 !important;
  line-height: 0 !important;
  box-sizing: border-box !important;
  overflow: hidden;
  text-indent: 0 !important;
  -webkit-appearance: none;
  appearance: none;
  transition: background-color 160ms ease, color 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.icomers-cat-carousel .icomers-cat-carousel__nav::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  background-color: currentColor;
  filter: drop-shadow(0 0 0.35px rgba(0, 0, 0, 0.18));
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

.icomers-cat-carousel .icomers-cat-carousel__nav--prev::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M14.97 5.97a.75.75 0 0 1 0 1.06L10 12l4.97 4.97a.75.75 0 1 1-1.06 1.06l-5.5-5.5a.75.75 0 0 1 0-1.06l5.5-5.5a.75.75 0 0 1 1.06 0Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M14.97 5.97a.75.75 0 0 1 0 1.06L10 12l4.97 4.97a.75.75 0 1 1-1.06 1.06l-5.5-5.5a.75.75 0 0 1 0-1.06l5.5-5.5a.75.75 0 0 1 1.06 0Z'/%3E%3C/svg%3E");
}

.icomers-cat-carousel .icomers-cat-carousel__nav--next::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9.03 18.03a.75.75 0 0 1 0-1.06L14 12 9.03 7.03a.75.75 0 0 1 1.06-1.06l5.5 5.5a.75.75 0 0 1 0 1.06l-5.5 5.5a.75.75 0 0 1-1.06 0Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9.03 18.03a.75.75 0 0 1 0-1.06L14 12 9.03 7.03a.75.75 0 0 1 1.06-1.06l5.5 5.5a.75.75 0 0 1 0 1.06l-5.5 5.5a.75.75 0 0 1-1.06 0Z'/%3E%3C/svg%3E");
}

.icomers-cat-carousel .icomers-cat-carousel__nav:hover,
.icomers-cat-carousel .icomers-cat-carousel__nav:focus-visible {
  background: none !important;
  background-color: var(--icm-cat-arrow-bg-hover, rgba(0, 0, 0, 0.4)) !important;
  color: var(--icm-cat-arrow-color-hover, #fff) !important;
  transform: translateY(-1px);
}

.icomers-cat-carousel .icomers-cat-carousel__nav:disabled {
  opacity: 1 !important;
  cursor: default;
  background-color: var(--icm-cat-arrow-bg, rgba(0, 0, 0, 0.25)) !important;
}

.icomers-cat-carousel__nav:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.3);
  outline-offset: 2px;
}

.icomers-cat-carousel__nav--prev {
  left: 8px;
}

.icomers-cat-carousel__nav--next {
  right: 8px;
}

.icomers-cat-carousel .icomers-cat-carousel__nav-icon {
  display: none !important;
  width: 28px;
  height: 28px;
  pointer-events: none;
}

.icomers-cat-carousel .icomers-cat-carousel__nav-icon svg {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  fill: currentColor !important;
}

.icomers-cat-carousel .icomers-cat-carousel__nav-icon path {
  fill: currentColor !important;
}

@media (min-width: 481px) and (max-width: 1023px) {
  .icomers-cat-carousel__item {
    flex-basis: calc((100% - (var(--icm-cat-gap, 16px) * var(--icm-cat-tablet-full, 4))) / (var(--icm-cat-tablet-full, 4) + var(--icm-cat-peek-tablet, 0.25)));
    max-width: calc((100% - (var(--icm-cat-gap, 16px) * var(--icm-cat-tablet-full, 4))) / (var(--icm-cat-tablet-full, 4) + var(--icm-cat-peek-tablet, 0.25)));
  }

  .icomers-cat-carousel__frame:not(.is-arrows-hidden) .icomers-cat-carousel__nav {
    display: inline-flex;
  }

  .icomers-cat-carousel__viewport {
    padding-inline: 8px;
  }
}

@media (min-width: 1024px) {
  .icomers-cat-carousel__item {
    flex-basis: calc((100% - (var(--icm-cat-gap, 16px) * var(--icm-cat-desktop-full, 5))) / (var(--icm-cat-desktop-full, 5) + var(--icm-cat-peek-desktop, 0.25)));
    max-width: calc((100% - (var(--icm-cat-gap, 16px) * var(--icm-cat-desktop-full, 5))) / (var(--icm-cat-desktop-full, 5) + var(--icm-cat-peek-desktop, 0.25)));
  }

  .icomers-cat-carousel__frame:not(.is-arrows-hidden) .icomers-cat-carousel__nav {
    display: inline-flex;
  }

  .icomers-cat-carousel__viewport {
    padding-inline: 8px;
  }
}

@media (max-width: 480px) {
  .icomers-cat-carousel__title {
    margin-bottom: 10px;
  }

  .icomers-cat-carousel__viewport {
    gap: 0;
    padding-top: 4px;
  }

  .icomers-cat-carousel__item {
    flex: 0 0 25vw;
    max-width: 25vw;
    gap: 0;
  }

  .icomers-cat-carousel__thumb {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .icomers-cat-carousel__viewport {
    scroll-behavior: auto;
  }
}
