/* Modal de recommandations */
.recommendation-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(5px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.recommendation-modal.show {
  opacity: 1;
}

.recommendation-content {
  background: rgba(244, 111, 138, 0.174);
  backdrop-filter: blur(18px);
  border-radius: 1.5rem;
  padding: 2rem;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.recommendation-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #ff6b6b, #ff4d4d);
  border: none;
  border-radius: 12px;
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(255, 77, 77, 0.3);
  font-weight: 700;
  z-index: 10001;
}

.recommendation-close:hover {
  background: linear-gradient(135deg, #ff4d4d, #e03e3e);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 77, 77, 0.5);
}

.recommendation-close:active {
  transform: translateY(0) scale(0.98);
}

.recommendation-content h3 {
  color: #ff6b6b;
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: 1.7rem;
}

.recommendation-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.recommendation-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: rgba(255, 107, 107, 0.1);
  border-radius: 1rem;
  border-left: 4px solid #ff6b6b;
  transition: all 0.3s ease;
}

.recommendation-item:hover {
  background: rgba(255, 107, 107, 0.2);
  transform: translateX(4px);
}

.reco-info h4 {
  margin: 0 0 0.5rem 0;
  color: #333;
  font-size: 1.2rem;
}

.reco-price {
  color: #ff6b6b;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0.3rem 0;
}

.reco-stat {
  color: #666;
  font-size: 0.9rem;
  margin: 0;
  font-style: italic;
}

.btn-add-reco {
  background: linear-gradient(135deg, #4CAF50, #45a049);
  color: white;
  border: none;
  border-radius: 0.8rem;
  padding: 0.7rem 1.2rem;
  cursor: pointer;
  font-weight: 700;
  transition: all 0.3s ease;
  font-family: 'HSR', sans-serif;
  white-space: nowrap;
}

.btn-add-reco:hover {
  background: linear-gradient(135deg, #45a049, #388e3c);
  transform: scale(1.05);
}

.btn-add-reco:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Responsive */
@media (max-width: 768px) {
  .recommendation-item {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .btn-add-reco {
    width: 100%;
  }
}