/* carrusel.css - Estilos mejorados para el carrusel */

.promociones {
    text-align: center;
    margin: 50px auto;
    padding: 20px 0;
}

.promociones h2 {
    font-size: 2.5rem;
    color: var(--color-secundario);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.carrusel {
    position: relative;
    width: 90%;
    max-width: 1000px;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    
}

.carrusel-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carrusel-slide {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #fff;
    padding: 20px;
}

.carrusel-slide img {
    width: 100%;
    max-width: 600px;
    height: 600px;
    object-fit: cover;
    border-radius: 10px;
}

.carrusel-slide p {
    font-size: 1.2rem;
    margin: 10px 0;
    color: var(--color-primario);
    font-weight: 600;
}

.carrusel-texto {
    margin-top: 15px;
}

.carrusel-texto h2 {
    font-size: 1.8rem;
    color: var(--color-secundario);
    margin-bottom: 10px;
}

.carrusel-texto .precio {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-terciario);
    margin: 5px 0;
}

.carrusel-texto .precio-tachado{
    text-decoration: line-through;
    font-size: 1.5rem;
    font-weight: bold;
    color: #8f8f8f;
    margin: 5px 0;
}

.carrusel-texto .precio-descuento {
    font-size: 2rem;
    font-weight: bold;
    color: var(--color-terciario);
    margin: 5px 0;
}

.carrusel-prev, .carrusel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: rgb(219, 24, 24);
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1.5rem;
    transition: background 0.3s;
}

.carrusel-prev:hover, .carrusel-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.carrusel-prev {
    left: 10px;
}

.carrusel-next {
    right: 10px;
}


/* Carrusel responsive */
.btn-whatsapp {
    display: inline-block;
    background-color: #25D366;
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .btn-whatsapp:hover {
    background-color: #1ebd59;
    color: white;
    transform: scale(1.05);
  }
  .btn-whatsapp-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 40px;
    background-color: rgb(219, 24, 24);
    color: white;
    font-weight: 600;
    font-size: 15px;
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(18, 140, 126, 0.3);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  
  .btn-whatsapp-card:hover {
    background-color: rgb(172, 9, 9);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 30px rgba(18, 140, 126, 0.4);
    color: white;
  
  .btn-whatsapp-card:active {
    transform: scale(0.97);
  }
  
  .btn-whatsapp-card svg {
    width: 20px;
    height: 20px;
    fill: white;
  }
  
  }

  @media (max-width: 768px) {
    .carrusel {
      width: 100%;
      margin: 0 auto;
      border-radius: 0;
    }
  
    .carrusel-slide {
      padding: 10px;
    }
  
    .carrusel-slide img {
      width: 100%;
      max-width: 100%;
      height: 50%;
      border-radius: 10px;
    }
  
    .carrusel-texto h2 {
      font-size: 1.4rem;
    }
  
    .carrusel-texto p {
      font-size: 1rem;
    }
  
    .carrusel-prev,
    .carrusel-next {
      padding: 8px 10px;
      font-size: 1.2rem;
    }
  }
  