/*
Theme Name: Garinello
Author: Fullo
Version: 1.0
Text Domain: Garinello
*/
@font-face {
    font-family: "Lato-Light";
    src: url("./fonts/Lato-Light.ttf");
    font-display: swap;
}

@font-face {
    font-family: "Lato-Regular";
    src: url("./fonts/Lato-Regular.ttf");
    font-display: swap;
}

@font-face {
    font-family: "Lato-Bold";
    src: url("./fonts/Lato-Bold.ttf");
    font-display: swap;
}

@font-face {
    font-family: "Lato-Black";
    src: url("./fonts/Lato-Black.ttf");
    font-display: swap;
}

@font-face {
    font-family: "BodoniModa_9pt-Regular";
    src: url("./fonts/BodoniModa_9pt-Regular.ttf");
    font-display: swap;
}
html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-smooth: never;
    text-rendering: optimizeLegibility;
}
*{
    box-sizing: border-box;
}
.all_pages_content, .main_contact, .about_us_page, .single_blog, .find_store{
    padding-bottom: 50px;
}

/*********************************
           H E A D E R
 *********************************/
#site-header{
    background: white;
    position: sticky;
    z-index: 9998;
    top: 0;
    border-bottom: 1px solid #D4D4D4;
}
#site-header > .container{
    max-width: 1880px;
    padding: 22px 20px 0;
    display: grid;
    grid-template-columns: minmax(0,30%) minmax(0,40%) minmax(0,30%);
    grid-template-rows: auto;
    align-items: center;
    column-gap: 5%;
    row-gap: 35px;
}
#site-header .site-logo{
    justify-self: center;
    max-width: 240px;
    width: 100%;
}
#site-header .site-logo svg{
    width: 100%;
}
#site-header .main-menu-wrapper{
    justify-self: center;
    grid-column: span 3;
}
.menu-glavni-mega-meni-container{
    align-self: stretch;
    display: flex;
    justify-content: center;
    align-items: center;
}
#menu-glavni-mega-meni{
    list-style-type: none;
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: stretch;
    column-gap: 80px;
}
#menu-glavni-mega-meni > li{
    display: flex;
    justify-content: start;
    align-items: center;
    column-gap: 20px;
}
#menu-glavni-mega-meni > li a{
    font-family: "Lato-Regular", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.25;
    color: #2D2D2D;
    text-decoration: none;
    padding: 0;
}
#menu-glavni-mega-meni > li > a{
    padding-bottom: 30px;
}
#menu-glavni-mega-meni li.kategorije > a{
    font-family: "Lato-Bold", sans-serif;
}
#menu-glavni-mega-meni li.akcije > a{
    font-family: "Lato-Black", sans-serif;
    color: #AC441E;
}
/* MEGA MENU */
.mega-nav{
    opacity: 0;
    visibility: hidden;
    display: block;
    position: absolute;
    bottom: 0;
    transform: translateY(calc(100% - 5px));
    z-index: 9999;
    background: white;
    left: 0;
    right: 0;
    width: 100vw;
    max-width: 100%;
}
.mega-nav.active{
    opacity: 1;
    visibility: visible;
}
.mega-nav .container{
    max-width: 1880px;
    display: flex;
    flex-flow: row wrap;
    justify-content: start;
    align-items: start;
    column-gap: 20px;
    row-gap: 30px;
    padding: 50px 0 130px 12%;
}
.mega-nav-subwrapper{
    max-width: 180px;
    width: 100%;
    display: flex;
    flex-flow: column nowrap;
    row-gap: 10px;
}
#menu-glavni-mega-meni ul.mega-nav-submenu{
    list-style-type: none;
    padding: 0;
    display: block;
}
#menu-glavni-mega-meni ul.mega-nav-submenu li.submenu-item a{
    font-family: "Lato-Regular", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: #323E48
}
#menu-glavni-mega-meni ul.mega-nav-submenu li.submenu-item:hover a{
    color: #AC441E;
}
#menu-glavni-mega-meni ul.mega-nav-submenu li.submenu-item:not(:last-child){
    margin-bottom: 10px;
}
.mega-nav-banners{
    position: absolute;
    height: 100%;
    width: auto;
    top: 0;
    right: 0;
}
.mega-nav-banner{
    position: relative;
}
.mega-nav-banner img{
    height: 100%;
    width: auto;
}
.header-socials{
    list-style-type: none;
    margin: 0 auto 0 0;
    padding: 0;
    display: flex;
    flex-flow: row nowrap;
    justify-content: start;
    align-items: center;
    column-gap: 10px;
}
/* HEADER SHORTCUTS BUTTONS*/
#site-header .header-shortcuts{
    display: flex;
    justify-content: end;
    align-items: center;
    margin-left: auto;
    column-gap: 25px;
}
#site-header .wish_count .wishlist_products_counter_number,
#site-header .my_cart .cart-customlocation,
.logged-in #site-header .user_icon::before{
    width: 14px;
    height: 14px;
    border: none;
    border-radius: 50%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #2D2D2D;
    background: #D1C4AF;
    position: absolute;
    top: -2px;
    font-family: "Lato-Bold", sans-serif;
    font-weight: 700;
    font-size: 9px;
    line-height: 1;
    left: auto;
    right: -10px;
}
.logged-in #site-header .user_icon::after{
    content: "";
    background: url(./images/check_white.svg);
    position: absolute;
    top: 0px;
    right: -8px;
    display: inline-block;
    width: 9px;
    height: 9px;
}
#site-header .wish_count .wishlist_products_counter_number:empty{
    display: none;
}
#site-header .custom-search svg circle{
    fill: #2D2D2D;
}
#site-header .wish_count a.wishlist_products_counter.top_wishlist-heart::before {
    content: "" !important;
    background-image: url(./images/wl-icon.svg);
    width: 19px;
    height: 17px;
    background-size: contain;
    background-repeat: no-repeat;
    margin: 0;
}

