@import "tailwindcss";

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&family=Poetsen+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&family=Poetsen+One&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@font-face {
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 200 700;
    font-display: swap;
    src: url("https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&family=Poetsen+One&display=swap") format("woff2");
  }

  .poetsen-one-regular {
    font-family: "Poetsen One", sans-serif;
    font-weight: 400;
    font-style: normal;
  }
  
  :root{
    font-family: Manrope;
  }
  .icon-cart{
    width: 40px;
    height: 40px;
    stroke: #000;
}

.video-container {
      max-width: 800px;
      margin: 20px auto;
      padding: 0 15px;
    }

    video {
      width: 100%;
      height: auto;
      display: block;
      border-radius: 10px;
    }

#slider > div {
  flex-shrink: 0;
  width: 100%;
}
.icon-cart:hover{
  cursor: pointer;
}

.container-icon{
  position: relative;
}

.count-products{
  position: absolute;
  top: 55%;
  right: 0;

  background-color: #000;
  color: #fff;
  width: 25px;
  height: 25px;

  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}

#contador-productos{
  font-size: 12px;
}

.container-cart-products{
  position: absolute;
  top: 50px;
  right: 0;

  background-color: #fff;
  width: 400px;
  z-index: 1;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.20);
  border-radius: 10px;
  
}

.cart-product{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px;

  border-bottom: 1px solid rgba(0, 0, 0, 0.20);

}

.info-cart-product{
  display: flex;
  justify-content: space-between;
  flex: 0.8;
}

.titulo-producto-carrito{
  font-size: 20px;
}

.precio-producto-carrito{
  font-weight: 700;
  font-size: 20px;
  margin-left: 10px;
}

.cantidad-producto-carrito{
  font-weight: 400;
  font-size: 20px;
}

.icon-close{
  width: 25px;
  height: 25px;
}

.icon-close:hover{
  stroke: red;
  cursor: pointer;
}

.cart-total{
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
  gap: 20px;
}

.cart-total h3{
  font-size: 20px;
  font-weight: 700;
}

.total-pagar{
  font-size: 20px;
  font-weight: 900;
}

.hidden-cart{
  display: none;
}

.row-product {
  max-height: 300px;
  overflow-y: auto;
}

.descripcion-producto {
  max-height: 100px;        /* Altura máxima visible */
  overflow-y: auto;         /* Habilita scroll solo vertical */
  display: block;           /* Necesario para que funcione en <span> */
  padding-right: 5px;       /* Para evitar que el scroll tape el texto */
}

/* Opcional: estilo para la barra de scroll */
.descripcion-producto::-webkit-scrollbar {
  width: 4px;
}
.descripcion-producto::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 5px;
}
