:root{
    --primary-color: #3e4939;
    --secondary-color: #547f69;
}

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


.text-line-through{
    text-decoration: line-through;
}

.text-bold{
    font-weight: bold;
}

.right-nav-wrapper{
    display: flex;
}

.menu-wrap{
    height: 45px;
}

.menu-wrap .active{
    width: 100% !important;
    height: 1px;
}

.brand{
    height: 90px;
}

.nav-mobile-youtube{
    display: none;
    background-color: var(--primary);
    border-radius: 50px;
    flex-flow: row;
    align-self: center;
    padding: 5px 20px;
    color: #FFF;
    text-align: left;
    width: fit-content;
    align-self: flex-start;
    margin-top: 10px;
}

.nav-desktop-youtube{
    margin-right: 3rem;
}

.nav-cart-wrapper{
    padding: 0 !important;
    margin-right: 0.5rem;
    text-align: center;
    position:relative;
}


#navbar-cart{
    display: block;
    width: 100%;
    height: 100%;
    
    font-size: 2rem;
    background-color: #FFF;
    color: var(--primary-color);
    border-radius: 6px;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 20px;
    width: 45px;
    height: 45px;
    line-height: 45px;
    font-size: 1.2rem;
    
    transition: all 0.3s;
}

#navbar-cart:hover{
    background-color:var(--secondary-color);
    color: #FFF;
}

.nav-cart-counter{
    position: absolute;
    top: -12px;
    right: -12px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

#nav-cart-count{
    line-height: 22px;
    width: 100%;
    height: 100%;
    display: block;
    text-decoration: none;
    
    background-color: var(--primary-color);
    color: #FFF;
    font-weight: 800;
    font-size: 1rem;
    width: 24px;
    height: 24px;
    border-radius: 1rem;
    text-align: center;
    padding-left: 5px;
}

@media(max-width: 960px){
    .nav-desktop-youtube{
        display: none;
    }
    
    .nav-mobile-youtube{
        display: block;
    }
    
}


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

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

.cookie-header{
    font-size: 1.3rem;
    font-family: sans-serif;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

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

.cookie-body a{
    color: var(--primary-color);
    text-decoration: underline;
}

.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;
    border-radius: 4px;
    transition: all 0.3s;
}

#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;
    border-radius: 4px;
    transition: all 0.3s;
}

#cookie_accept_all:hover, #cookie_accept:hover{
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #FFF;
}

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


/********* NOTIFICATION **********/

.visitor-notification-container{
    display: none;
    align-items: center;
    justify-content: center;
    position: absolute;
    z-index: 999;
}

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

.visitor-notification-modal{
    position: fixed;
    top: 10%;
    left: 50%;
    z-index: 999;
    transform: translate(-50%, 0);
    
    min-width: 350px;
    max-width: 550px;
    max-height: 50vh;
    
    background-color: #FFF;
    color: var(--primary-color);
    
    
    border: 1px solid var(--primary-color);
    border-radius: 8px;
}

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

.visitor-notification-footer{
    text-align: center;
    margin-top: 1rem;
}

.visitor-notification-wrapper{
    position: relative;
    padding: 1rem;
}

