/*Estilos del modal del producto*******************************/

/*desactiva las flechas de los input number*/
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}
/*desactiva las flechas de los input number*/

.disable-select {
    user-select: none; /* supported by Chrome and Opera */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
}

#info-product-container{
    position: absolute;
   
  }
  
  .o-modal-product{
    width: 90vw;
    height: 80%;
    background-color: white;
    border-radius: .3rem;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    pointer-events: auto;
  }
  
  #o-close-button{
    height: 5%; 
    width: 2.5rem;  
    justify-content: flex-end;
    align-items: center;
    text-align: right;
  }
  
  #info-product-data-container{
    height: 90%;
    width: 90%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
  }
  
  #charge-panel-product{
    height: 90%;
    width: 100%;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  
  #o-image-product{
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  #o-image-product-container{
    height: 35%;
    width: 100%;
    display: flex;
    justify-content: start;
    align-items: flex-end;
  }

  #panel-ultima-compra{
    position: absolute;
    margin: .5rem 1rem;
    font-size: .55rem;
    text-shadow: 1px 1px 1px white;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .o-info-product{
    width: 90%;
    height: 65%;
  }
  
  #o-product-name{
    /*height: 58px;*/
    margin: 0;
    font-size: 2.4vh;
    -webkit-line-clamp: 3;
    overflow : hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
  }
  
  #data-product-container{
    width: 100%;
    height: 35%;
    
    padding: 0 1.3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  #description-container{
    width: 100%;
    height: 35%;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    /* align-items: center;
    justify-content: center; */
    overflow: auto;
    border: 1px solid gray;
    font-size: 0.7rem;
  }
  
  .o-label-text-container{
    width: 100%;
    height: 14%;
    display: flex;
    align-items: center;
    justify-content: space-around;
  }
  
  .o-data-text{
    font-size: .6rem;
    white-space: nowrap;
    overflow: hidden;
    margin: 0;
    padding: 0;
    text-align: left;
  }
  
  .o-tittle-text{
    width: 60%;
    height: 100%;
  }
  
  .o-label-text{
    width: 30%;
    height: 100%;
  }
  
  .o-price-container{
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 8%;
  }
  
  .o-price-label{
    width: 45%;
    height: 100%;
  }
  
  .o-price{
    width: 55%;
    height: 100%;
  }
  
  .o-price-text{
  font-size: 2.1vh;
  }
  
  #add-to-cart-container{
    width: 100%;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-top: 5px;
  }
  
  .o-quatity-container {
    height: 100%;
    width: 45%;
    display: flex;
    align-items: center;
    flex-direction: row;
  }
  
  .o-quantity-modifier{
    height: 2rem;
    width: 2rem;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: auto;
    touch-action: auto;
  }
  
  #quatity-count{
    width: 3.5rem;
    height: 2rem;
    text-align: center;
    border: none;
  }
  
  #add-to-cart-button{
    width: 50%;
    height: 2rem;
    font-size: 2vh;
    background-color: #f58634;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  #discount-container{
    position: absolute;
    height: 2.5rem;
    width: 3rem;
    color: white;
    justify-self: start;
    border-radius: 0 0 10px 10px;
    background-color: rgb(187, 0, 0);
    margin-right: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: normal;
    font-style: italic;
    font-size: .8rem;
  }
  


  /*********PROVISIONAL MEDIA QUERY*********/
@media only screen and (orientation: landscape) and (max-width: 1000px) {
  /*@media screen and (orientation:landscape){*/
  #info-product-data-container{
    flex-direction: row;
  }

  #o-image-product-container{
    height: 90%;
    width: 40%;
  }

  .o-info-product{
    width: 60%;
    height: 90%;
  }

  #o-product-name{
    font-size: 3.5vh;
  }

  .btn{
    font-size: .7rem;
  }

  .o-data-text{
    font-size: .5rem;
  }

  #add-to-cart-container{
    height: 1.5rem;
  }
}
  /*Estilos del modal del producto*******************************/