/* ====== MEDALLO · SISTEMA DE RESEÑAS PREMIUM ====== */
/* ¡Diseño que deja a la competencia en los suelos! */

.mj-reviews {
  --brand-primary: #8a1538;
  --brand-secondary: #c6a769;
  --brand-accent: #0033a0;
  --gradient-primary: linear-gradient(135deg, #8a1538 0%, #a61c4d 50%, #c6a769 100%);
  --gradient-secondary: linear-gradient(135deg, #0033a0 0%, #2a52be 50%, #c6a769 100%);
  --bg-glass: rgba(255, 255, 255, 0.95);
  --bg-card: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  --text-primary: #1a1a1a;
  --text-secondary: #4a4a4a;
  --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 15px 50px rgba(138, 21, 56, 0.15);
  --shadow-float: 0 25px 60px rgba(0, 0, 0, 0.12);
  --border-glow: 1px solid rgba(138, 21, 56, 0.1);
  
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 40px 30px;
  margin: 60px auto;
  position: relative;
  border: var(--border-glow);
  box-shadow: var(--shadow-soft);
  max-width: 1200px;
}

/* Efecto de partículas animadas en el fondo */
.mj-reviews::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(198, 167, 105, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 51, 160, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(138, 21, 56, 0.02) 0%, transparent 50%);
  border-radius: 24px;
  pointer-events: none;
  animation: particleFloat 8s ease-in-out infinite;
}

@keyframes particleFloat {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-10px) scale(1.02); }
}

/* Título premium */
.mj-reviews h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  margin: 0 0 40px 0;
  position: relative;
  line-height: 1.1;
}

.mj-reviews h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* ====== RESUMEN PREMIUM ====== */
.mj-reviews__summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: center;
  background: var(--bg-card);
  padding: 30px;
  border-radius: 20px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
}

.mj-reviews__summary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
}

/* Puntuación principal */
.mj-reviews__summary > div:first-child {
  text-align: center;
  min-width: 140px;
}

.mj-reviews__summary > div:first-child > div:first-child {
  font-size: 3.5rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 8px;
}

.mj-reviews__summary .stars {
  font-size: 1.8rem;
  color: #ffc107;
  margin: 8px 0;
  text-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
}

.mj-reviews__count {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 600;
  margin: 0;
}

/* Barra de distribución de estrellas */
.mj-reviews__distribution {
  flex: 1;
  max-width: 300px;
}

.rating-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.rating-bar .stars {
  font-size: 0.9rem;
  color: #ffc107;
  min-width: 60px;
}

.rating-bar .bar-container {
  flex: 1;
  height: 8px;
  background: #f0f0f0;
  border-radius: 10px;
  overflow: hidden;
}

.rating-bar .bar {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 10px;
  transition: width 1s ease-in-out;
}

.rating-bar .count {
  min-width: 30px;
  text-align: right;
  color: var(--text-secondary);
  font-weight: 600;
}

/* Filtros premium */
.mj-reviews__filters {
  display: flex;
  flex-direction: column;
  gap: 15px;
  min-width: 200px;
}

.mj-filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mj-filter-group label {
  font-weight: 700;
  color: var(--brand-primary);
  font-size: 0.9rem;
}

.mj-reviews select {
  appearance: none;
  background: var(--bg-glass) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238a1538' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center;
  padding: 12px 45px 12px 16px;
  border: 2px solid rgba(138, 21, 56, 0.1);
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.mj-reviews select:hover {
  border-color: var(--brand-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.mj-reviews select:focus {
  border-color: var(--brand-primary);
  outline: none;
  box-shadow: 0 0 0 4px rgba(138, 21, 56, 0.1);
}

/* Checkbox premium */
.mj-checkbox-premium {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.mj-checkbox-premium input[type="checkbox"] {
  appearance: none;
  width: 22px;
  height: 22px;
  border: 2px solid rgba(138, 21, 56, 0.3);
  border-radius: 6px;
  background: var(--bg-glass);
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.mj-checkbox-premium input[type="checkbox"]:checked {
  border-color: var(--brand-primary);
  background: var(--brand-primary);
}

.mj-checkbox-premium input[type="checkbox"]:checked::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1rem;
  color: white;
  font-weight: bold;
}

.mj-checkbox-premium:hover {
  transform: translateX(5px);
}

/* ====== TARJETAS DE RESEÑAS PREMIUM ====== */
.product-reviews-list {
  display: grid;
  gap: 25px;
  margin-bottom: 50px;
}

.testimonial-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 30px;
  position: relative;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-float);
}

.testimonial-card:hover::before {
  transform: scaleX(1);
}

/* Header de reseña */
.review-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: start;
  margin-bottom: 20px;
}

.reviewer-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 8px 20px rgba(0, 51, 160, 0.3);
}

