@import url('https://fonts.googleapis.com/css?family=Montserrat:400,600,700');
@import url('https://fonts.googleapis.com/css?family=Catamaran:400,800');
@import url('https://fonts.googleapis.com/css?family=Roboto:500');

main{
    padding-top: 180px;
}
:root {
    --jumbotron-padding-y: 3rem;
}

p {
  font-family: 'Raleway';
}

footer {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

footer p {
    margin-bottom: .25rem;
}

.box-shadow { 
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05); 
}

.footer {
    background-color: rgba(32,55,76,1);
}

.card-img-top {
    height: 15rem;
    object-fit: contain;
}

.card-img-carrusel {
  height: 10rem;
  object-fit: contain;
}

.section-title {
    margin-top: 2rem;
    border-bottom: 1px solid #dee2e6;
}

.row .col .card {
    min-height: 32rem;
}

.fondo-principal {
  background: linear-gradient(to bottom, #e3e6e6, #ffffff);
}

.navbar-nav .nav-link:hover {
  /* background-color: #949494; Cambia el color de fondo al pasar el cursor */
  color: #fff; /* Cambia el color del texto al pasar el cursor */
}

/*--------------------------------------------------------------
# misProductos
--------------------------------------------------------------*/
.btn-borrar {
  border: 1px solid #e5e5e5;
  transition: box-shadow 0.3s;
}

.btn-borrar:hover {
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
  background-color: rgba(255, 0, 0, 0.5);
}
.producto {
  text-align: center;
  position: relative;
  display: flex;
  justify-content: center;
}
.precio_baja {
  color: green
}

.precio_sube{
  color: red
}
.precio_anterior{
  text-decoration: line-through;
  font-size: 16px;
  color: gray;
}
.pic {
  width: 250px;
  height: 250px;
  overflow: hidden;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pic_detalle {
  overflow: hidden;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
.pic_detalle img, a {
  max-width: 100%;
  max-height: 100%;
  vertical-align: middle; /* Centra la imagen verticalmente */
}

.misProductos {
    position: relative;
  }
  
  
  .misProductos .producto {
    text-align: center;

    position: relative;
    display: flex;
    justify-content: center;
  }
  
  .misProductos .producto .pic {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    text-align: center;
    
  }
  .misProductos .producto .pic img {
    display: table-cell;
    vertical-align: middle;
    max-width: 200px;
    max-height: 200px;

  }
  


  .misProductos .producto h5 {
    font-weight: 500;

    font-size: 16px;
    color: #6c665c;
    position: relative;

    font-family: "Poppins", sans-serif;
  }
  
  /* .misProductos .producto h5::after {
    content: "";
    position: absolute;
    display: block;
    width: 50px;
    height: 1px;
    background: #ffcf88;
    bottom: 0;
    left: calc(50% - 25px);
  } */
  
  .misProductos .producto span {
    font-style: italic;
    display: block;
    font-size: 13px;
  }
  
  .misProductos .producto .social {
    margin-top: 15px;
  }
  
  .misProductos .producto .social a {
    transition: color 0.3s;
    color: #7a7368;
  }
  
  .misProductos .producto .social a:hover {
    color: #ffb03b;
  }
  
  .misProductos .producto .social i {
    font-size: 16px;
    margin: 0 2px;
  }

  .misProductos .producto-borrado {
    color: red;
  }

  #navbar-container {
    transition: transform 0.3s ease-in-out; /* Añade la transición suave para ocultarlo */
}

  /* .navbar {
    transition: top 0.4s; 
  } */
  
  .fa {
    color: white;
  }

  .btn-seguir-producto {
    margin-bottom: 80px;
    margin-right: 60px;
    display: flex; /* Utiliza flexbox para centrar el contenido */
    align-items: center; /* Centra verticalmente el contenido */
    justify-content: center; /* Centra horizontalmente el contenido */
    border-radius: 50%;
    padding: 15px;

  }
  
 /* ----------- TARJETAS AVISO ------- */
.aviso {
  display: flex;
  justify-content: end;
  position: fixed;
  top: 200px;
  right: 25px;
  z-index: 1000;
}

.aviso p {
  color: green;
  background-color: rgba(204, 230, 204, 1);
  padding: 18px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);

  opacity: 1; /* Opacidad inicial */
  transition: opacity 2s; /* velocidad transición */
}

.aviso span {
  cursor: pointer;
  position: absolute;
  top: 4px;
  right: 3px;
  font-size: 25px;
}

  /* Definimos una nueva clase 'text-truncate-custom' para establecer una longitud de caracteres específica */
.text-truncate-custom {
  display: -webkit-box;
  -webkit-line-clamp: 4; /* Número de líneas que queremos mostrar */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

  /* Estilos personalizados para la tarjeta */
  .card-registro {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 500px;
    margin: 0 auto; /* Centra la tarjeta horizontalmente */
  }

  .card-seguimiento {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 900px;
    margin: 0 auto; /* Centra la tarjeta horizontalmente */
  }

.oculto {
  display: none;
}

.resaltar {
  margin-top: 25px;
  margin-bottom: 25px;
  padding: 20px 20px 20px 20px;
  vertical-align: middle;
  background-color: #fefda9;
  border-width: 1px;
  border-style: solid;
  border-color: #e4e38f;
  color: #000000;
  border-radius: 3px;
  text-align: justify;
}

.resaltar-rojo {
  margin-top: 25px;
  margin-bottom: 25px;
  padding: 20px 20px 20px 20px;
  vertical-align: middle;
  background-color: #fea9a9;
  border-width: 1px;
  border-style: solid;
  border-color: #e4e38f;
  color: #000000;
  border-radius: 3px;
  text-align: justify;
}

.icono-prime {
  display: inline-block;
  width: 50px;
  height: 15px;
  background-image: url('../img/amazon_prime_icon.png');
  background-size: contain; 
  background-repeat: no-repeat;
}

.nav-decor img {
  max-width: 100px;
  max-height: auto;
  position: absolute;
  transform: translateY(-50%);
}

.nav-decor-left img {
  left: 5px;
}

.nav-decor-right img {
  right: 5px;
}

.novedades {
  position: absolute;
}


.seleccionado {
  font-weight: bold;
  color: green;
}

.errorlist {
  color: red;
}
  
  @media (min-width: 1024px) {
    .misProductos {
      background-attachment: fixed;
    }
  }

      /* Estilo personalizado para el contenedor de la tabla */
      .custom-table-container {
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
      }

      /* Estilo para la tabla */
      .custom-table {
        width: 100%;
        border-collapse: collapse;
        overflow: hidden;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
        text-align: center;
      }

      /* Estilo para el encabezado de la tabla */
      .custom-table thead {
        background-color: #f8f9fa; /* Color de fondo del encabezado */
      }

      /* Estilo para las celdas del encabezado */
      .custom-table th {
        padding: 15px;
        text-align: left;
        text-align: center;
      }

      /* Estilo para las filas impares */
      .custom-table tbody tr:nth-child(odd) {
        background-color: #f9f9f9; /* Color de fondo de las filas impares */
      }

      .custom-table tbody th {
        border-right: 1px solid #e9e7e7;
      }

      /* Estilo para las celdas de la tabla */
      .custom-table td {
        padding: 12px;
      }


  /* ----- CAROUSEL ------ */
  @media (max-width: 767px) {
    .carousel-inner .carousel-item > div {
        display: none;
    }
    .carousel-inner .carousel-item > div:first-child {
        display: block;
    }
}

.carousel-inner .carousel-item.active,
.carousel-inner .carousel-item-next,
.carousel-inner .carousel-item-prev {
    display: flex;
}

/* medium and up screens */
@media (min-width: 768px) {
    
    .carousel-inner .carousel-item-end.active,
    .carousel-inner .carousel-item-next {
      transform: translateX(25%);
    }
    
    .carousel-inner .carousel-item-start.active, 
    .carousel-inner .carousel-item-prev {
      transform: translateX(-25%);
    }
}

.carousel-inner .carousel-item-end,
.carousel-inner .carousel-item-start { 
  transform: translateX(0);
}

  /* ----- FIN CAROUSEL ------ */


.google-btn {
  width: 240px;
  height: 42px;
  background-color: #4285f4;
  border-radius: 2px;
  box-shadow: 0 3px 4px 0 rgba(0,0,0,.25);

  .google-icon-wrapper {
    position: absolute;
    margin-top: 1px;
    margin-left: 1px;
    width: 40px;
    height: 40px;
    border-radius: 2px;
    background-color: #fff;
  }
  .google-icon {
    position: absolute;
    margin-top: 11px;
    margin-left: 11px;
    width: 18px;
    height: 18px;
  }
  .btn-text {
    float: right;
    margin: 11px 11px 0 0;
    color: #fff;
    font-size: 14px;
    letter-spacing: 0.2px;
    font-family: "Roboto";
  }
  &:hover {
    box-shadow: 0 0 6px #4285f4;
  }
  &:active {
    background: #1669F2;
  }
}


  

  /* ERRORES */


.error-container {
  text-align: center;
  font-size: 180px;
  font-family: 'Catamaran', sans-serif;
  font-weight: 800;
  margin: 20px 15px;
}
.error-container > span {
  display: inline-block;
  line-height: 0.7;
  position: relative;
  color: #FFB485;
}
.error-container > span > span {
  display: inline-block;
  position: relative;
}
.error-container > span:nth-of-type(1) {
  perspective: 1000px;
  perspective-origin: 500% 50%;
  color: #F0E395;
}
.error-container > span:nth-of-type(1) > span {
  transform-origin: 50% 100% 0px;
  transform: rotateX(0);
  animation: easyoutelastic 8s infinite;
}

.error-container > span:nth-of-type(3) {
  perspective: none;
  perspective-origin: 50% 50%;
  color: #D15C95;
}
.error-container > span:nth-of-type(3) > span {
  transform-origin: 100% 100% 0px;
  transform: rotate(0deg);
  animation: rotatedrop 8s infinite;
}
@keyframes easyoutelastic {
  0% {
    transform: rotateX(0);
  }
  9% {
    transform: rotateX(210deg);
  }
  13% {
    transform: rotateX(150deg);
  }
  16% {
    transform: rotateX(200deg);
  }
  18% {
    transform: rotateX(170deg);
  }
  20% {
    transform: rotateX(180deg);
  }
  60% {
    transform: rotateX(180deg);
  }
  80% {
    transform: rotateX(0);
  }
  100% {
    transform: rotateX(0);
  }
}

@keyframes rotatedrop {
  0% {
    transform: rotate(0);
  }
  10% {
    transform: rotate(30deg);
  }
  15% {
    transform: rotate(90deg);
  }
  70% {
    transform: rotate(90deg);
  }
  80% {
    transform: rotate(0);
  }
  100% {
    transform: rotateX(0);
  }
}
  