/* bestof.css */
#bestof-gallery {
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.fs-box-bestof {
  background: #F8F8F8;
  padding: 30px 20px;
  color: #313131;
  width: 100%;
  box-sizing: border-box;
}

.fs-box-bestof .fs-contenuto {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.bestof-title {
  font-size: 24px;
  font-weight: bold;
  color: #800500 !important;
  display: inline-block;
  margin-bottom: 20px;
}

.bestof-swiper-main {
  width: 100%;
  height: 70vh;
  margin-bottom: 20px;
}

.bestof-swiper-main .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.main-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  border-radius: 6px;
}

.bestof-swiper-thumbs {
  width: 100%;
  padding-top: 10px;
  box-sizing: border-box;
}

.bestof-swiper-thumbs .swiper-slide {
  width: 100px !important;
  height: 80px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 4px;
}

.thumb-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s ease;
  border-radius: 4px;
}

.swiper-slide-thumb-active .thumb-image {
  opacity: 1;
  border: 2px solid #444;
}

.swiper-button-next,
.swiper-button-prev {
  color: #444;
  font-size: 28px;
}

@media (max-width: 600px) {
  .bestof-swiper-thumbs .swiper-slide {
    width: 70px !important;
    height: 60px !important;
  }

  .swiper-button-next,
  .swiper-button-prev {
    font-size: 22px;
  }
}
