
.carousel-container {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;

}

.carousel-wrapper {
  overflow: hidden;
  width: 100%;
  text-align: center;
}

.carousel {
  display: flex;
  transition: transform 0.4s ease;
}

.carousel img {
  width: 250px;
  height: 350px;
  object-fit: cover;
  margin: 0 20px;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0, 255, 170, 0.3);
  transition: transform 0.4s ease, opacity 0.4s ease;

}

.carousel-btn { /* botones de anterior sigiente*/
  position: absolute;
  border: none;
  top: 50%;
  transform: translateY(-50%);
  padding: 10px 15px;
  font-size: 30px;
  border-radius: 50%;
  cursor: pointer;
  color: #101010;
  transition: background 0.3s;
  z-index: 1;

}

.carousel-btn:hover {
  background: rgba(0, 255, 170, 1);
}

.carousel-btn.left {
  left: 10px;
}

.carousel-btn.right {
  right: 10px;
}

.carousel-btn:hover {
  transform: translateY(-50%) scale(1.1); /* agranda 10% */
}

































/* ⭐ BOTÓN que abre el popup (sin cambios estéticos fuertes) */
.btn-popup {
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.btn-popup:hover {
    transform: scale(1.05);
}

/* POPUP */
/* Fondo oscuro */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.75);
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
    z-index: 2;
}

/* Caja del popup */
.popup-contenido {
    width: 450px;
    background: #171717;
    color: #fff;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 0 20px #00ffcc;
    transform: translateY(100px);
    opacity: 0;
}

/* Animación slide-up */
.popup-anim {
    animation: slideUp 0.4s ease-out forwards;
}

@keyframes slideUp {
    from {
        transform: translateY(120px);
        opacity: 0;
    }
    to {
        transform: translateY(0px);
        opacity: 1;
    }
}

/* Imagen */
.popup-contenido img {
    width: 320px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 18px;
}

/* Descripción larga */
.popup-descripcion {
    font-size: 14px;
    line-height: 1.4;
    color: #ccc;
    margin: 10px 0 20px 0;
}

/* Precio */
.popup-precio {
    font-size: 22px;
    font-weight: bold;
    color: #00ffcc;
    margin-bottom: 25px;
}

/* Botones */
.popup-botones {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.btn-carrito {
    background-color: #00ffcc;
    color: #000;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

.btn-carrito:hover {
    background-color: #17ccb1;
}

.btn-agregar-popup{
      background-color: #333;
    color: #fff;
    padding: 10px 18px;
    border: 1px solid #555;
    border-radius: 8px;
    cursor: pointer;
}


.btn-cerrar {
    background-color: #333;
    color: #fff;
    padding: 10px 18px;
    border: 1px solid #555;
    border-radius: 8px;
    cursor: pointer;
}

.btn-cerrar:hover {
    background-color: #444;
}