.reviewer-info {
  flex: 1;
}

.reviewer-info strong {
  display: block;
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gradient-primary);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-left: 0;
}

.review-date {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

.review-rating {
  text-align: right;
}

.review-rating .stars {
  font-size: 1.6rem;
  color: #ffc107;
  text-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
}

/* Contenido de reseña */
.review-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 15px;
  line-height: 1.3;
}

.review-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.review-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.review-size, .review-verified {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(138, 21, 56, 0.05);
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-primary);
}

/* Foto en reseña */
.review-photo {
  margin-top: 20px;
}

.review-photo img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  cursor: zoom-in;
}

.review-photo img:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* ====== FORMULARIO PREMIUM ====== */
.review-form {
  background: var(--bg-card);
  padding: 40px;
  border-radius: 24px;
  box-shadow: var(--shadow-medium);
  border: 1px solid rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
}

.review-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.review-form h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-primary);
  text-align: center;
  margin-bottom: 30px;
}

/* Grupos de formulario */
.form-group {
  margin-bottom: 25px;
}

.form-label {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

/* Selector de estrellas ALUCINANTE */
.stars-selector-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#mjStarsSelect {
  display: flex;
  gap: 4px;
  justify-content: center;
  padding: 20px;
  background: rgba(138, 21, 56, 0.02);
  border-radius: 20px;
  border: 2px dashed rgba(138, 21, 56, 0.1);
  transition: all 0.3s ease;
}

#mjStarsSelect:hover {
  border-color: rgba(138, 21, 56, 0.3);
  background: rgba(138, 21, 56, 0.05);
}

#mjStarsSelect .star {
  font-size: 3rem;
  color: #e0e0e0;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
  position: relative;
}

#mjStarsSelect .star:hover {
  transform: scale(1.2) rotate(5deg);
  color: #ffd700;
}

#mjStarsSelect .star.active {
  color: #ffc107;
  transform: scale(1.3);
  filter: drop-shadow(0 6px 12px rgba(255, 193, 7, 0.4));
}

#mjStarsSelect .star.active::after {
  content: '★';
  position: absolute;
  top: 0;
  left: 0;
  color: #ffeb3b;
  z-index: -1;
  animation: starPulse 2s ease-in-out infinite;
}

