body{
  height: 100dvh !important;
}

header {
  height: 76px;
  z-index: 999 !important;
}

footer{
  height: 35px !important;
}

.logo {
  width: 256px !important;
}

.aside-menu {
  height: calc(100vh - 76px);
  overflow-y: auto;
  overflow-x: hidden;
}

#orderPanel{
  min-height: calc(100vh - (225px));
}

.subMenu {
  font-size: 1.2em !important;
  font-weight: normal;
}

.cursor-pointer {
  cursor: pointer;
}

.vertical-align-middle {
  vertical-align: middle;
}

.product-card {
  min-width: 200px;
  /* width: auto; */
  height: fit-content !important;

}

#carouselBanner{
  background: #212529 !important;
}

.carousel-item {
  transition: transform 1.3s ease-in-out !important;
}

.carousel-fade .active.carousel-item-start,
.carousel-fade .active.carousel-item-end {
  transition: opacity 0s 1.3s !important;
}

.carousel-inner img {
  display: flex!important;
  text-align: center !important;
  margin: 0 auto !important;
  /* width: auto !important; */
  /* height: 40vh!important; */
  background: transparent !important;
}

@media (max-width:660px) {
  .carousel-inner img {
    display: flex!important;
    height: 20vh!important;
    text-align: center !important;
  }
}

/* @media (max-width: 778px) {


  header {
    height: 126px;
  }

  .aside-menu {
    height: calc(100vh - 126px);
  }
  

  /* #navbar {
    justify-content: center !important;
  }

  #navbar>a {
    justify-content: center !important;
  }
} */ 

/* ===== Scrollbar CSS ===== */
/* Firefox */
* {
  scrollbar-width: auto;
  scrollbar-color: #212529 #ffffff;
}

/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
  width: none;
}

*::-webkit-scrollbar-track {
  background: #ffffff;
}

*::-webkit-scrollbar-thumb {
  background-color: #212529;
  border-radius: 10px;
  border: 3px solid #ffffff;
}

/* ===== Scrollbar CSS ===== */
/* Firefox */
.aside-menu, #panelUser {
  scrollbar-width: none;
  scrollbar-color: #4d4d4d #ffffff;
}

/* Chrome, Edge, and Safari */
.aside-menu::-webkit-scrollbar, #panelUser::-webkit-scrollbar {
  width: 0px;
}

.aside-menu::-webkit-scrollbar-track, #panelUser::-webkit-scrollbar-track {
  background: #ffffff;
}

.aside-menu::-webkit-scrollbar-thumb, #panelUser::-webkit-scrollbar-thumb {
  background-color: #4d4d4d;
  border-radius: 0px;
  border: 0px solid #ffffff;
}

#searchNav {
  outline: none !important;

}

.accordion-button:is(.collapsed)::after {
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !important;    
}
.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !important;    
}


@media (max-width: 526px) {
  header {
    height: 185px !important;
  }

  .aside-menu {
    height: calc(100vh - 185px) !important;
  }

}

@media (max-width: 1052px) {
  #navbar {
    justify-content: center !important;
  }
  #menu-logo{
    margin-inline-end: auto !important;
  }

  header {
    height: 120px;
  }

  .aside-menu {
    height: calc(100vh - 120px);
  }

}

/* PRODUCT CSS*/

.preview {
  max-width: 50% !important;
}

.text-justify {
  text-align: justify;
}

.nutrientes p {
  margin-top: 100% !important;
  text-align: center !important;
  color: white !important;
  font-weight: bold;
}

.divcalorias {
  background-image: url('../src/img/valor_nutricional_energía_vacio.png');
  background-repeat: no-repeat;
  background-size: 80px, 120px;
  min-height: 120px;
  min-width: 80px;
}

.divproteinas {
  background-image: url('../src/img/valor_nutricional_proteinas_vacio.png');
  background-repeat: no-repeat;
  background-size: 80px, 120px;
  min-height: 120px;
  min-width: 80px;
}

.divgrasas {
  background-image: url('../src/img/valor_nutricional_grasas_vacio.png');
  background-repeat: no-repeat;
  background-size: 80px, 120px;
  min-height: 120px;
  min-width: 80px;
}

.divsatu {
  background-image: url('../src/img/valor_nutricional_saturadas_vacio.png');
  background-repeat: no-repeat;
  background-size: 80px, 120px;
  min-height: 120px;
  min-width: 80px;
}

