/* Cartes produit du guide Samsung Galaxy Z Fold 8 — présentation premium claire */
.cw-blog-product-card {
  width: min(100%, 360px) !important;
  max-width: 360px !important;
  margin: 30px auto 36px !important;
  overflow: hidden !important;
  border: 1px solid rgba(0, 0, 0, .055) !important;
  border-radius: 24px !important;
  background: linear-gradient(180deg, #fbfbfd 0%, #f5f5f7 100%) !important;
  box-shadow: 0 16px 42px rgba(0, 0, 0, .075) !important;
  transition: transform .28s ease, box-shadow .28s ease;
}

.cw-blog-product-card__link {
  display: block !important;
  padding: 16px 16px 20px !important;
  color: #1d1d1f !important;
  text-decoration: none !important;
}

.cw-blog-product-card__visual {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  overflow: hidden !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 18px !important;
  background: radial-gradient(circle at 50% 35%, #fff 0%, #fff 42%, #f1f1f3 100%) !important;
}

.cw-blog-product-card__visual img {
  display: block !important;
  width: 90% !important;
  height: 90% !important;
  max-width: none !important;
  object-fit: contain !important;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}

.cw-blog-product-card__content {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  padding: 20px 8px 0 !important;
  text-align: center !important;
}

.cw-blog-product-card__name {
  max-width: 310px;
  color: #1d1d1f !important;
  font-size: 21px !important;
  font-weight: 600 !important;
  letter-spacing: -.025em !important;
  line-height: 1.12 !important;
}

.cw-blog-product-card__price {
  margin-top: 9px !important;
  color: #6e6e73 !important;
  font-size: 15px !important;
  font-weight: 500 !important;
}

.cw-blog-product-card__cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  width: auto !important;
  min-width: 170px !important;
  margin-top: 16px !important;
  padding: 10px 18px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #0071e3 !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: -.01em !important;
  line-height: 1.25 !important;
  transition: background-color .2s ease, transform .2s ease;
}

.cw-blog-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 52px rgba(0, 0, 0, .1) !important;
}

.cw-blog-product-card__link:hover .cw-blog-product-card__visual img,
.cw-blog-product-card__link:focus-visible .cw-blog-product-card__visual img {
  transform: scale(1.035);
}

.cw-blog-product-card__link:hover .cw-blog-product-card__cta,
.cw-blog-product-card__link:focus-visible .cw-blog-product-card__cta {
  background: #0077ed !important;
  transform: scale(1.015);
}

.cw-blog-product-card__link:focus-visible {
  outline: 3px solid #0071e3 !important;
  outline-offset: -3px;
}

@media (max-width: 480px) {
  .cw-blog-product-card {
    margin: 24px auto 30px !important;
    border-radius: 22px !important;
  }

  .cw-blog-product-card__link {
    padding: 12px 12px 18px !important;
  }

  .cw-blog-product-card__visual {
    border-radius: 17px !important;
  }

  .cw-blog-product-card__content {
    padding: 18px 6px 0 !important;
  }

  .cw-blog-product-card__name {
    font-size: 20px !important;
    line-height: 1.12 !important;
  }

  .cw-blog-product-card__price {
    margin-top: 9px !important;
    font-size: 15px !important;
  }

  .cw-blog-product-card__cta {
    min-width: 164px !important;
    margin-top: 16px !important;
    padding: 9px 17px !important;
    font-size: 14px !important;
  }
}