@keyframes starPulse {
  0%, 100% { opacity: 0; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

/* Inputs premium */
.form-input, .review-form textarea, .review-form select {
  width: 100%;
  padding: 16px 20px;
  background: var(--bg-glass);
  border: 2px solid rgba(138, 21, 56, 0.1);
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.form-input:focus, .review-form textarea:focus, .review-form select:focus {
  border-color: var(--brand-primary);
  outline: none;
  box-shadow: 0 0 0 4px rgba(138, 21, 56, 0.1), 0 8px 20px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.review-form textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

/* Previsualización de foto */
.photo-preview {
  margin-top: 15px;
}

.photo-preview img {
  max-width: 200px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  border: 3px solid white;
}

.photo-preview button {
  margin-top: 10px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.photo-preview button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(231, 76, 60, 0.4);
}

/* Botón de envío ALUCINANTE */
.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--gradient-primary);
  color: white;
  font-size: 1.2rem;
  font-weight: 800;
  padding: 18px 40px;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(138, 21, 56, 0.3);
}

.submit-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.submit-button:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 20px 40px rgba(138, 21, 56, 0.4);
}

.submit-button:hover::before {
  left: 100%;
}

.submit-button:active {
  transform: translateY(0) scale(1);
}

.submit-button.loading {
  pointer-events: none;
}

.submit-button.loading::after {
  content: '';
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Mensajes del formulario */
.mj-form__msg {
  padding: 20px;
  border-radius: 16px;
  margin: 20px 0;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.mj-form__msg.success {
  background: linear-gradient(135deg, #d4edda, #c3e6cb);
  color: #155724;
  border-color: #c3e6cb;
}

.mj-form__msg.error {
  background: linear-gradient(135deg, #f8d7da, #f5c6cb);
  color: #721c24;
  border-color: #f5c6cb;
}

/* ====== RESPONSIVE PREMIUM ====== */
@media (max-width: 1024px) {
  .mj-reviews__summary {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  
  .mj-reviews__distribution {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .mj-reviews {
    padding: 30px 20px;
    margin: 40px auto;
    border-radius: 20px;
  }
  
  .mj-reviews h2 {
    font-size: 2.2rem;
  }
  
  .review-header {
    grid-template-columns: 1fr;
    gap: 15px;
    text-align: center;
  }
  
  .reviewer-avatar {
    margin: 0 auto;
  }
  
  .review-rating {
    text-align: center;
  }
  
  #mjStarsSelect .star {
    font-size: 2.5rem;
  }
  
  .review-form {
    padding: 30px 20px;
  }
  
  .submit-button {
    width: 100%;
    font-size: 1.1rem;
    padding: 16px 30px;
  }
}

@media (max-width: 480px) {
  .mj-reviews {
    padding: 20px 15px;
    border-radius: 16px;
  }
  
  .mj-reviews h2 {
    font-size: 1.8rem;
  }
  
  .testimonial-card {
    padding: 20px;
  }
  
  #mjStarsSelect .star {
    font-size: 2rem;
  }
  
  .review-form h3 {
    font-size: 1.6rem;
  }
}

/* Efectos de aparición */
.testimonial-card, .review-form {
  animation: slideUp 0.6s ease-out;
}

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

/* Modo oscuro automático */
@media (prefers-color-scheme: dark) {
  .mj-reviews {
    --bg-glass: rgba(26, 26, 26, 0.95);
    --bg-card: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 15px 50px rgba(138, 21, 56, 0.25);
  }
  
  .form-input, .review-form textarea, .review-form select {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border-color: rgba(255, 255, 255, 0.1);
  }
}
/* ====== BOTÓN DE ENVIAR ALUCINANTE ====== */

.review-form .next-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--gradient-primary);
  color: white;
  font-size: 1.2rem;
  font-weight: 800;
  padding: 18px 40px;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(138, 21, 56, 0.3);
  min-width: 200px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Efecto de brillo al pasar el mouse */
.review-form .next-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s ease;
}

/* Efecto de partículas en hover */
.review-form .next-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.review-form .next-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 20px 40px rgba(138, 21, 56, 0.4);
  background: var(--gradient-secondary);
}

.review-form .next-btn:hover::before {
  left: 100%;
}

.review-form .next-btn:hover::after {
  opacity: 1;
}

/* Efecto de pulsación al hacer click */
.review-form .next-btn:active {
  transform: translateY(0) scale(1);
  box-shadow: 0 5px 15px rgba(138, 21, 56, 0.4);
  transition: all 0.1s ease;
}

/* Estado de carga */
.review-form .next-btn.loading {
  pointer-events: none;
  background: linear-gradient(135deg, #666, #888);
  color: transparent;
}

.review-form .next-btn.loading::before {
  display: none;
}

.review-form .next-btn.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 25px;
  height: 25px;
  margin: -12.5px 0 0 -12.5px;
  border: 3px solid transparent;
  border-top: 3px solid white;
  border-right: 3px solid white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  opacity: 1;
}

/* Estado deshabilitado */
.review-form .next-btn:disabled {
  background: linear-gradient(135deg, #ccc, #ddd);
  color: #999;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.review-form .next-btn:disabled:hover {
  transform: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Icono del botón */
.review-form .next-btn i {
  font-size: 1.1em;
  transition: transform 0.3s ease;
}

.review-form .next-btn:hover i {
  transform: translateX(3px) scale(1.1);
}

/* Efecto de confeti al enviar exitosamente */
.review-form .next-btn.success {
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  box-shadow: 0 10px 30px rgba(39, 174, 96, 0.4);
}

.review-form .next-btn.success::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
}

/* Animación de éxito */
@keyframes successPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.review-form .next-btn.animate-success {
  animation: successPulse 0.6s ease-in-out;
}

/* Versión alternativa con efecto neón */
.review-form .next-btn.neon {
  background: transparent;
  border: 2px solid var(--brand-primary);
  color: var(--brand-primary);
  box-shadow: 0 0 10px rgba(138, 21, 56, 0.5), inset 0 0 10px rgba(138, 21, 56, 0.1);
  text-shadow: 0 0 5px rgba(138, 21, 56, 0.5);
}

.review-form .next-btn.neon:hover {
  background: var(--brand-primary);
  color: white;
  box-shadow: 0 0 20px rgba(138, 21, 56, 0.8), inset 0 0 20px rgba(255, 255, 255, 0.1);
  text-shadow: none;
}

/* Responsive para el botón */
@media (max-width: 768px) {
  .review-form .next-btn {
    width: 100%;
    min-width: auto;
    font-size: 1.1rem;
    padding: 16px 30px;
  }
}

@media (max-width: 480px) {
  .review-form .next-btn {
    font-size: 1rem;
    padding: 14px 25px;
  }
  
  .review-form .next-btn.loading::after {
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
  }
}

/* Efecto de onda al hacer click */
.review-form .next-btn {
  position: relative;
  overflow: hidden;
}

.review-form .next-btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: ripple 0.6s linear;
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Gradiente animado para el botón */
.review-form .next-btn.animated-gradient {
  background: linear-gradient(
    135deg,
    #8a1538 0%,
    #a61c4d 25%,
    #c6a769 50%,
    #0033a0 75%,
    #8a1538 100%
  );
  background-size: 400% 400%;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Efecto de profundidad 3D */
.review-form .next-btn.depth-3d {
  box-shadow: 
    0 10px 20px rgba(138, 21, 56, 0.3),
    0 6px 6px rgba(138, 21, 56, 0.2),
    inset 0 -2px 5px rgba(0, 0, 0, 0.1);
  border-bottom: 3px solid rgba(106, 11, 36, 0.8);
}

.review-form .next-btn.depth-3d:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 15px 30px rgba(138, 21, 56, 0.4),
    0 8px 8px rgba(138, 21, 56, 0.3),
    inset 0 -1px 3px rgba(0, 0, 0, 0.1);
  border-bottom-width: 4px;
}

.review-form .next-btn.depth-3d:active {
  transform: translateY(1px);
  box-shadow: 
    0 5px 10px rgba(138, 21, 56, 0.3),
    0 2px 2px rgba(138, 21, 56, 0.2),
    inset 0 1px 2px rgba(0, 0, 0, 0.1);
  border-bottom-width: 2px;
}

/* === BOTÓN IONOS-SAFE === */
#medallo-reseñas .review-form button[type="submit"].next-btn {
  /* Base styles */
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  background: linear-gradient(to right, #8a1538, #c6a769) !important;
  color: white !important;
  font-size: 18px !important;
  font-weight: bold !important;
  padding: 16px 35px !important;
  border: none !important;
  border-radius: 12px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 5px 15px rgba(138, 21, 56, 0.3) !important;
  min-width: 180px !important;
  text-transform: uppercase !important;
}

/* Hover simple pero efectivo */
#medallo-reseñas .review-form button[type="submit"].next-btn:hover {
  background: linear-gradient(to right, #a61c4d, #0033a0) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(138, 21, 56, 0.4) !important;
}

/* Active state */
#medallo-reseñas .review-form button[type="submit"].next-btn:active {
  transform: translateY(0) !important;
}
/* ===== Logo de reseñas verificadas MEDALLO ===== */
.mj-verified-logo {
  text-align: center;
  margin: 15px auto 25px;
  animation: fadeInScale 0.9s ease forwards;
}

.mj-verified-logo img {
  max-width: 130px;
  height: auto;
  display: inline-block;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.25));
  opacity: 0.95;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mj-verified-logo img:hover {
  transform: scale(1.05);
  opacity: 1;
}

/* Animación sutil de entrada */
@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}
.product-reviews-list img {
  max-width:160px;
  max-height:160px;
  object-fit:cover;
  border-radius:10px;
  box-shadow:0 4px 12px rgba(0,0,0,0.15);
  margin:8px;
  display:inline-block;
}