.amazon-carousel {
  width: 100%;
  position: relative;
}

.amazon-carousel-inner {
  position: relative;
  height: 200px;
}

.amazon-carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.amazon-carousel-item.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.amazon-carousel-item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  width: 100%;
  height: 100%;
}

.amazon-carousel-image {
  position: relative;
  width: 120px;
  height: 160px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.amazon-carousel-image img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: box-shadow 0.2s ease;
}

.amazon-carousel-item a:hover .amazon-carousel-image img {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.amazon-audible-badge {
  position: absolute;
  bottom: 4px;
  right: 4px;
  background: rgba(255,153,0,0.9);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.amazon-carousel-title {
  font-size: 13px;
  text-align: center;
  line-height: 1.4;
  width: 100%;
  padding: 0 5px;
}

.amazon-carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 5px;
}

.amazon-carousel-prev,
.amazon-carousel-next {
  background: #f0f0f0;
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.amazon-carousel-prev:hover,
.amazon-carousel-next:hover {
  background: #e0e0e0;
}

.amazon-carousel-dots {
  display: flex;
  gap: 6px;
}

.amazon-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.amazon-carousel-dot:hover {
  transform: scale(1.2);
}

.amazon-carousel-dot.active {
  background: #666;
}
