/* Container generale */
.amazon-products-section {
  margin: 40px 0;
  padding: 24px;
  background: #f8f9fa;
  border-radius: 12px;
}

.amazon-products-section h3 {
  margin-bottom: 20px;
  font-size: 1.5rem;
  color: #232f3e;
}

/* Card prodotto */
.product-card {
  background: white;
  border-radius: 8px;
  padding: 16px;
  height: 100%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.product-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

/* Immagine prodotto */
.product-card img {
  width: 100%;
  height: 200px;
  /* max-height: fit-content; */
  object-fit: contain;
  margin-bottom: 12px;
  /* background: #f9f9f9; */
  border-radius: 4px;
}

/* Titolo prodotto */
.product-title {
  font-size: 0.95rem;
  line-height: 1.4;
  margin-bottom: 12px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #0F1111;
}

/* Footer con prezzo e CTA */
.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.product-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: #B12704;
}

.cta-button {
  font-size: 0.85rem;
  color: #007185;
  font-weight: 600;
}

/* Frecce navigazione (solo desktop) */
.swiper-button-prev,
.swiper-button-next {
  color: #6DA038;
  display: none; /* Nascoste di default */
}

/* Paginazione (solo mobile) */
.swiper-pagination {
  position: relative;
  margin-top: 16px;
}

.swiper-pagination-bullet-active {
  background: #6DA038;
}

/* Disclaimer affiliazione */
.affiliate-disclosure {
  margin-top: 16px;
  font-size: 0.75rem;
  color: #565959;
  text-align: center;
}

/* RESPONSIVE DESKTOP (≥768px) */
@media (min-width: 768px) {
  .swiper-button-prev,
  .swiper-button-next {
    display: flex; /* Mostra frecce su desktop */
  }
  
  .swiper-pagination {
    display: none; /* Nascondi pallini su desktop */
  }
  
  /* .product-card img {
    height: 220px;
  } */
}
