.occ-carousel {
  --occ-bg: #008ce1;
  --occ-text: #002532;
  --occ-arrow: #064fd3;
  --occ-max: 1200px;
  position: relative;
  width: 100%;
  max-width: var(--occ-max);
  margin: 0 auto;
  padding: 20px 34px 18px;
  box-sizing: border-box;
  font-family: inherit;
}

.occ-carousel *,
.occ-carousel *::before,
.occ-carousel *::after {
  box-sizing: border-box;
}

.occ-carousel__track {
  display: flex;
  align-items: flex-start;
  gap: clamp(18px, 2vw, 34px);
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  padding: 14px 2px 12px;
}

.occ-carousel__track::-webkit-scrollbar {
  display: none;
}

.occ-carousel__item {
  flex: 0 0 auto;
  width: 112px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  color: var(--occ-text);
  text-decoration: none !important;
  scroll-snap-align: start;
  outline: none;
}

.occ-carousel__item:focus-visible .occ-carousel__imageBox {
  box-shadow: 0 0 0 3px rgba(6, 79, 211, .28);
}

.occ-carousel__imageBox {
  width: 104px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
  background: var(--occ-bg);
  border-radius: 6px;
}

.occ-carousel__imageBox img {
  display: block;
  width: auto;
  max-width: 94%;
  max-height: 92px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  transform: translateY(0);
  transition: transform .22s ease, filter .22s ease;
  will-change: transform;
}

.occ-carousel__placeholder {
  width: 54px;
  height: 42px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .48);
}

.occ-carousel__title {
  display: block;
  margin-top: 10px;
  color: var(--occ-text);
  font-size: 14px;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: .2px;
  text-decoration: none;
  max-width: 128px;
}

.occ-carousel__arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 25px;
  height: 25px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: var(--occ-arrow);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .14);
  transition: opacity .18s ease, transform .18s ease;
}

.occ-carousel__arrow span {
  display: block;
  height: 25px;
  line-height: 21px;
  transform: translateY(-1px);
}

.occ-carousel__arrow:hover {
  transform: translateY(-50%) scale(1.05);
}

.occ-carousel__arrow[hidden] {
  display: none !important;
}

.occ-carousel__arrow--left {
  left: 4px;
}

.occ-carousel__arrow--right {
  right: 4px;
}

.occ-carousel-empty {
  padding: 12px 16px;
  border: 1px dashed #c9c9c9;
  border-radius: 6px;
  color: #555;
}

@media (hover: hover) and (pointer: fine) {
  .occ-carousel__item:hover .occ-carousel__imageBox img {
    transform: translateY(-10px);
    filter: drop-shadow(0 8px 6px rgba(0, 0, 0, .16));
  }
}

@media (max-width: 767px) {
  .occ-carousel {
    padding: 16px 0 18px;
    max-width: 100%;
  }

  .occ-carousel__track {
    gap: 26px;
    padding: 14px 16px 14px;
    scroll-padding-left: 16px;
  }

  .occ-carousel__item {
    width: 104px;
  }

  .occ-carousel__imageBox {
    width: 96px;
    height: 64px;
  }

  .occ-carousel__imageBox img {
    max-height: 86px;
  }

  .occ-carousel__title {
    font-size: 14px;
    line-height: 1.15;
  }

  .occ-carousel__arrow {
    display: none !important;
  }
}

@media (max-width: 420px) {
  .occ-carousel__track {
    gap: 22px;
  }

  .occ-carousel__item {
    width: 96px;
  }

  .occ-carousel__imageBox {
    width: 92px;
    height: 60px;
  }
}