/* Header on scroll */
@media (min-width: 881px){
    #site-header.scrolled > .container{
        grid-template-columns: minmax(0,20%) minmax(0,1fr) minmax(0,20%);
        padding-top: 0;
    }
    #site-header.scrolled #menu-glavni-mega-meni{
        column-gap: 20px;
    }
    #site-header.scrolled #menu-glavni-mega-meni > li > a{
        padding-top: 30px;
    }
    #site-header.scrolled .site-logo{
        display: none;
    }
    #site-header.scrolled .main-menu-wrapper{
        order: 2;
        grid-column: span 1;
    }
    #site-header.scrolled .header-shortcuts{
        order: 3;
    }
    #site-header.scrolled,
    #site-header.visible{
        background: white;
        transition: background-color 0.3s ease;
    }
}
@media (min-width: 1024px){
    #site-header.scrolled #menu-glavni-mega-meni{
        column-gap: 40px;
    }
}
@media(max-width: 1200px){
    #site-header.scrolled #menu-glavni-mega-meni > li > a{
        font-size: 14px;
    }
}

/* Responsive */
@media(min-width: 881px){
    #hamburger,
    .toggle-submenu{
        display: none;
    }
}
@media(max-width:1400px){
    #site-header > .container{
        column-gap: 30px;
    }
}
@media(max-width:1200px){
    #site-header > .container{
        row-gap: 20px;
    }
    #site-header .site-logo{
        max-width: 180px;
    }
    .mega-nav .container{
        padding: 50px 0 90px 6%;
    }
}
@media(max-width:1024px){
    #site-header #menu-glavni-mega-meni{
        column-gap: 40px;
    }
    #site-header .header-shortcuts{
        margin-left: 0;
        column-gap: 20px;
    }
    .custom-search-wrap, .custom-search{
        position: unset;
    }
    .search-popup{
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }
    .mega-nav{
        order: 3;
        width: 100%;
        height: 0;
        padding: 30px 20px;
        min-height: 0;
        transform: none;
        margin: 0;
        transition: all 0.3s ease;
    }
    .mega-nav.active{
        position: relative;
        inset: unset;
        height: auto;
    }
    .mega-nav .container{
        padding: 20px;
    }
    .mega-nav-subwrapper{
        flex-flow: row wrap;
        justify-content: space-between;
        row-gap: 0;
        width: 100%;
        max-width: 130px;
    }
    .toggle-submenu{
        padding-right: 20px;
    }
    .toggle-submenu.open, .toggle-mega-submenu.open{
        transform: scaleY(-1);
        transition: all 0.3s ease;
    }
    .toggle-submenu svg{
        width: 15px;
    }
}
@media(max-width:880px){
    #site-header .site-logo{
        max-width: 140px;
        margin-right: auto;
    }
    #site-header > .container{
        padding: 10px 20px;
        column-gap: 20px;
        display: flex;
        flex-flow: row nowrap;
        justify-content: end;
        align-items: center;
        row-gap: 20px;
    }
    #site-header .header-shortcuts{
        column-gap: 15px;
    }
    .header-socials{
        display: none;
    }
    #hamburger{
        background: transparent;
        padding: 0;
        border: none;
        outline: none;
    }
    #hamburger .opened, #hamburger.visible .closed{
        display: none;
    }
    #hamburger.visible .opened{
        display: block;
    }
    #hamburger svg{
        width: 20px;
        height: 20px;
    }
    .custom-search svg{
        max-width: 30px;
    }
    .menu-glavni-mega-meni-container{
        position: absolute;
        width: 100vw;
        left: 0;
        opacity: 0;
        background: white;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
        pointer-events: none;
        z-index: 0;
    }
    .menu-glavni-mega-meni-container.visible{
        top: 100%;
        min-height: fit-content;
        z-index: 9999;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 15px 0 80px;
        height: calc(100vh - 78px);
    }
    #menu-glavni-mega-meni{
        width: 100%;
        overflow: auto;
        flex-flow: column nowrap;
        justify-content: start;
        row-gap: 25px;
        padding: 20px 0;
        align-items: stretch;
    }
    #menu-glavni-mega-meni li.menu-item{
        flex-flow: row wrap;
        row-gap: 20px;
        justify-content: space-between;
    }
    #menu-glavni-mega-meni > li > a{
        padding-left: 20px;
        font-size: 18px;
    }
    #menu-glavni-mega-meni > li > a{
        padding-bottom: 0;
    }
    .mega-nav{
        padding: 0 0 20px;
    }
    .mega-nav .container{
        flex-flow: row wrap;
        column-gap: 0;
        row-gap: 20px;
        padding: 0;
    }
    .mega-nav-subwrapper{
        padding: 0 20px 20px;
        width: 50%;
        max-width: 100%;
    }
    .mega-nav-banners{
        position: relative;
        inset-block: unset;
        width: 100%;
        height: auto;
    }
    .mega-nav-banner img{
        height: auto;
        width: 100%;
    }
}

