body{
    background: #333;
}

.categorias {
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 2px solid #ccc;
    margin-top:30px;
}

.categorias button {
    padding: 10px 27px;
    background: white;
    border: 1px solid #ccc;
    border-bottom: none; 
    border-radius: 8px 8px 0 0;
    margin: 0;
    cursor: pointer;
    font-size: 16px;
    color: #333;
    transition: background-color 0.3s, color 0.3s;
}

.categorias button:hover {
    background:#310d2c;
    color:gold;
}

.categorias button.active {
    background: #fff;
    color: #000;
    border-bottom: 2px solid white; 
    font-weight: bold;
}










.containerProductos{
    display:flex;
    flex-wrap: wrap;
    gap:0;
    justify-content:center;
}
.producto{
    margin:0;
    background:#fff;
}

.cara1{ 
  width:270px;
  display:flex;
  flex-direction: column; 
  justify-content: center;
  align-items: center;
  height:330px;
}
.cara1:hover{
   background:#cdcdcd;
}
.cara1 img{
  width:250px;
  transition: transform 0.3s ease;
}
.cara1 img:hover{
  transform:scale(1.1);
}



.cara2{
  position:absolute;
  display:flex;
  background:#cdcdcd;
  z-index:1;
  width:270px;
  height:330px;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5);
}
.cabecera {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    border-bottom: 1px solid #ccc;
    position: relative;
}
.cabecera h3 {
    margin: 0;
    flex-grow: 1;
    text-align: center;
}
.cabecera button {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color:#310d2c;
    padding: 5px;
    transition: transform 0.3s ease;
}
.cabecera button:hover{
    transform: scale(1.5);
}

.beneficios{
    height:75%;
    overflow-y: auto;
}


.btn-green{
    padding:10px;
    color:white;
    background:green;
    border:none;
    border-radius:15px;
    transition: transform 0.3s ease;
    font-size:1rem;
    display:flex;
    margin:auto;
}
.btn-green:hover{
  transform:scale(1.1);
  background:rgb(123, 255, 0);
}


@media (max-width: 768px) {
    .cara1{ 
        width:210px; 
        height:250px;
    }
    .cara1 img{
        width:190px;
    }
    .cara1 h2{
      font-size: 1rem;
    }

    .cara2{
        width:210px;
        height:250px;
      }
      .beneficios{
        height:70%;
      }
}


/*utilizado en cafe civatino*/
.reducirImg{
    transform: scale(0.8); 
}
.subirTitulo{
    margin-top:-30px;
}