 .opiniones{
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
    max-height: 400px;
    margin-bottom: 30px;
    }
    .opiniones img{
    width: 100%;
    height: 100%;
    max-height: 400px;
    }	
        .cabecera {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      margin-top: 2rem;
      margin-bottom: 90px;
      margin-left: 100px;
      margin-right: 100px;
    }
    .cabecera-izquierda {
      display: flex;
      align-items: flex-start;
      gap: 1rem;
      flex: 1;
    }
    .cabecera-izquierda img {
      width: 150px;
      height: auto;
    }
    .cabecera-derecha {
      flex: 0 0 auto;
      margin-left: 2rem;
    }
    .cabecera-texto {
      display: flex;
      flex-direction: column;
      margin-bottom: 3rem;
    }
    #promedio {
      font-size: 1.2em;
      color: #333;
    }
    .contenedor {
      margin-left: 100px;
      margin-right: 100px;
    }
.reseñas {
  width: 100%;
  transition: opacity 0.3s ease;
}

.skeleton-reseña {
  background: #fff;
  border: 1px solid #ddd;
  padding: 20px;
  margin-bottom: 55px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  animation: pulse 1.5s ease-in-out infinite;
}

.skeleton-line {
  height: 20px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: 4px;
  margin-bottom: 10px;
}

.skeleton-line.short {
  width: 60%;
}

.skeleton-line.medium {
  width: 80%;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

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

.fade-out {
  opacity: 0;
}
.comentario-texto {
  transition: all 0.5s ease;
}
¿
.reseña-mejorada {
  background: linear-gradient(135deg, #ffffff 0%, #f8fffe 100%);
  border: 2px solid #4caf50;
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.3);
}
.fade-in {
  opacity: 1;
}
    .reseña {
      background: #fff;
      border: 1px solid #ddd;
      padding: 20px;
      margin-bottom: 55px;
      font-size:1.4rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    color: #616161;
    transition: all 0.5s ease;
    }
    .reseña h4 {
      margin: 0;
      color:#950000;
      font-weight:600;
      font-size:2rem;
      margin-bottom:15px;
    }
    .estrellas {
      color: gold;
    }
    #distribucion {
      font-size: 1.3rem;
      padding: 30px;
      border: #4b0000 solid 2px;
      width: 450px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    }
    #distribucion div {
      margin: 0.3rem 0;
    }
    .barra {
      display: inline-block;
      height: 10px;
      background: #4b0000;
      vertical-align: middle;
      margin-left: 8px;
    }
    .acciones {
      display: flex;
      justify-content: flex-start;
      gap: 1.6rem;
      margin-top: 2rem;
      font-size:1.5rem;
    }
    .acciones button {
      margin: 0;
    }
    .paginacion {
      text-align: center;
      margin-top: 1rem;
      margin-bottom:50px;
    }
    .paginacion button {
      margin: 0 4px;
    }
    .modal {
      display: none;
      position: fixed;
      top: 0; left: 0; width: 100%; height: 100%;
      background: rgba(0,0,0,0.5);
      justify-content: center;
      align-items: center;
    }
    .modal-content {
      background: #fff;
      padding: 1.5rem;
      box-shadow: 0 4px 15px rgba(0,0,0,0.3);
      width: 100%;
      max-width: 800px;
    }
    .modal input, .modal textarea, .modal select {
      width: 100%;
      padding: 0.5rem;
      margin: 0.5rem 0;
    }
    button {
      background: #5d0e0e;
      color: white;
      border: none;
      padding: 15px 30px;
      cursor: pointer;
      font-weight:bold;
    }
    button:hover {
      background: #ffffff;
      border:#5d0e0e solid 2px;
      color:black;
      
    }
    .borrar-btn {
      background: #dc3545;
    }