@charset "UTF-8";
.whiteroom__search-products {
  position: fixed;
  z-index: 30;
  top: 0;
  left: -100%;
  bottom: 0;
  width: 320px;
  padding: 1rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 0.5rem;
  height: 100vh;
  overflow-y: scroll;
  overscroll-behavior-y: auto;
  -ms-scroll-snap-type: y proximity;
      scroll-snap-type: y proximity;
  background-color: #FFFFFF;
  /* Ponemos un color de fondo y redondeamos las esquinas del thumb */
  /* Cambiamos el fondo y agregamos una sombra cuando esté en hover */
  /* Cambiamos el fondo cuando esté en active */
  /* Ponemos un color de fondo y redondeamos las esquinas del track */
  /* Cambiamos el fondo cuando esté en active o hover */
  -webkit-animation-name: showNodeLateral;
          animation-name: showNodeLateral;
  -webkit-animation-timing-function: cubic-bezier(0.47, 0.01, 0.55, 0.99);
          animation-timing-function: cubic-bezier(0.47, 0.01, 0.55, 0.99);
  -webkit-animation-iteration-count: 1;
          animation-iteration-count: 1;
  -webkit-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
  -webkit-animation-duration: 1s;
          animation-duration: 1s;
}
.whiteroom__search-products::-webkit-scrollbar {
  width: 8px;
  height: 4px;
}
.whiteroom__search-products::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 5rem;
  opacity: 0.5;
}
.whiteroom__search-products::-webkit-scrollbar-thumb:hover {
  background: #f5f5f5;
  -webkit-box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.2);
          box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.2);
}
.whiteroom__search-products::-webkit-scrollbar-thumb:active {
  background-color: #999999;
}
.whiteroom__search-products::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 4px;
}
.whiteroom__search-products::-webkit-scrollbar-track:hover, .whiteroom__search-products::-webkit-scrollbar-track:active {
  background: transparent;
}
@-webkit-keyframes showNodeLateral {
  0% {
    left: -100%;
  }
  100% {
    left: 0;
  }
}
@keyframes showNodeLateral {
  0% {
    left: -100%;
  }
  100% {
    left: 0;
  }
}
.whiteroom__search-products-back {
  width: 100%;
  height: auto;
  padding: 0.5rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.whiteroom__search-products-back-button {
  width: auto;
  height: auto;
  border: none;
  padding: 0.25rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  outline: none;
  background-color: transparent;
  -webkit-transition: all 0.05s linear;
  transition: all 0.05s linear;
}
.whiteroom__search-products-back-button:focus, .whiteroom__search-products-back-button:hover {
  outline: none;
  background-color: transparent;
}
.whiteroom__search-products-back-button:focus {
  -webkit-transform: scale(0.9);
          transform: scale(0.9);
}
.whiteroom__search-products-back-button svg {
  display: inline-block;
  width: 1.5rem;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  pointer-events: none;
}
.whiteroom__search-products-text {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  border-radius: 0.25rem;
  padding: 0.5rem;
  background-color: #FFFFFF;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  font-family: "Inter", sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: #1b1b1b;
}
.whiteroom__search-products-text-p {
  margin: 0;
  padding: 0;
}
.whiteroom__search-products-empty {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 1rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 0.25rem;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-family: "Inter", sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: #1b1b1b;
}
.whiteroom__search-products-empty svg {
  width: 4rem;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  display: inline-block;
  fill: #1a1a1a;
}
.whiteroom__search-products-empty-p {
  text-align: center;
}
.whiteroom__search-products-product {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  border: solid 0.1rem #dfdfdf;
  border-radius: 0.35rem;
  padding: 1rem;
  background-color: #FFFFFF;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.whiteroom__search-products-product:hover {
  background-color: #f3f3f3;
}
.whiteroom__search-products-product-content {
  position: relative;
  z-index: 1;
  width: 80%;
  height: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 1rem;
  outline: none;
}
.whiteroom__search-products-product-content:focus {
  outline: none;
}
.whiteroom__search-products-product-content-image {
  width: 100px;
  height: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.whiteroom__search-products-product-content-image img {
  width: 100%;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  display: inline-block;
}
.whiteroom__search-products-product-content-info {
  width: 100%;
  height: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 0.5rem;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  color: #000000;
}
.whiteroom__search-products-product-content-info p {
  margin: 0;
  padding: 0;
}
.whiteroom__search-products-product-content-info-name {
  font-size: 1.3rem;
}
.whiteroom__search-products-product-content-info-quantity {
  font-size: 1.2rem;
  color: #adadad;
}
@media (min-width: 1200px) {
  .whiteroom__search-products {
    width: 20vw;
    padding: 1vw;
    gap: 0.5vw;
  }
  .whiteroom__search-products-back {
    padding: 0.5vw;
  }
  .whiteroom__search-products-back-button {
    padding: 0.25vw;
  }
  .whiteroom__search-products-back-button svg {
    display: inline-block;
    width: 1vw;
    height: auto;
    -o-object-fit: contain;
       object-fit: contain;
  }
  .whiteroom__search-products-text {
    border-radius: 0.25vw;
    padding: 0.5vw;
    font-size: 1vw;
  }
  .whiteroom__search-products-empty {
    padding: 0.5vw;
    gap: 0.25vw;
    font-size: 0.8vw;
  }
  .whiteroom__search-products-empty svg {
    width: 4vw;
  }
  .whiteroom__search-products-product {
    border: 0.2vw solid #dfdfdf;
    border-radius: 0.35vw;
    padding: 0.5vw;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
  }
  .whiteroom__search-products-product:hover {
    background-color: #f3f3f3;
  }
  .whiteroom__search-products-product-content {
    gap: 0.5vw;
  }
  .whiteroom__search-products-product-content-image {
    width: 5vw;
  }
  .whiteroom__search-products-product-content-image img {
    width: 100%;
    height: auto;
    -o-object-fit: contain;
       object-fit: contain;
    display: inline-block;
  }
  .whiteroom__search-products-product-content-info {
    gap: 0.25vw;
  }
  .whiteroom__search-products-product-content-info p {
    margin: 0;
    padding: 0;
  }
  .whiteroom__search-products-product-content-info-name {
    font-size: 0.8vw;
  }
  .whiteroom__search-products-product-content-info-quantity {
    font-size: 0.7vw;
    color: #adadad;
  }
}