@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Baloo+Bhaijaan+2:wght@400..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Chewy&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lemon&display=swap');

:root{
    --primary-color: #ff7c22;
    --primary-hover-color: #ff9246;
    --secondary-color: #ffe8c5;
    --light-color: #fff5e6;
    --yellow-color: #fecf63;
}

body{
    background-color: var(--light-color);
    color: #222;
    font-family: "Nunito", sans-serif;
}

.grecaptcha-badge{
    visibility: hidden !important;
}


.background-image{
    background-size: cover;
    background-position: center;
    background-repeat: nn-repeat;
}

/************** NAV **************/

.nav-item{
    margin-right: 2rem;
    width: fit-content;
}

.nav-link{
    background-color: var(--primary-color);
    color: #FFF;
    border-radius: 2rem;
    padding: 0.5rem 2rem !important;
    
    font-family: "Baloo 2", sans-serif;
    font-weight: bolder;
    font-size: 18px;
}

.nav-link:hover{
    color: #444;
    background-color: var(--yellow-color);
}

.nav-link.active{
    color: #444;
    background-color: var(--yellow-color);
}

.nav-cart-wrapper{
    font-size: 2rem;
    background-color: #FFF;
    color: #444;
    border-radius: 6px;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 0px 20px;
    width: 60px;
    height: 60px;
    padding: 0 !important;
    text-align: center;
    position:relative;
}

.nav-cart-wrapper a{
    color: inherit;
    font-size: 1.2rem;
    line-height: 60px;
}

.nav-cart-counter{
    position: absolute;
    top: -12px;
    right: -12px;
    background-color: var(--primary-color);
    color: #FFF;
    font-weight: 800;
    font-size: 1.2rem;
    width: 28px;
    height: 28px;
    border-radius: 1rem;
    text-align: center;
    
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-cart-sm-wrapper{
    position:relative;
}

.nav-cart-sm-counter{
    position: absolute;
    top: -12px;
    right: -12px;
    background-color: var(--primary-color);
    color: #FFF;
    font-weight: 800;
    font-size: 1.1rem;
    width: 24px;
    height: 24px;
    border-radius: 1rem;
    text-align: center;
    
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 2px #ff7c22;
}

#nav-cart-count{
    line-height: 28px;
}

@media(max-width: 960px){
    .navbar{
        background-color: var(--light-color);
        border-bottom: 1px solid #FFFFFF70;
    }
    
    .navbar .container-fluid{
        justify-content: left;
    }
    
    .nav-item{
        width: 100%;
    }
    
    .nav-link{
        background-color: transparent;
        color: var(--primary-color);
    }
    
    .nav-link:hover{
        background-color: transparent;
        color: #444;
    }
    
    .navbar-cart-sm{
        font-size: 1rem;
        background-color: #FFF;
        color: #444;
        border-radius: 6px;
        box-shadow: rgba(0, 0, 0, 0.15) 0px 0px 10px;
        padding: 0.8rem 1rem;
        text-align: center;
    }
    
    .navbar-toggler{
        border: var(--primary-color) solid 1px;
        padding: 0.55rem 0.7rem;
    }
    
    .navbar-toggler-icon{
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,124,34,0.75 %29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
}

@media(min-width: 961px) and (max-width: 1399px){
    .nav-link{
        padding: 0.2rem 1.2rem !important;
        font-size: 16px;
    }
    
    .navbar-brand img{
        width: 100px !important;
    }
    
    .nav-item {
        margin-right: 1rem;
    }
}

/******* footer *********/

footer{
    background-color: var(--primary-color); /*#fecf63*/
    color: #FFF;
    font-size: 1.2rem;
    font-weight: bolder;
}

.footer-top{
    border-bottom: 1px solid #FFFFFF70;
}

footer ul{
    list-style: none;
}

.footer-link{
    font-family: "Baloo 2", sans-serif;
    text-decoration: none;
    color: #FFF;
    transition: all 0.3s ease-in-out;
}

.footer-link:hover{
    color: var(--secondary-color);
}

.footer-link i{
    font-size: 15px;
}

@media(max-width: 960px){
    .footer-logo{
        max-height: 100px;
    }
}



.btn-order{
    background-color: var(--primary-color);
    color: var(--light-color);
    box-shadow: 0px 0px 22px -8px rgba(0,0,0,0.5);
    border-radius: 1rem;
    
    margin-top: 1rem;
    padding: 0.3rem 1.5rem;
    
    font-weight: bolder;
    font-size: 1.5rem;
}

.btn-order:hover{
    background-color: var(--primary-hover-color);
    box-shadow: 0px 0px 22px -8px rgba(0,0,0,0.7);
}

.btn-order i{
    font-size: 1.2rem;
}

.btn-order .bi::before{
    vertical-align: 0;
}

.form-control:focus, .form-check-input:focus{
    box-shadow: none;
    border-color: var(--primary-color);
}

.form-check-input{
    border: 1px solid #AAA;
}

.form-check-input:checked{
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}


/*************** warning modal **************/

.warning-modal-container{
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    z-index: 999;
}

.warning-modal-overlay{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 998;
    width: 100vw;
    height: 100vh;
    background-color: #000000D0;
}

.warning-modal{
    position: fixed;
    top: 10%;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 999;
    background-color: var(--secondary-color);
    min-width: 350px;
    max-width: 550px;
    max-height: 50vh;
    padding: 1rem;
    border-radius: 8px;
}

.warning-msg{
    font-size: 1.2rem;
    text-align: center;
    font-weight: bolder;
}


/************* cookie popup *************/

.cookie-popup-wrapper{
    position: fixed;
    bottom: 32px;
    right: 32px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--primary-color);
    background-color: var(--secondary-color);
    max-width: 550px;
    padding: 2rem;
}

.cookie-header{
    font-size: 1.3rem;
    font-family: "Lemon", serif;
    font-weight: 800;
    margin-bottom: 2rem;
}

.cookie-body{
    margin-bottom: 2rem;
}

.cookie-body a{
    color: #444;
}

.cookie-footer{
    text-align: center;
}

#cookie_accept_all{
    background-color: var(--primary-color);
    color: #FFF;
    font-size: 1.2rem;
    font-weight: 800;
    border: 1px solid var(--primary-color);
    padding: 1rem 2rem;
}

#cookie_accept{
    background-color: transparent;
    color:  var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    border: 1px solid var(--primary-color);
    padding: 1rem 2rem;
}

@media(max-width: 500px){
    .cookie-popup-wrapper{
        bottom: auto;
        right: auto;
        top: 32px;
        padding: 1rem;
        overflow-y: scroll;
        max-width: 100vw;
        max-height: 90vh;
    }
    
    #cookie_accept_all{
        font-size: 1.0rem;
        font-weight: 800;
        padding: 0.5rem 0.8rem;
        margin-bottom: 0.5rem;
    }

    #cookie_accept{
        font-size: 1.0rem;
        font-weight: 600;
        padding: 0.5rem 0.8rem;
        margin-bottom: 0.5rem;
    }
}