.chewy-regular {
    font-family: "Chewy", system-ui;
    font-weight: 400;
    font-style: normal;
  }

  .sour-gummy-sour {
    font-family: "Sour Gummy", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-variation-settings:
      "width" 100;
  }
  
  html, body {
  width: 100%;
  overflow-x: hidden;
}

*{
    font-family:  "Sour Gummy", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.barra-navegacion{
    position:fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}
.barra_buscador {
  margin: auto ;
  width: 100%;
  max-width: 500px; 
  position: relative;
  justify-content: center;
}

.barra_buscador input.form-control {
  width: 100%;
  padding-left: 2.5rem; 
}

.buscador-icon {
  position: absolute;
  top: 50%;
  left: 10px;   
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 5;
}
.navbar-collapse {
  z-index: 1050;

}

.marquee-wrapper {
  width: 100%;
  overflow-x: hidden;
  background-color: #f3f3f3;
  border-top: 2px solid #ccc;
  border-bottom: 2px solid #ccc;
  padding: 10px 0;
  white-space: nowrap;
  position: relative;
  z-index: 500;
}


.marquee-content {
  display: inline-block;
  white-space: nowrap;
  animation: scroll-left 30s linear infinite;
  overflow-x: hidden;
  padding-left: 100%;
}

.marquee-content span {
  display: inline-block;
  margin-right: 3rem;
  font-weight: bold;
  color: #a20505;
  font-size: 1.5rem;
}

#suggestions-box {
  z-index: 9999 !important; 
  width: 100%;
  max-height: 200px;
  overflow-y: auto;
  background-color: white;

  position: absolute;
  top: 100%; 
  left: 0;
  box-shadow: 0px 4px 6px rgba(0,0,0,0.1);
}


.suggestion-item {
  padding: 10px;
  cursor: pointer;
}

.suggestion-item:hover {
  background-color: #f0f0f0;
}

/* Animación */
@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

@media (max-width: 991.98px) {
     .navbar .container-fluid {
        flex-wrap: nowrap; 
        justify-content: space-between; 
        align-items: center; 
    }


 
    .barra_buscador {
      
        flex-grow: 1; 
        max-width: 250px; 
        margin: auto; 
    }

    .navbar-nav.mx-5 {

        margin-right: 0.5rem !important; 
    }

   
    .navbar-collapse {
    position: absolute;
    top: 100%; 
    left: 0; 
    width: 100%; 
    padding-left: 1rem;
}
}

@media (min-width: 992px) and (max-width: 1019px) {
    .barra_buscador {
     
        max-width: 450px; 
        flex-grow: 0; 
        margin: auto;
    }

   
    .navbar-nav.ms-3 {
        margin-left: 0.5rem !important;
    }
}

  
.navbar-brand {
    flex-shrink: 0; 

}

.barra{
    font-size: 25px;
    height: 5rem;
}

.barra_cat{
    background-color: rgb(231, 231, 231);
    right: 0;
    top: 10rem;
    height:auto ;
    overflow-x: hidden;
}


.item-categ:hover{
  background-color: rgb(193, 191, 191);
  font-size: larger;
  transition: 0.5s ease-in-out;
}

.active-category{
  text-decoration: underline;
  font-weight: bold;
  background-color: rgb(211, 211, 211);
  color:#a20505 ;
}

.lema{
    margin-top: 10rem;

}
.img-principal{
    margin-left: 30rem;
}

.card-product {
    height: 100%;
  display: flex;
  flex-direction: column;
  margin: 10px 0;
  justify-content: space-between;
}

.card-product img {
  height: 300px;
  object-fit: cover;  
  width: 100%;
}

.card-product-detl {
 height: 100%;
  display: flex;
  flex-direction: column;
}

.card-product-detl img {
  height: 300px;
  object-fit: cover; 
}

.imagen-princ img{
    width: 100%;
    object-fit: cover;
    margin: auto 1rem;
    overflow: hidden;
}

.imagen-sec {
    width: 20rem;
    height: 20rem;
    object-fit: cover;
    overflow: hidden;
    margin: 1rem auto;
}

.detalle_receta{
  margin-top: 8rem;
}


.toast-aviso {
  position: fixed;
  top: 50px;
  right: 80px;
  background-color: #c53232f5;
  color: white;
  padding: 15px 20px;
  border-radius: 5px;
  z-index: 9999;
  font-size: 16px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  animation: fadein 0.3s ease, fadeout 0.5s ease 4.5s;
}

@keyframes fadein {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeout {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(20px); }
}

.comentarios-scroll {
  max-height: 300px;
  overflow-y: scroll;
  background-color: #fff;
}
 .preview-img {
            max-width: 150px;
            display: block;
            margin-top: 10px;
        }




.navbar-nav .nav-link {
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: #a20505;
  font-weight: bold;
}

  

.card-product {
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.card-product:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}
.card-product .btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-product .btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.login {
  color: #a20505;
  padding: 6px 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: rgba(218, 218, 218, 0.73);
}

.login:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}