.visitor-notifiction-close-icon{
    position: absolute;
    top: -16px;
    right: -16px;
    
    background-color: #777;
    color: #FFF;
    font-weight: 900;
    font-size: 1rem;
    
    border: 3px solid #FFF;
    border-radius: 1rem;
    
    width: 33px;
    height: 33px;
    
    display: flex;
    justify-content: center;
    align-items: center;
    
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.visitor-notifiction-close-icon div{
    margin-top: -3px;
    margin-right: -1px;
    transition: all 0.3s ease-in-out;
}

.visitor-notifiction-close-icon:hover{
    border-color: var(--secondary-color);
    background-color: #000;
}

.visitor-notifiction-close-icon:hover div{
    color: var(--primary-color);
}

.btn-notification-close{
    background-color: var(--primary-color);
    color: #FFF;
    border-radius: 4px;
    font-size: 1.1rem;
    padding: 5px 20px;
    transition: all 0.3s;
}

.btn-notification-close:hover{
    background-color: var(--secondary-color);
}


/*************** POPUP **************/

.popup-container{
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.popup-content-wrapper{
    position: fixed;
    top: 10%;
    left: 50%;
    z-index: 901;
    transform: translate(-50%, 0);
    
    min-width: 350px;
    max-width: 550px;
    max-height: 50vh;
    
    background-color: var(--primary-bg-color);
    color: #EEE;
    
    border: 1px solid var(--primary-color);
    border-radius: 8px;
}

.popup-content{
    position: relative;
}

.popup-close-icon{
    position: absolute;
    top: -16px;
    right: -16px;
    
    background-color: #777;
    color: #FFF;
    font-weight: 900;
    font-size: 1rem;
    
    border: 3px solid #FFF;
    border-radius: 1rem;
    
    width: 33px;
    height: 33px;
    
    display: flex;
    justify-content: center;
    align-items: center;
    
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.popup-close-icon div{
    margin-top: -3px;
    margin-right: -1px;
    transition: all 0.3s ease-in-out;
}

.popup-close-icon:hover{
    border-color: var(--primary-color);
    background-color: #000;
}

.popup-close-icon:hover div{
    color: var(--primary-color);
}

.popup-content{
    max-width: 450px;
    padding: 1rem;
}

@media(max-width: 960px){
    .popup-content{
        max-width: 350px;
    }
}

@media (prefers-reduced-motion: reduce) {
    
}


/************** offcanvas kosár ********************/


#offcanvas-cart-overlay{
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    z-index: 998;
    background-color: #00000070;
    top: 0;
    left: 0;
}

#offcanvas-cart{
    position: fixed;
    z-index: 999;
    width: 450px;
    height: 100vh;
    right: -450px;
    top: 0;
    background-color: #FFF;
    transition: all 0.5s ease-in-out;
}

#offcanvas-cart-content{
    position: absolute;
    left: 0;
    top: 0;
    transition: all 0.5s ease-in-out;
    width: 100%;
    height: fit-content;
    border-left: 1px solid #3e493920;
    padding: 1.5rem 1rem;
    height: 100%;
}

/* OFFCANVAS HEAD */

.offcanvas-header{
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.offcanvas-title{
    font-size: 1.5rem;
    color: var(--primary-color);
}

.btn-close-offcanvas{
    background-color: transparent;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    transition: all 0.3s;
}

.btn-close-offcanvas:hover{
    color: var(--secondary-color);
}

/* OFFCANVAS BODY */

.offcanvas-body{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 95%;
    padding-bottom: 2rem;
}

.offcanvas-product-row{
    display: flex;
    flex-direction: row;
    margin-bottom: 1rem;
}

.offcanvas-product-row .col-img{
    width: 25%;
    display: flex;
    align-items: center;
}

.offcanvas-prodimg{
    width: 100%;
    height: auto;
    border-radius: 6px;
    object-fit: cover;
}

.offcanvas-product-row .col-prodinfo{
    width: 65%;
    display: flex;
    align-items: center;
    padding-left: 0.5rem;
}

.offcanvas-prod-title{
    margin-bottom: 0.75rem;
}

.offcanvas-sub-price-wrapper{
    display: block;
    width: fit-content;
    margin-left: auto !important;
    font-weight: bolder;
}

.offcanvas-sub-price{
    display: inline-block;
    margin-left: 2rem;
}

.offcanvas-product-row .col-delprod{
    width: 10%;
    display: flex;
    align-items: center;
    justify-content: center;
}


.offcanvas-cart-del-order{
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.offcanvas-cart-del-order:hover{
    color: red;
}

/* OFFCANVAS SUMMARY */

.offcanvas-total-cost-wrapper{
    border-top: 1px solid #BBB;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    
}

.offcanvas-total-cost-wrapper p{
    display: inline-block;
    font-weight: bold;
}

.offcanvas-cart-link{
    display: block;
    border: 1px solid var(--primary-color);
    border-radius: 6px;
    
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: bolder;
    text-align: center;
    
    padding-top: 1rem;
    padding-bottom: 1rem;
    
    max-width: 80%;
    margin: 0 auto;
    margin-bottom: 1rem;
    transition: all 0.3s;
}

.offcanvas-cart-link:hover{
    border-color: var(--secondary-color);
    color: #FFF;
    background-color: var(--secondary-color);
}

.offcanvas-checkout-link{
    display: block;
    
    border: 1px solid var(--primary-color);
    border-radius: 6px;
    
    font-size: 1.1rem;
    color: #FFF;
    text-align: center;
    font-weight: bolder;
    
    background-color: var(--primary-color);
    padding-top: 1rem;
    padding-bottom: 1rem;
    
    max-width: 80%;
    margin: 0 auto;
    margin-bottom: 1rem;
    transition: all 0.3s;
}

.offcanvas-checkout-link:hover{
    border-color: var(--secondary-color);
    color: #FFF;
    background-color: var(--secondary-color);
}

@media(max-width: 500px){
    #offcanvas-cart{
        width: 100vw;
        right: -100vw;
    }
}