/*********************************
          F O O T E R
 *********************************/
#site-footer{
    background: #2D2D2D;
    padding: 50px 0 90px;
}
#site-footer .container{
    max-width: 1460px;
    text-align: center;
}
#site-footer .newsletter{
    display: block;
    position: relative;
    max-width: 660px;
    text-align: center;
    margin: 0 auto 50px;
    padding-bottom: 50px;
}
#site-footer .newsletter:after{
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 1px;
    background: #D4D4D480;
}
#site-footer .newsletter-title{
    font-family: "Lato-Regular", sans-serif;
    font-weight: 400;
    font-size: 30px;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    margin: 0 0 15px;
    color: #FFFFFF;
}
#site-footer .newsletter-desc{
    font-family: "Lato-Regular", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.25;
    text-align: center;
    margin-bottom: 20px;
    color: #FFFFFF;
}
#site-footer .fluentform .ff-el-group{
    margin: 0 !important;
}
#site-footer .ff-el-group:not(.ff_submit_btn_wrapper){
    flex-grow: 1;
}
#site-footer .ff-el-group.ff_submit_btn_wrapper{
    flex-shrink: 0;
}
#site-footer fieldset{
    display: flex;
    flex-flow: row nowrap;
    align-items: stretch;
}
#site-footer .ff-el-group input[type="email"]{
    padding: 16px 30px;
    background: white;
    border: none;
    font-family: "Lato-Regular", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.21;
    color: #2D2D2D;
    border-radius: 0;
}
#site-footer .ff-default .ff_btn_style{
    padding: 16px 76px;
    background: #D1C4AF;
    color: white;
    font-family: "Lato-Bold", sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.21;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 0;
    border: none;
}
#site-footer .ff-message-success{
    border: 1px solid #D1C4AF;
}
#site-footer .ff-message-success p{
    margin: 0;
    color: white;
}
#site-footer .ff-el-input--content .error{
    text-align: left;
}
/*   G L A V N I   D E O   F O O T E R - A   */
#site-footer .main-footer{
    display: grid;
    grid-template-columns: minmax(0,335px) minmax(0,1fr) minmax(0,140px);
    grid-template-rows: auto;
    align-items: start;
    column-gap: 40px;
}
#site-footer .footer-logo svg{
    max-width: 335px;
    width: 100%;
    height: auto;
}
#site-footer .footer-links{
    max-width: 550px;
    width: 100%;
    justify-self: center;
}
#site-footer .footer-links ul{
    column-count: 2;
    column-gap: 24px;
}
#site-footer .footer-links ul li{
    text-align: left;
}
#site-footer .footer-links ul li a{
    font-family: "Lato-Regular", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 2;
    color: white;
}
#site-footer .footer-socials > p{
    font-family: "Lato-Regular", sans-serif;
    text-align: left;
    margin: 0 0 12px;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: white;
}
#site-footer .social_links{
    display: flex;
    justify-content: start;
    align-items: center;
    column-gap: 10px;
}
@media(max-width:1024px){
    /*   G L A V N I   D E O   F O O T E R - A   */
    #site-footer .main-footer{
        grid-template-columns: minmax(0,250px) minmax(0,1fr) minmax(0,90px);
    }
    #site-footer .footer-links{
        max-width: 450px;
    }
    #site-footer .footer-links ul{
        column-gap: 16px;
    }
}
@media(max-width:767px){
    #site-footer{
        padding: 40px 0 60px;
    }
    /*   N E W S L E T T E R   */
    #site-footer .newsletter{
        max-width: 100%;
        margin: 0 auto 30px;
        padding-bottom: 30px;
    }
    /*   G L A V N I   D E O   F O O T E R - A   */
    #site-footer .container,
    #site-footer .newsletter,
    #site-footer .newsletter-title,
    #site-footer .newsletter-desc{
        text-align: left;
    }
    #site-footer .main-footer{
        grid-template-columns: minmax(0,1fr);
        row-gap: 40px;
    }
    #site-footer .footer-logo a{
        text-align: left;
    }
    #site-footer .footer-logo svg{
        max-width: 220px;
    }
    #site-footer .footer-links{
        max-width: 450px;
        justify-self: left;
    }
    #site-footer .footer-links{
        width: fit-content;
    }
    #site-footer .social_links{
        column-gap: 20px;
    }
}
@media(max-width:576px){
    /*   N E W S L E T T E R   */
    #site-footer fieldset{
        flex-flow: column nowrap;
    }
    #site-footer .ff-default .ff_btn_style{
        width: 100%;
    }
}

