body {
  padding-top: 105px; /* Esto porque el head y menú de categorías tienen posición fixed en el top */
}

/* Botón Whatsapp en el modal */
  .whatsapp-container {
      display: flex;
      align-items: center;
      gap: 10px;
      background-color: #f0f0f0;
      padding: 10px 15px;
      border-radius: 8px;
      font-size: 16px;
      font-weight: bold;
      color: #333;
      box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
      max-width: 300px;
  }

  .whatsapp-button img {
      width: 30px;
      height: 30px;
      transition: transform 0.2s ease-in-out;
  }

  .whatsapp-button:hover img {
      transform: scale(1.2);
  }

/* */


/* Botón Whatsapp.  Luis */
.container-boton{
  background-color: #2e6329;
  border: 1px solid #fff;
  position: fixed;
  z-index: 999;
  border-radius: 50%;
  bottom: 20px;
  right: 25px;
  padding: 10px;
  transition: ease 0.3s;
  animation: efecto 1.2s infinite;
}

.container-boton:hover{
  transform: scale(1.1);
  transition: 0.3s;
}

.boton{
  width: 35px;
  transition: ease 1s;
}

@keyframes efecto{
  0%{
      box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.85);
  }
  100%{
      box-shadow: 0 0 0 25px rgba(0, 0, 0, 0);
  }
}

/* Para que el toaster no se vea traslucido */
#toast-container > div {
  opacity: 1;
  -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  filter: alpha(opacity=100);
}

#atributoprecio {
  margin-bottom: 5px;
}

.navbar-default .navbar-nav > li > a {
  color: black;
  font-weight: 600;
}

#divBuscar {
  position: fixed;
  z-index: 1049; /* para que no se coloque sobre el modal.  z-index del modal es 1050 */
  top: 10px;
  margin-left: 35vw;
  width: 30vw;
}

#totalItems {
  position: absolute;
  margin-left: -20px;
  margin-top: -10px;
  background-color: red;
  color: white;
}

/* Header */

/*Modal Detalle Producto*/
.modal-lg {
  width: 95% !important;
}


/*#####################
Additional Styles (required)
#####################*/

.carouselProductos {
  margin-bottom: 80px;
}

.carouselProductos .carousel-inner img {
  max-height: 50vh;
  max-width: 100%;
}

.carouselProductos .carousel-indicators {
  width: 100%;
  position: sticky;
}

.carouselProductos .carousel-indicators li {
  border: medium none;
  border-radius: 0;
  float: left;
  height: 45px;
  margin-bottom: 5px;
  margin-left: 0;
  margin-right: 5px !important;
  margin-top: 0;
  width: 65px;
}

.carouselProductos .carousel-indicators img {
  border: 2px solid beige;
  float: left;
  height: 45px;
  left: 0;
  width: 65px;
  padding: 2px;
}
.carouselProductos .carousel-indicators .active img {
  border: 2px solid #39b3d7;
}

/* Para que no se deje un márgen antes de las imagenes del carrusel.  */
.navbar {
  margin-bottom: 0px;
}

header {
  background-color: #2286c3;
  color: white;
  height: 53px;
}

header a {
  text-decoration: none;
}

header a:hover {
  text-decoration: none;
}

header a:link {
  text-decoration: none;
}

header a:visited {
  text-decoration: none;
}

header a:active {
  text-decoration: none;
}

#logo img {
  height: 53px;
  /*width: 53px;*/
  padding: 0.5vh;
}

#nombreEmpresa {
  font-weight: bold;
  font-size: larger;
  color: white;
}

/*Menú cabecera*/

#menuHeader {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 53px;
}

.iconoHeader {
  margin-left: 1.5vw;
}
.iconoHeader a {
  color: white;
  text-decoration: none;
}

#menuHeader img {
  width: 24px;
  height: 24px;
}

/* Botón de Inicio de Sesión */
.btn-inicio {
  border-color: #39b3d7;
}

.btn-inicio:hover,
.btn-inicio:focus,
.btn-inicio:active,
.btn-inicio.active,
.open .dropdown-toggle.btn-inicio {
  color: #ffffff;
  background-color: #39b3d7;
  border-color: #39b3d7;
}

.btn-group-vertical > .btn,
.btn-group > .btn {
  background-color: #2286c3;
}

/*Productos*/
#divProductos {
  background-color: #eee;
  padding: 5px;
}

#itemsMenu {
  display: flex;
  flex-wrap: wrap;
}

#items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.item {
  margin: 3px;
}

.cursorPointer {
  cursor: pointer;
}

.thumbnail > a > img {
  height: 150px;
}

.item a {
  text-decoration: none;
  color: black;
}

.precioTachado {
  margin-right: 15px;
  text-decoration: line-through;
}

/*Carousel*/
.carousel .item {
  /*height: 400px;*/
  height: auto; 
}

/*.imgSlider {*/
/*  position: absolute;*/
/*  top: 0;*/
/*  left: 0;*/
/*  width: 100%;*/
/*  height: 100%;*/
/*}*/

.imgSlider {
    max-width: 100%; /* La imagen no excederá el ancho de su contenedor */
    height: auto; /* La altura se ajustará automáticamente para mantener la proporción original de la imágen */
}

.btnLinkSlide {
  color: white !important;
}

.rojo {
  color: red;
}

/* Para los iconos de Material Design */
.material-icons.md-16 {
  font-size: 16px;
}
.material-icons.md-18 {
  font-size: 18px;
}
.material-icons.md-24 {
  font-size: 24px;
}
.material-icons.md-30 {
  font-size: 30px;
}
.material-icons.md-36 {
  font-size: 36px;
}

/* Para smartphones */
@media (max-width: 768px) {
  .container-fluid {
    padding-right: 0px;
    padding-left: 0px;
  }

  .iconoHeader {
    margin-left: 2vh;
  }

  /* Para adaptar la ima*/
  .imgSlider {
    /*object-fit: cover;*/
  }

  .carousel .item {
    /*height: 200px;*/
    height: auto; /* La altura se ajustará automáticamente para mantener la proporción original */
  }

  /* En el Nav */
  /* #divBuscar {
    position: fixed;
    z-index: 1049;
    top: 9vh;
    margin-left: 1vw;
    width: 70vw;
  } */

  /* En el Header*/
  #divBuscar {
    margin-left: 15vw;
    width: 55vw;
  }

  /* Bajo los iconos al nav */
  #iconoWhatsapp {
    position: absolute;
    top: 65px;
    margin-right: 100px;
  }

  #iconoContacto {
    position: absolute;
    top: 65px;
    margin-right: 60px;
  }

  #iconoContacto a {
    color: black;
  }

  /* #iconoUsuario {
    position: absolute;
    top: 65px;
    margin-left: -65px;
  }

  #iconoUsuario a {
    color: black;
  } */

  /* Para dar menos márgen en el head*/
  .col-md-5,
  .col-sm-5,
  .col-md-7,
  .col-sm-7 {
    padding-right: 5px;
    padding-left: 5px;
  }
}
