.elementor-widget-kamara_pill_carousel,
.elementor-widget-kamara_pill_carousel > .elementor-widget-container {
  width: 100%;
  max-width: 100%;
}

.kpc-wrap {
  --kpc-accent: #e8607a;
  --kpc-btn-border: #cfd5dc;
  --kpc-btn-icon: #56606f;
  --kpc-btn-active-bg: #f5a8b2;
  --kpc-btn-active-border: #f5a8b2;
  --kpc-btn-active-icon: #ef586f;
  --kpc-bg: #f5f5f0;
  --kpc-dur: 660ms;
  --kpc-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --kpc-gap: 12px;
  --kpc-main-w: 520px;
  --kpc-main-h: 450px;
  --kpc-near-w: 90px;
  --kpc-near-h: 420px;
  --kpc-far-w: 54px;
  --kpc-far-h: 340px;
  --kpc-main-radius: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 40px 20px;
  user-select: none;
  width: 100%;
  font-family: sans-serif;
}

.kpc-wrap * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.kpc-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--kpc-gap);
  width: 100%;
  max-width: 980px;
}

.kpc-slot {
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  background: #e0e0e0 !important;
  cursor: pointer;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none;
  outline: none;
  display: block;
  line-height: 0;
  text-decoration: none !important;
}

.kpc-slot[hidden] {
  display: none !important;
}

.kpc-slot--far {
  width: var(--kpc-far-w);
  height: var(--kpc-far-h);
  border-radius: 999px;
  opacity: 0.45;
}

.kpc-slot--near {
  width: var(--kpc-near-w);
  height: var(--kpc-near-h);
  border-radius: 999px;
  opacity: 0.85;
}

.kpc-slot--near:hover {
  opacity: 1;
}

.kpc-slot--main {
  width: var(--kpc-main-w);
  height: var(--kpc-main-h);
  border-radius: var(--kpc-main-radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  opacity: 1;
  cursor: default;
}

.kpc-slot img {
  position: absolute;
  width: calc(var(--kpc-main-w) + 60px);
  height: var(--kpc-main-h);
  max-width: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  object-fit: cover;
  display: block;
  pointer-events: none;
  transition:
    opacity var(--kpc-dur) var(--kpc-ease),
    transform var(--kpc-dur) var(--kpc-ease);
}

.kpc-slot--far,
.kpc-slot--near,
.kpc-slot--main {
  box-shadow: none !important;
}

.kpc-slot--main {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2) !important;
}

.kpc-slot img.kpc-leave {
  opacity: 0;
  transform: translate(-50%, -50%) scale(1.08);
}

.kpc-slot img.kpc-enter {
  opacity: 0;
  transform: translate(-50%, -50%) scale(1.13);
}

.kpc-slot img.kpc-enter-run {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.kpc-slot--near img {
  filter: brightness(0.74);
}

.kpc-slot--far img {
  filter: brightness(0.5);
}

.kpc-arrows {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: -2px;
}

.elementor-widget-kamara_pill_carousel .kpc-btn,
.kpc-btn {
  width: 46px;
  height: 46px;
  min-width: 46px;
  min-height: 46px;
  max-width: 46px;
  max-height: 46px;
  flex: 0 0 46px;
  border-radius: 50% !important;
  border: 2px solid var(--kpc-btn-border) !important;
  background: transparent !important;
  color: var(--kpc-btn-icon) !important;
  font-size: 18px;
  cursor: pointer;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
  line-height: 1;
  appearance: none;
  -webkit-appearance: none;
  padding: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
  overflow: hidden;
  margin: 0 !important;
  position: relative;
}

.elementor-widget-kamara_pill_carousel .kpc-btn:hover,
.elementor-widget-kamara_pill_carousel .kpc-btn:focus-visible,
.kpc-btn:hover,
.kpc-btn:focus-visible {
  background: var(--kpc-btn-active-bg) !important;
  border-color: var(--kpc-btn-active-border) !important;
  color: var(--kpc-btn-active-icon) !important;
  transform: translateY(-1px) scale(1.04);
}

.elementor-widget-kamara_pill_carousel .kpc-btn.is-active,
.kpc-btn.is-active {
  background: var(--kpc-btn-active-bg) !important;
  border-color: var(--kpc-btn-active-border) !important;
  color: var(--kpc-btn-active-icon) !important;
}

.kpc-btn:active {
  transform: scale(0.96);
}

.elementor-widget-kamara_pill_carousel .kpc-btn:focus,
.elementor-widget-kamara_pill_carousel .kpc-btn:focus-visible,
.kpc-btn:focus,
.kpc-btn:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.elementor-widget-kamara_pill_carousel .kpc-btn svg,
.kpc-btn svg {
  display: block;
  width: 21px;
  height: 21px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
  overflow: visible;
  flex: 0 0 auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.kpc-dots {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.kpc-dot {
  appearance: none;
  -webkit-appearance: none;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc !important;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  min-width: 8px;
  min-height: 8px;
}

.kpc-dot.kpc-dot--on {
  background: var(--kpc-accent) !important;
  transform: scale(1.5);
}

.kpc-dot:focus,
.kpc-dot:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

@media (max-width: 860px) {
  .kpc-slot--main {
    width: 56vw;
    height: 38vw;
  }

  .kpc-slot--near {
    width: 68px;
    height: 42vw;
  }

  .kpc-slot--far {
    width: 40px;
    height: 33vw;
  }

  .kpc-slot img {
    width: 60vw;
    height: 44vw;
  }
}

@media (max-width: 520px) {
  .kpc-slot--main {
    width: 72vw;
    height: 50vw;
  }

  .kpc-slot--near {
    width: 48px;
    height: 50vw;
  }

  .kpc-slot--far {
    display: none;
  }

  .kpc-slot img {
    width: 76vw;
    height: 54vw;
  }
}
