/* Base swiper container */
#bubble-swiper.swiper-container {
  width: clamp(320px, 100%, 1400px);
  margin: 0 auto;
  box-sizing: border-box;
  padding: 32px 0px;
  overflow: hidden;
}

/* Swiper wrapper & slides */
#bubble-swiper .swiper-wrapper {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: safe center;
}

#bubble-swiper .swiper-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Bubble slide design */
.filter-slide a {
  display: flex;
  flex-direction: column;
  flex-shrink: 1;
  justify-content: center;
  align-items: center;
  text-align: center;
  border: 1px #4a4a3f;
  transition: all 0.3s ease;
}

#bubble-swiper a {
  display: block;
  width: clamp(100px, 13.5vw, 160px);
  line-height: 1.2;
}

#bubble-swiper img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: linear-gradient(
    333deg,
    rgba(91, 89, 51, 1) 0%,
    rgba(131, 134, 92, 1) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  margin-bottom: 10px;
  line-height: 0;
  overflow: hidden;
  transition: transform 0.3s ease;
}

#bubble-swiper .filter-slide:hover img,
#bubble-swiper .filter-slide:focus-within img {
  outline: 1px solid #4a4a3f;
  outline-offset: 2px;
  box-shadow: 0 0 10px #555;
  transform: scale(1.05);
}

#bubble-swiper span {
  font-size: clamp(16px, 1.3vw, 22px);
  color: #333;
  word-break: keep-all;
}

#bubble-swiper span::after {
  content: attr(data-span-txt);
  font-weight: 500;
  display: block;
  visibility: hidden;
  overflow: hidden;
  user-select: none;
  pointer-events: none;
  height: 0;
}

#bubble-swiper .filter-slide:hover span,
#bubble-swiper .filter-slide:focus-within span {
  font-weight: 500;
  color: #4a4a3f;
  transition: 0.3s ease;
}

/* Pagination bullets */
.swiper-pagination {
  position: static;
}

/* Responsive */
@media (max-width: 768px) {
  #bubble-swiper span {
    font-size: 12px;
  }
}
