/* Front styles for RF Cat Circles */
.rfcc-grid {
  display: flex;
  gap: var(--rfcc-gap,20px);
  align-items: start;
  justify-content: center;
  flex-wrap: nowrap; /* toujours en ligne */
}

.rfcc-item {
  flex: 0 0 auto; /* empêche le wrap */
  text-align: center;
}

.rfcc-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.rfcc-circle {
  width: var(--rfcc-size,140px);
  height: var(--rfcc-size,140px);
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  position: relative;
  transition: box-shadow .25s ease, transform .25s ease;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.06);
  background: #f6f7f7;
}

.rfcc-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rfcc-link:hover .rfcc-circle,
.rfcc-link:focus .rfcc-circle {
  box-shadow: 0 0 24px 6px rgba(255, 105, 180, 0.35), 0 0 0 2px rgba(255,105,180,0.25);
  transform: translateY(-2px);
}

.rfcc-title {
  font-weight: 600;
  line-height: 1.2;
  font-size: 15px;
}

.rfcc-ph {
  font-weight: 700;
  font-size: calc(var(--rfcc-size,140px) * 0.35);
  color: #999;
}

/* ----- Version mobile : scroll si besoin ----- */
@media (max-width: 900px) {
  .rfcc-grid {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: none; /* Firefox */
  }
  .rfcc-grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
  }
}
