.ea-carousel {
  max-width: 960px;
  margin: 0 auto 40px;
  padding: 16px 16px 20px;
  background: #ffffff !important;
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(0, 29, 61, 0.08) !important;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
}

.ea-carousel-main {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #000000 !important;
}

.ea-carousel-main-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.ea-carousel-slide {
  display: none;
}

.ea-carousel-slide.is-active {
  display: block;
}

.ea-carousel-slide img {
  width: 100%;
  height: 100%;
  max-height: 560px;
  object-fit: cover;
  display: block;
}

/* Piler */

.ea-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  z-index: 2;
}

.ea-carousel-arrow span {
  font-size: 18px;
  line-height: 1;
  color: #001D3D !important;
}

.ea-carousel-arrow.ea-carousel-prev {
  left: 16px;
}

.ea-carousel-arrow.ea-carousel-next {
  right: 16px;
}

.ea-carousel-arrow:hover {
  transform: translateY(-50%) scale(1.03);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3) !important;
}

/* Teller */

.ea-carousel-counter {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.75) !important;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Thumbnails */

.ea-carousel-thumbs {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
}

.ea-carousel-thumbs::-webkit-scrollbar {
  height: 8px;
}

.ea-carousel-thumbs::-webkit-scrollbar-track {
  background: rgba(0, 29, 61, 0.05) !important;
}

.ea-carousel-thumbs::-webkit-scrollbar-thumb {
  background: rgba(0, 115, 198, 0.35) !important;
  border-radius: 999px;
}

.ea-carousel-thumb {
  flex: 0 0 140px;
  border-radius: 18px;
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent !important;
  background: #f2f5fa !important;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1) !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.ea-carousel-thumb img {
  display: block;
  width: 100%;
  height: 90px;
  object-fit: cover;
}

.ea-carousel-thumb:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16) !important;
}

.ea-carousel-thumb.is-active {
  border-color: #0073C6 !important;
  background: #eaf4fc !important;
  box-shadow: 0 0 0 3px rgba(0, 115, 198, 0.18) !important;
}

/* Empty states */

.ea-carousel-empty {
  max-width: 960px;
  margin: 0 auto 24px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #f7f9fc !important;
  color: #0b1f33 !important;
  border: 1px solid rgba(0, 29, 61, 0.06) !important;
  box-shadow: 0 8px 18px rgba(0, 29, 61, 0.04) !important;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  font-size: 14px;
}

/* Responsivt */

@media (max-width: 768px) {
  .ea-carousel {
    padding: 12px 12px 16px;
    border-radius: 20px;
  }

  .ea-carousel-main {
    border-radius: 16px;
  }

  .ea-carousel-slide img {
    max-height: 380px;
  }

  .ea-carousel-arrow {
    width: 34px;
    height: 34px;
  }

  .ea-carousel-thumb {
    flex: 0 0 120px;
  }

  .ea-carousel-thumb img {
    height: 80px;
  }
}