/*   F O O T E R   C O P Y R I G H T S   */
#footer-copyrights{
    background: white;
    padding: 20px 0;
}
#footer-copyrights .container{
    max-width: 1460px;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
    column-gap: 20px;
    row-gap: 20px;
}
#footer-copyrights p{
    font-family: "Lato-Regular", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    color: #2D2D2D;
    margin: 0;
}
#footer-copyrights p a img{
    margin-bottom: -7px;
}
#footer-copyrights .footer-cards{
    flex-grow: 1;
    text-align: center;
}
#footer-copyrights .footer-cards ul{
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    column-gap: 10px;
}
@media(max-width: 1300px) {
    #footer-copyrights .container{
        justify-content: center;
        column-gap: 40px;
    }
    #footer-copyrights .footer-cards{
        order: -1;
        width: 100%;
    }
}
@media(max-width:767px){
    #footer-copyrights .container{
        justify-content: start;
        column-gap: 20px;
        row-gap: 10px;
    }
    #footer-copyrights .footer-cards ul{
        justify-content: start;
        row-gap: 10px;
    }
    #footer-copyrights .footer-cards li{
        width: fit-content !important;
        height: 28px !important;
        object-fit: contain;
    }
}

/* za brisanje iz garinello samo bez #site-header */
#site-header .user_icon, #site-header .h_wish, #site-header .user_cart{
    margin-left: 0;
    line-height: 0;
}
.woocommerce .woocommerce-ordering{
    margin: 0;
}
.woocommerce ul.products::before{
    display: none;
}
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product,
.woocommerce ul.products.columns-2 li.product, .woocommerce-page ul.products.columns-2 li.product{
    width: 100%;
    margin: 0;
}
.woocommerce ul.products li.product .price del{
    opacity: 1;
}
.product .product-stickers {
    position: absolute;
    left: 15px;
    top: 15px;
    z-index: 50;
    display: flex;
    flex-flow: column nowrap;
    justify-content: start;
    align-items: start;
    row-gap: 8px;
}
.product span.onsale {
    position: relative;
    border-radius: 0;
    min-height: 0;
    min-width: 0;
    background: #AC441E;
    color: #fff;
    font-size: 14px;
    line-height: 18px;
    padding: 8px 18px !important;
    font-family: "Lato-Bold", sans-serif;
}

@media(max-width:767px){
    .product .product-stickers {
        left: 10px;
        top: 10px;
    }
    .product span.onsale {
        font-size: 10px;
        line-height: 14px;
        padding: 4px 9px !important;
    }
}