.divhidratos {
  background-image: url('../src/img/valor_nutricional_hidratos_vacio.png');
  background-repeat: no-repeat;
  background-size: 80px, 120px;
  min-height: 120px;
  min-width: 80px;
}



#product_list img {

  width: 50px;

}

/* CART */

.oculto {
  opacity: 0;
  transition: opacity 0.5s ease-out;
}

.aparece {
  opacity: 1 !important;
  transition: opacity 0.5s ease-in;
}

/* ASIDE MENU */
.color-effect:hover{
  color: rgb(201, 88, 88);
  transition: color 0.5s ease-in-out;
}
.color-effect{
  color: rgb(255, 255, 255);
  transition: color 0.5s ease-in-out;
}

#asideNavButton{
  transition: transform 0.7s ease-in-out;
}
#asideNavButton:hover{
  color: #4d4d4d !important;
  transform: rotate(180deg) !important;
}

#asideMenu {
  z-index: 900 !important;
  opacity: 0.9 !important;
}

#asideMenu:hover {
  opacity: 1 !important;
}

.text-align-last{
  text-align-last: justify;
}

.fade-in-left {
  -webkit-animation: fade-in-left 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
  animation: fade-in-left 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}

.fade-out-left {
  -webkit-animation: fade-out-left .7s cubic-bezier(.25, .46, .45, .94) both;
  animation: fade-out-left .7s cubic-bezier(.25, .46, .45, .94) both
}

@-webkit-keyframes fade-out-left {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1
  }

  100% {
    -webkit-transform: translateX(-4000px);
    transform: translateX(-400px);
    opacity: 0
  }
}

@keyframes fade-out-left {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1
  }

  100% {
    -webkit-transform: translateX(-400px);
    transform: translateX(-400px);
    opacity: 0
  }
}

@-webkit-keyframes fade-in-left {
  0% {
    -webkit-transform: translateX(-400px);
    transform: translateX(-400px);
    opacity: 0;
  }

  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fade-in-left {
  0% {
    -webkit-transform: translateX(-400px);
    transform: translateX(-400px);
    opacity: 0;
  }

  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
}

@media (max-width: 767px) {
  .preview {
    max-width: 100% !important;
  }
  #asideMenu {
    z-index: 900 !important;
    opacity: 1 !important;
  }

}


/* Cookies */

.slide-in-bottom {
	-webkit-animation: slide-in-bottom 0.7s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
	        animation: slide-in-bottom 0.7s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

@-webkit-keyframes slide-in-bottom {
  0% {
    -webkit-transform: translateY(1000px);
            transform: translateY(1000px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
}
@keyframes slide-in-bottom {
  0% {
    -webkit-transform: translateY(1000px);
            transform: translateY(1000px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
}


#imgCookie{
  width: 54px !important;
  height: 54px !important;
}

/* NAVBAR  */
#cart{
  background-image: url(../src/img/cart.png) ;
  background-size: 100% 80%;
  background-position: center;
  background-repeat: no-repeat;
  color: transparent !important;
}
#cart:hover{
  background-image: url(../src/img/cart_hover.png) ;
}

@media (max-width: 1054px) {
  #navbar {
    justify-content: center !important;
  }

  #menu-logo {
    margin-inline-end: auto !important;
  }

  header {
    height: 86px;
  }
}

@media (max-width: 778px) {
  header {
    height: 86px;
  }

  #navbar {
    justify-content: center !important;
  }

  #navbar > a {
    justify-content: center !important;
  }
}

@media (max-width: 526px) {
  header {
    height: 86px !important;
  }
}
@media (max-width: 362px) {
  .nav-margin {
    width: 20% !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
  }
  #menu-logo {
    margin-right: 20px !important;
  }
}
.nav-margin {
  margin-right: 1.5rem !important;
}
.nav-cum {
  color: #000000 !important;
}
@media (max-width: 760px) {
  .usu {
    font-size: 0.8rem !important;
  }
}
@media (max-width: 330px) {
  .margin-nav-bar {
    margin-right: 1rem!important;
    margin-left: -1rem!important;
  }
}
.hei {
  height: 40px !important;
}
@media (max-width: 760px) {
  .usu {
    font-size: 0.8rem !important;
  }
}
@media (max-width: 330px) {
  .margin-nav-bar {
    margin-right: 1rem!important;
    margin-left: -1rem!important;
  }
}
