@import url('https://fonts.googleapis.com/css2?family=Caladea:ital,wght@0,400;0,700;1,400;1,700&display=swap');


@media
(max-width:500px){

    /* header */
    .container-header{
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: rgb(0, 175, 0);
        padding: 5px;
        border-bottom: 1px solid #fff;
        position: sticky;
        top: -0.5px;
        left: 0px;
        box-shadow: 0 1px 20px 1px rgba(0, 0, 0, 0.3);
        z-index: 1;;
        position: relative;
    }

    .logo-geras{
        height: 70px;
        width: auto;


    }

   
    .image-car{
        height: 40px;
        width: auto;



    }

    /* main  container*/

    main{
        
        padding-bottom: 3.5rem;
        background-color: rgba(0, 175, 0,.7);;
        min-height: 100vh   ;
    }

   .container-main{
    position: relative;
    /* padding:7px 10px; */
    padding-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap:20px;
    padding-bottom: 1.5rem ;
   /* font-family:  "Caladea", serif; */


   }

 

   .title{
    font-size: 1.5rem;
    font-weight: 500;
    color: #fff;
    margin-top: 1rem;
    



   }

    .section-products{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 12px;
        margin: 0 .5rem;


    }

/* container cortina */
    .background-fundo{
        display: none;
        opacity: 0;
    }
    .background-fundo.active{
        display: block  ;
        position: fixed;
        z-index: 1;
        height: 100%;
        width: 100%;
        background-color: rgba(0, 0, 0,0.4);
        opacity: 1;
        z-index: 2;
        display: flex;
        
    }

    .icon-back{
        color: #fff;
        font-size: 2rem;
        margin-left: 1rem;
        margin-top: 1rem;
        font-family: Arial, Helvetica, sans-serif;
        
        
        
    }

/* cardapio e produtos  */
    .container-cadapio{
        display: block;
    }



   .cart-product{
    width:48%;
    border-radius:  11px;
   
    box-sizing: border-box ;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    /* border: 1px solid #d6d6d6; */
    box-shadow:  0 2px 10px rgba(0,0,0,0.1);
    background-color: #f0f0f0;
    transform: scale3d(1,1,1);
    margin: 0;
   }

   
   .cart-product.active{
    position: fixed;
    width:48%;    
    box-sizing: border-box ;
    display: flex;
    
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    /* border: 1px solid #d6d6d6; */
    box-shadow:  0 2px 10px rgba(0,0,0,0.1);
    background-color: #f0f0f0;
    z-index: 3;
    transition: 0.5s;
    /* transform: scale(1.3,1.3); */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%) scale(1.4,1.4);

    }

    .box-title{
        display: flex;
        align-items: center;
        justify-content: center;
        border-top: 3px solid #fff;
        margin-bottom: 1rem;
    }
   
   .title-section{
        padding: 0.5rem 1rem;
        border-radius: 0 0 7px 7px  ;
        font-size: 1.6rem;
        color: #fff;
        background-color: #fff;
        color: #333;
        border-bottom: 2px solid #fff;
        padding-bottom: 0.6rem;
        margin: 0;
    }


    
    .image-product{
        height:120px;
        width:100%;
        border-radius: 11px 11px 0 0;
 
     }

    .box-description{
        display: flex;
        flex-direction: column;
        align-items: center;

    }

    .title-product{
        font-size: 1rem;
        font-weight: bold;
        margin: 1rem 0.650rem;
        text-align: center;
        text-transform: uppercase;
        
    }

    .description-product{
        font-size: 0.8rem;
        text-align: center ;
        



    }

    .value-product{
        font-size: 1.4rem;
        margin-top: 10px;
    }

    .value-product span{
        font-weight: bold   ;


    }

    .btn-cart-buy{
        /* height: 10%; */
        width: 100%;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #FC2825;
        margin-top: 10px;
        border: none;
        color: #fff;
        padding: 0.425rem;
        font-size: 1.2rem;
        opacity: 1;
        transition: 0.5s;
        box-sizing: border-box;
    }


    .btn-cart-buy.active{
        opacity: 0.8;


    }


    /* setor bebidas */

    .title-drink{
        font-size: 1.2rem;


    }

    .image-product-drink{
     height:150px;
     width:auto;
     border-radius: 0px;
 
    }
    

   

    /* alerta */

    .alert-cart-add{
        position: fixed;
        left: 50%;
        top: -15%;
        width: 70%;
        transform:  translate(-50%,-50%);
        background-color: rgba(255, 255, 255, 1);
        background-color:transparent;
        border-radius: 5px;
        font-size: 1.2rem;
        color: #333;
        padding: 10px;
        transition: 1s;
        opacity: 0;
        z-index: 99;
       

    }

    .alert-cart-add.active{
        display: flex;
        position: fixed;
        top: 15%;
        transform:  translate(-50%,-50%);
        opacity: 1;
        
    

    }

    .alert-cart-add.cart-empty{
        display: flex;
        position: fixed;
        
        top: 14%;
        background-color: rgb(236, 4, 4);
        border-radius: 5px;
        color: #333;
        padding: 10px;
        opacity: 1;
        z-index: 99;
    

    }

    .btn-assets{
        background-color: #f66b08;
        border: none;
        border-radius: 14px;
        padding: .5rem;
        color: #fff;
        margin: .4rem 0;
        text-decoration: none;
    }



    /* carrinho de compras container */
    .cart { 
        
        min-height:380px;
        display: none;
        flex-direction: column;
        background-color: white;
        padding: 20px;
        border-radius: 10px;
        margin:0.5rem 1rem;
        position: relative;
        bottom:-1000px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        transition: 800ms;
    }

    .cart.active { 
        display: flex; 
        min-height:380px;
        display: flex;
        flex-direction: column;
        background-color: white;
        padding: 20px;
        border-radius: 10px;
        margin:0.5rem 1rem;
        
        position: relative;
        bottom:0px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }


    

    .cart h3{
        font-size: 1.4rem;
        text-align: center;
        margin-bottom: 0;
        flex-grow: 3;


    }

    .cart ul {
        list-style: none;
        padding: 0;
    }
    .cart ul li {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: 10px 0;
        font-size: 1.1rem;
        
    }

    .box-item{
        width: 100%;
        padding-right: 0.5rem;
        margin-right: .3rem;
    }
    .box-item div{
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .box-item div input[type=number]{
        width: 30px;
        text-align: center;
        border:none;
        border-bottom: 1px solid #333;
        outline: none;
    }

    .box-item div input[type=number]::-webkit-inner-spin-button { 
        -webkit-appearance: none;
    
    }



    .box-item h6{
        text-transform: uppercase;
        font-size: 1rem;
        font-weight: bold;
    }


    .box-item p{
        text-transform: capitalize;
        margin-top: .2rem;
        padding-left: 0.3rem;
    }

    .value-total-product{
        padding-left: 0 !important;;
        text-align: start;
        font-weight: bold;
        margin-top: .4rem;
    }

    .cart ul li button {
        background-color: #dc3545;
        color: white;
        max-height: 3rem;
        border: none;
        padding: 5px;
        border-radius: 5px;
    }
    .total {
        font-size: 1.1rem;
        margin-top: 20px;
        font-weight: bold;
    }

    .total-header {
        font-size: 1.3rem;
        border-bottom: 1px solid #333;
        text-align: center;
        color: #333;
        margin: 20px 20%;
        font-weight: bold;
    }

    .form-payment {
        margin:1.1rem 0;
        
    }

    .form-payment{
        font-size: 1.2rem;
    }

    .form-select{
        display: flex;
        justify-content: space-around;
        align-items: center;
        margin-top: 0.8rem;
    }

    .form-select input[type=radio]{
        height: 1.2rem;
        width: 1.2rem;
        margin: 0 0.3rem;
        
        

    }

    .andress{
        margin-top:1rem ;
    }

    .andress p{
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
        
    }

    .andress input{
        font-size: 1rem;
        outline: none;
        box-sizing: border-box  ;
        width: 100%;
        border: none;
        border-bottom: 1px solid #333;
        padding: 0.3rem 0.2rem ;
        text-transform: capitalize;
    }

    

    


    .form-select {
        display: flex;
        align-items: center;
        justify-content: space-around;

    }
    .form-select-payment{
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .form-select-payment div{
        display: flex;
        gap: 5px;
        margin-top: 0.3rem;
        align-items: center;
    }

    .form-payment p {
        font-size: 0.8rem ;
        text-transform: uppercase;

    }

    .box-select-form-payment{
        display: flex;
        align-items: center;
        

    }

    .form-select div img{
    height: 2rem;
    width: auto;


    }


    .observacoes{
        display: flex;
        flex-direction: column;
        margin-top: 0.825rem;
    }

    
    .observacoes textarea{
        height: 50px;
        border-color: rgba(0,0,0,0.5);
        margin-top: 5px;
        outline: none;
    }

    
    .btn-buy{
        padding: 15px 10px;
        margin-top: 20px;
        border:none;
        background-color: rgb(76, 76, 250)  ;
        border-radius: 5px;
        font-size: 1.1rem;
        color: #fff;

    }

    .btn-buy:disabled{
      
        background-color: rgb(149, 149, 149)  ;
        border-radius: 5px;
        

    }


    /* carrinho de compras fixo rodape */
   
    .cart-shopping{
        display: none;
        padding: 5% 0 0 0 ;
    }


    .box-cart{
        z-index: 1;
        width: 100dvw;
        position: fixed;
        bottom:0;
        background-color: #dc3545;

    }
    
    .container-cart-shopping{
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1rem 0rem ;
    }
    
    .box-cart-shopping{
        display: flex;
        align-items: center;
        position: relative;
        color: #fff;
        font-size: 1.1rem;
    
    }

    .box-cart-shopping img{
        height:25px;
        margin-right: 5px;
    }

 
    .box-cart-shopping span{
        
        font-weight: bold;
    }


    .btn-back-cart{
        display: flex;
        align-items: center;
        
    }

    .btn-back-cart img{
        width:auto;
        height:30px;
        margin: 0;
        transform: rotate(90deg);
        background-color: #fff;
        padding: 2px;
        border-radius: 50%;


    }

    .box-salvar-endereco{
        display: flex;
        align-items: center;
        gap: 5px;
        margin-top: 0.5rem;
    }

    .box-salvar-endereco input{
        width: 20px;
        height: 20px;
    }


    .modal{
        position:  fixed;
        height: 0;
        width: 0;
        z-index: -1;
        border-radius: 14px;
        background-color: transparent;
        transition:  .16s;
        opacity: 0;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .modal.active{
        z-index: 1000;
        height: 60%;
       
        width: 60%;
       
        opacity: 1;
    }

    .modal.active div{
        height: 100%;
        width: 100%;
        transform: scale(1.15);
    }


    .timer-funcionamento{
        position: absolute;
        bottom: 0 ;
        right: 0;
        background-color: transparent;
        margin: .5rem .7rem;
        box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 4px 0px inset;
        /* box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px; */
        /* border: 1px solid #333; */
        padding: .7rem;
        border-radius: 14px;
        width: 20%;
        text-align: center;
        font-weight: bold;
        color: #fff;
        text-transform: capitalize;
    }

    .timer-funcionamento.open{
        background-color: rgb(84, 192, 84);
    }

    .timer-funcionamento.close{
        background-color: #dc3545;
    }

}
