/* .nav-tabs {
  border-bottom: none;
} */

/* .nav-tabs .nav-link.active {
  color: #fff;
  background-color: #dc3545;
  border-color: #dee2e6 #dee2e6 #fff;
} */

body{
 /* <time> values */
transition-delay: 3s;
transition-delay: 2s, 4ms;

/* Global values */
transition-delay: inherit;
transition-delay: initial;
transition-delay: unset;
}


#nav-tab {
  margin-bottom: 2%;
}

.active {
  color: white !important;
  border-color: #dc3545 !important;
  background: #dc3545 !important;

}

#buy_it{
  font-size: 1vw;
}

#preciokilo:first-child{
  font-size: 1.0em;
}

#marcaDiv {
  top: -100px;
  position: relative;
}

#marco_marca {
  text-align: center;
  position:relative;
  left: 50%;
  transform: translateX(-50%);
  max-height: 7vh;
}

#central {
  height: 70vh;
  max-height: 70vh;
  overflow-y: hidden;
  overflow-x: hidden;
}
#barra_prod_carrito{
  position: absolute;
  background-color: #fff;
  opacity: 0.9;
  right: 1%;
  top: 5%;
  width: auto;
  height: 10%;
  z-index: 1001;
  padding: 8px;
  border:1px solid blank;
  border-radius: 6px;
  margin: auto;
  text-align: center;
}

#barra_prod_carrito img{
  height: 30%;
}
#panelPedido {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 5%;
  z-index: 1000;
  font-size: 15px;
}
.panel_info{
  max-height: 30vh;
  overflow-y: auto;
  overflow-x: hidden;
}
.panel_info {
  height: 30vh;
  max-height: 30vh;
  scrollbar-color: rgba(0, 0, 0, .5) rgba(0, 0, 0, 0);
  scrollbar-width: thin;
}
.card-text {
  text-align: justify !important;
}


.panel_info::-webkit-scrollbar,
#central::-webkit-scrollbar {
  -webkit-appearance: none;
}

.panel_info::-webkit-scrollbar:vertical,
#central::-webkit-scrollbar:vertical {
  width: 10px;
}


.panel_info::-webkit-scrollbar-button:increment,
#central::-webkit-scrollbar-button:increment {
  display: none;
}

.panel_info::-webkit-scrollbar:horizontal,
#central::-webkit-scrollbar:horizontal {
  height: 10px;
}

.panel_info::-webkit-scrollbar-thumb,
#central::-webkit-scrollbar-thumb {
  background-color: #797979;
  border-radius: 20px;
  border: 2px solid #f1f2f3;
}

.panel_info::-webkit-scrollbar-track,
#central::-webkit-scrollbar-track {
  border-radius: 10px;
}

.nav-tabs .nav-link {

  border: none;
}

.accordion-button:not(.collapsed) {
  color: black;
  font-weight: bolder;
  background: #dc3545;
  /* background: linear-gradient(90deg, rgba(220, 53, 69, 1) 0%, rgba(253, 29, 29, 0.8645833333333334) 52%, rgba(122, 122, 122, 1) 100%);
  box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color); */
}

.accordion-button:not(.collapsed)::after {
  background-image: var(--bs-accordion-btn-icon) !important;
  transform: var(--bs-accordion-btn-icon-transform);
}


#ean {
  text-align: center;
  margin-left: 26% !important;
}

.nutrientes {
  flex-basis: 100%;
  margin-left: 5%;
  margin-bottom: 10px;
  width: 90%;
  height: 10%;
  display: flex !important;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
}

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


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

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

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

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

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

.pulsate-fwd {
  -webkit-animation: pulsate-fwd 1s ease-in-out infinite both;
  animation: pulsate-fwd 1s ease-in-out infinite both;
}

.forbidden {
  background-image: url('../img/varios/forbidden.webp') !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  background-position: center !important;

}

#carrousel div {
  cursor: pointer;
}

.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;
}

.card {

  background-color: rgba(0, 0, 0, 0);
  border: none;
}

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

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

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

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

.scale-up-center {
  -webkit-animation: scale-up-center 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
  animation: scale-up-center 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}


@-webkit-keyframes scale-up-center {
  0% {
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes scale-up-center {
  0% {
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}


@-webkit-keyframes pulsate-fwd {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  50% {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes pulsate-fwd {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  50% {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}


@media (max-width: 600px) {
  #central {
    max-height: 66vh;
    overflow-y: auto;
    overflow-x: hidden;
  }


  #panel_body {
    position: fixed;
    top: 30px
  }

  #ean {
    margin-left: 0%;
  }
}


.hvr-rectangle-out {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  position: relative;
  background: #e1e1e1;
  -webkit-transition-property: color;
  transition-property: color;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
}

.hvr-rectangle-out:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #dc3545;
  -webkit-transform: scale(0);
  transform: scale(0);
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-duration: 0.4s;
  transition-duration: 0.4s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}

.hvr-rectangle-out:hover,
.hvr-rectangle-out:focus,
.hvr-rectangle-out:active {
  color: white;
}

.hvr-rectangle-out:hover:before,
.hvr-rectangle-out:focus:before,
.hvr-rectangle-out:active:before {
  -webkit-transform: scale(1);
  transform: scale(1);
}

/* anim */

#product_anim{
  opacity: 1;
  left: 51%;
  top:60%;
  max-width: 70px;
}

@media (max-width: 992px) {
  #panelPedido {
    top:4%;
  }
  #central {
    height: 68vh;
    max-height: 68vh;
    overflow-y: auto;
    overflow-x: hidden;
  }

  #main_img{
    object-fit: scale-down !important;
    width: 75% !important;
    height: 75% !important;
  }

  #marcaDiv {
    scale: 0.8;
  }
  #ean {
    text-align: center;
    margin-left: 0% !important;
  }
}
@media (max-width: 767px) {
  #panelPedido {
    top: 2%;
    max-height: 97%;
    height: 97%;
  }

  

  #central {
    height: 65vh;
    max-height: 65vh;
    overflow-y: auto;
    overflow-x: hidden;
  }
  
  #marcaDiv {
    top: -85px;
    position: relative;
    scale: 0.8;
  }
}
@media (max-width: 580px) {
  #central {
    height: 65vh;
    max-height: 65vh;
    overflow-y: auto;
    overflow-x: hidden;
  }
  
  #marcaDiv {
    top: -85px;
    position: relative;
    scale: 0.8;
  }
}
@media (max-width: 385px) {
  #central {
    height: 63vh;
    max-height: 63vh;
    overflow-y: auto;
    overflow-x: hidden;
  }
  
  #marcaDiv {
    top: -75px;
    position: relative;
    scale: 0.8;
  }
}
@media (max-width: 350px) {
  #central {
    height: 52vh;
    max-height: 52vh;
    overflow-y: auto;
    overflow-x: hidden;
  }
  
  #marcaDiv {
    top: -75px;
    position: relative;
    scale: 0.8;
  }
}

/* TODO : JUSTIFICAR TEXTOS && COLOR ACTIVO ACORDEON */