/*
Theme Name: Andrejević Diamonds
Author: Fullo.dev
Author URI: http://www.fullo.dev
Description: Custom theme developed for Andrejević Diamonds
Version: 1.0
*/


/* *************************
        F O N T O V I
   ************************* */
@font-face {
    font-display: swap;
    font-family: 'Mallory';
    font-style: normal;
    font-weight: 300;
    src: url('./fonts/Mallory-Light.woff') format('woff'),
    url('./fonts/Mallory-Light.woff2') format('woff2');
}
@font-face {
    font-display: swap;
    font-family: 'Mallory';
    font-style: normal;
    font-weight: 400;
    src: url('./fonts/Mallory-Regular.woff') format('woff'),
    url('./fonts/Mallory-Regular.woff2') format('woff2');
}
@font-face {
    font-display: swap;
    font-family: 'Mallory';
    font-style: normal;
    font-weight: 500;
    src: url('./fonts/Mallory-Medium.woff') format('woff'),
    url('./fonts/Mallory-Medium.woff2') format('woff2');
}
@font-face {
    font-display: swap;
    font-family: 'Mallory';
    font-style: normal;
    font-weight: 700;
    src: url('./fonts/Mallory-Bold.woff') format('woff'),
    url('./fonts/Mallory-Bold.woff2') format('woff2');
}
@font-face {
    font-display: swap;
    font-family: 'Mallory';
    font-style: normal;
    font-weight: 800;
    src: url('./fonts/Mallory-Extra-Bold.woff') format('woff'),
    url('./fonts/Mallory-Extra-Bold.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Luxurious Script';
    font-style: normal;
    font-weight: normal;
    src: url('./fonts/LuxuriousScript-Regular.woff') format('woff'),
    url('./fonts/LuxuriousScript-Regular.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: "Cormorant-Regular";
    src: url("./fonts/Cormorant-Regular.ttf");
    font-style: normal;
}



/* *************************
        S T I L O V I
   ************************* */
*{
    box-sizing: border-box;
    font-family: "Mallory", sans-serif;
}

body{
    margin: 0;
}

main{
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6{
    margin: 0;
}

h2{
    font-weight: 600;
    font-size: 24px;
    line-height: 1.42;
}
@media (max-width:767px) {
    h2{
        font-size: 18px;
    }
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

a{
    text-decoration: none;
}

p{
    margin: 0;
}

img{
    max-width: 100%;
}


/* *************************
        H E A D I N G
   ************************* */

.heading {
    padding-top: 100px;
    text-align: center;
    text-transform: uppercase;
}

.heading h2 {
    font-size: 24px;
    line-height: 1.42;
    color: #333333;
    font-weight: normal;
    position: relative;
    display: inline-block;
}

.heading h2::before {
    content: "";
    width: 100%;
    height: 1px;
    background: #D7E9ED;
    position: absolute;
    top: 100%;
    margin-top: 15px;
}

.heading h2::after {
    content: '';
    background: url(./img/heading_icon.svg);
    position: absolute;
    width: 14px;
    height: 14px;
    left: 50%;
    transform: translate(-50%);
    bottom: -22px;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    padding: 0 7px;
}

@media(max-width:767px){
    .heading{
        padding-top: 60px;
    }
}



/********************************************
     S P L I D E  -  P A G I N A C I J A
********************************************* */
.splide{
    display: flex;
    flex-flow: column nowrap;
    justify-content: start;
    align-items: stretch;
}
.splide .splide__pagination{
    position: relative;
    width: fit-content;
    inset: unset;
    padding: 0;
    border-bottom: 1px solid #A7C5CC;
    margin: 55px 0 0;
    flex-wrap: nowrap;
    align-self: center;
    justify-content: start;
}

.splide li .splide__pagination__page{
    padding: 0;
    margin: 0;
    flex: 1;
    height: 14px;
    border-radius: 0;
    opacity: 1;
    background: transparent;
}

.splide .splide__pagination li{
    flex: 1;
    display: flex;
    flex-flow: row nowrap;
    justify-content: start;
    align-items: center;
    transform: translateY(calc(50% + .5px));
    max-height: 14px;
    height: 100%;
    min-width: 90px;
}

.splide li .splide__pagination__page.is-active{
    background: #A7C5CC;
    height: 14px;
    transform: none;
}
.splide li:has(.splide__pagination__page.is-active):before{
    background-image: url("./img/pagination-addon-left.svg");
}
.splide li:has(.splide__pagination__page.is-active):after{
    background-image: url("./img/pagination-addon-right.svg");
}
.splide li:has(.splide__pagination__page.is-active):before,
.splide li:has(.splide__pagination__page.is-active):after{
    content: "";
    position: relative;
    height: 14px;
    width: 6px;
    display: flex;
    align-items: center;
    background-size: auto 100%;
    background-clip: border-box;
    flex-shrink: 0;
}

@media(max-width: 767px){
    .splide .splide__pagination{
        width: 100%;
        margin: 25px 0 0;
    }
    .splide .splide__pagination li{
        transform: translateY(calc(50% + .7px));
        max-height: 10px;
        min-width: 0;
    }
    .splide li .splide__pagination__page{
        height: 10px;
    }
    .splide li .splide__pagination__page.is-active{
        height: 10px;
    }
    .splide li:has(.splide__pagination__page.is-active):before,
    .splide li:has(.splide__pagination__page.is-active):after{
        height: 10px;
        width: 5px;
    }
}



.container{
    max-width: 1460px;
    width: 100%;
    padding: 0 20px;
    display: block;
    margin: 0 auto;
}

.wp-block-image{
    margin-bottom: 0;
}

.menu{
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.site-main{
    background-color: #FFFFFF;
    background-image:
            url("./img/footer-dekoracija.svg"),
            linear-gradient(0deg, rgba(183, 197, 202, 0.5) 0%, rgba(255, 255, 255, 0) 90.46%);
    background-size: 100% auto, 100% 400px;
    background-repeat: no-repeat;
    background-position: center calc(100% + 1px), bottom, top !important;
    padding: 46px 0 370px;
    overflow: hidden;
}


.term-frederique-constant .site-main{
    background-color: #292f40;
    background-image: url("./img/footer-dekoracija.svg");
}

.term-alpina .site-main{
    background-color: #000;
    background-image: url("./img/footer-dekoracija.svg");
}


.page-header h1 {
    font-weight: 400;
    font-size: 36px;
    line-height: 1.38;
    letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;
    color: #333333;
}
.page-template-template-listanje-page .page-header h1 {
    color: #fff;
}


@media (max-width:1500px){
    .site-main{
        padding: 46px 0 200px;
    }
}



@media (max-width:767px){
    .site-main{
        padding: 30px 0 100px;
    }
    .page-header h1{
        font-size: 30px;
    }
}


/* ****************************************************************************
                            FOOTER STILOVI
   *****************************************************************************/

footer{
    padding: 80px 0 40px;
    overflow: hidden;
}

/* FOOTER HEADER */
.footer-header{
    display: grid;
    grid-template-columns: minmax(0, 180px) minmax(0,1fr) minmax(0, 180px);
    grid-template-rows: auto;
    gap: 30px;
    align-items: center;
    padding: 30px 0;
    border-bottom: 1px solid #D7E9ED;
}
.footer-header p{
    text-align: center;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.5;
    color: #333333;
}
.footer-header > img{
    justify-self: end;
}

@media (max-width:767px){
    footer{
        padding: 40px 0;
    }
    .footer-header{
        grid-template-columns: minmax(0, 1fr);
        gap: 35px;
        align-items: center;
        justify-items: center;
        padding: 64px 0;
    }
    .footer-header p{
        max-width: 300px;
    }
    .footer-header > img{
        display: none;
    }
}

/*FOOTER LINKS*/
.footer-links{
    padding: 40px 0 80px;
    border-bottom: 1px solid #D7E9ED;

    display: grid;
    grid-template-columns: repeat(4, minmax(0,14%)) minmax(0, 1fr);
    gap: 50px;

    background-image: url("./img/andrejevic-A.svg");
    background-color: #FFFFFF;
    background-position: 100% 75%;
    background-repeat: no-repeat;
    background-size: 24%;
}
.footer-nav{
    grid-column: span 1;
    grid-row: auto;
}
.footer-menu-title{
    font-weight: 500;
    font-size: 16px;
    line-height: 1.37;
    text-transform: uppercase;
    color: #333333;
    margin-bottom: 12px;
    display: block;
}
.footer-dizajneri{
    margin-top: 80px;
}
.footer-menu .menu-item:not(:last-child){
    margin-bottom: 15px;
}
.footer-menu .menu-item a{
    font-weight: 400;
    font-size: 14px;
    line-height: 1.28;
    color: #5B7980;
}
.footer-menu .menu-item a:hover{
    color: #333333;
}

#menu-pratite-nas li a{
    display: flex;
    justify-content: start;
    align-items: center;
    column-gap: 5px;
}
@media (max-width:767px){
    .footer-links{
        padding: 20px 0 28px;
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        background: #FFFFFF;
    }
    .collapse{
        padding-bottom: 20px;
        border-bottom: 1px solid #D7E9ED;
    }
    .footer-nav:last-child .footer-menu-title{
        margin-bottom: 26px;
    }
    .collapse .footer-menu-title{
        width: 100%;
        margin-bottom: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .collapse .footer-menu-title:after{
        content: url('./img/toggle-icon.svg');
        position: relative;
        display: inline-block;

        -webkit-transition: transform 0.3s ease;
        -moz-transition: transform 0.3s ease;
        -ms-transition: transform 0.3s ease;
        -o-transition: transform 0.3s ease;
        transition: transform 0.3s ease;
    }
    .collapse .footer-menu-title.opened:after{
        transform: scaleY(-1);
    }
    .collapse .footer-menu-title + div{
        margin-top: 12px;
        display: none;
    }
    .footer-dizajneri{
        margin-top: 20px;
    }
    #menu-pratite-nas{
        display: flex;
        justify-content: start;
        align-items: center;
        column-gap: 30px;
        row-gap: 15px;
        flex-wrap: wrap;
        max-width: 330px;
    }
    #menu-pratite-nas li{
        margin: 0;
    }
}


/* FOOTER KARTICE */
.footer-cards{
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    column-gap: 20px;
    padding: 40px 0;
    border-bottom: 1px solid #D7E9ED;
}
.footer-cards .card{
    display: flex;
}
.footer-cards .card img{
    height: 40px;
    object-fit: contain;
}
@media (max-width:880px){
    .footer-cards{
        column-gap: 17px;
        row-gap: 27px;
    }
    .footer-cards .card img{
        height: 30px;
    }
}
@media (max-width:767px){
    .footer-cards{
        max-width: 410px;
        margin: 0 auto;
    }
}

/* FOOTER COPYRIGHT*/
.footer-copyright{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
    column-gap: 20px;
    padding: 30px 0 0;
}
.footer-copyright p{
    font-weight: 400;
    font-size: 14px;
    line-height: 1.43;
    color: #333333;
}
.footer-copyright p:last-child{
    display: flex;
    justify-content: end;
    align-items: center;
    column-gap: 18px;
}
.footer-copyright p:last-child a{
    line-height: 0;
}
@media (max-width:767px){
    .footer-copyright{
        flex-flow: column nowrap;
        justify-content: start;
        row-gap: 24px;
    }
    .footer-copyright p{
        text-align: center;
    }
    .footer-copyright p:last-child{
        flex-flow: column nowrap;
        justify-content: start;
        row-gap: 7px;
    }
}

/* FOOTER RECENZIJE */
.ti-widget.ti-goog .ti-widget-container{
    margin-bottom: 0;
}
.ti-widget.ti-goog .ti-col-1 .ti-footer{
    margin: 0 0 30px;
}



/* ****************************************************************************
                            BREADCRUMBS
   *****************************************************************************/

.woocommerce-breadcrumb,
.woocommerce-breadcrumb a {
    font-weight: normal;
    color: #000;
    font-size: 14px;
}




/* ****************************************************************************
                            HEADER STILOVI
   *****************************************************************************/

/* GLOBAL */
.site-header{
    background: white;
    padding: 18px 0 0;
    position: relative;
}
.site-header .container{
    display: flex;
    justify-content: end;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 30px;
    row-gap: 10px;
}
@media (max-width:991px){
    .site-header{
        padding: 30px 0;
    }
    .site-header .container{
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 25px)) minmax(0, 1fr) repeat(1, minmax(0, 65px));
        column-gap: 15px;
        align-items: center;
    }
}


/* SECONDARY MENU */
.secondary-menu{
    margin-right: auto;
    padding: 12px 0 23px;
}
.secondary-menu .menu{
    display: flex;
    flex-flow: row nowrap;
    justify-content: start;
    align-items: center;
    column-gap: 30px;
}
.secondary-menu .menu-item a{
    font-weight: 400;
    font-size: 13px;
    line-height: 1.38;
    color: #5B7980;
}
.secondary-menu .menu-item a:hover{
    color: #333333;
}
@media (max-width:991px){
    .secondary-menu{
        display: none;
    }
}

/* LOGO ZLATARE */
.logo{
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
}
.logo img{
    max-width: 136px;
    width: 100%;
}
@media (max-width: 991px){
    .logo{
        position: relative;
        display: flex;
        order: 2;
        inset: unset;
        transform: none;
        justify-self: center;
    }
}

/* SEARCH BAR */
.dgwt-wcas-layout-icon{
    max-width: 100% !important;
}
.dgwt-wcas-search-icon{
    width: auto;
    display: inline-block;
    padding: 12px;
    line-height: 0;
    border: 1px solid white;
}
.dgwt-wcas-search-icon:hover{
    border: 1px solid #5B7980;
}
.dgwt-wcas-search-form{
    inset: 0 0 auto auto !important;
    width: 330px !important;
    min-width: 200px !important;
}
.dgwt-wcas-sf-wrapp{
    padding: 0 !important;
}
.dgwt-wcas-search-submit{
    inset: 50% 0 auto auto !important;
    transform: translateY(-50%) !important;
    height: 20px;
    width: 20px;
    padding: 0 12px !important;
    width: 44px !important;
    height: 34px !important;
    border-left: 1px solid #A7C5CC !important;
    border-radius: 0 !important;
}
.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit:hover{
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}
.dgwt-wcas-search-submit svg path{
    fill: #5B7980 !important;
}
.dgwt-wcas-search-submit:before{
    content: "";
    width: 1px;
    height: 90%;
    position: absolute;
    top: 5%;
    left:0;
    background: #A7C5CC;
}
.dgwt-wcas-search-input{
    padding: 11px 40px 11px 16px !important;
    border: 1px solid #5B7980 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    font-family: "Mallory", sans-serif !important;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px !important;
}
@media(max-width:1460px){
    .dgwt-wcas-search-form{
        width: calc((100vw - 40px) * 0.23)!important;
    }
}
@media (max-width: 991px){
    .search-form{
        order: 1;
    }
    .dgwt-wcas-search-icon{
        padding: 0;
        border: none;
    }
    .dgwt-wcas-search-icon:hover{
        border: none;
    }
    .dgwt-wcas-search-form{
        inset: 0 0 auto auto !important;
        width: 330px !important;
        min-width: 200px !important;
    }
    .dgwt-wcas-sf-wrapp{
        padding: 0 !important;
    }
    .dgwt-wcas-search-submit{
        inset: 50% 0 auto auto !important;
        transform: translateY(-50%) !important;
        height: 20px;
        width: 20px;
        padding: 0 12px !important;
        width: 44px !important;
        height: 34px !important;
        border-left: 1px solid #A7C5CC !important;
        border-radius: 0 !important;
    }
    .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit:hover{
        background: transparent;
        box-shadow: none;
        border-radius: 0;
    }
    .dgwt-wcas-search-submit svg path{
        fill: #5B7980 !important;
    }
    .dgwt-wcas-search-submit:before{
        content: "";
        width: 1px;
        height: 90%;
        position: absolute;
        top: 5%;
        left:0;
        background: #A7C5CC;
    }
    .dgwt-wcas-search-input{
        padding: 11px 40px 11px 16px !important;
        border: 1px solid #5B7980 !important;
        border-radius: 0 !important;
        box-shadow: none !important;

        font-family: "Mallory", sans-serif !important;
        font-weight: 400;
        font-size: 14px;
        line-height: 20px !important;
    }
}



/* MY ACCOUNT */
#my-account{
    display: flex;
    justify-content: end;
    align-items: end;
    column-gap: 2px;
}
#my-account .logged-in{
    background: #722E79;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    align-self: start;
    margin-top: 2px;
}
@media (max-width: 991px){
    #my-account{
        order: 3;
        justify-content: start;
    }
}
@media (max-width: 767px){
    #my-account{
        justify-content: end;
    }
}

/* MINI CART */
#open-cart{
    display: flex;
    flex-flow: row nowrap;
    justify-content: end;
    align-items: end;
    column-gap: 5px;
}
#open-cart .count{
    width: 16px;
    height: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: #722E79;
    color: white;

    font-weight: 700;
    font-size: 12px;
    line-height: 1;
    text-align: center;
}

/*  -- MINI CART - SECTION */
.mini-cart{
    overflow-y: auto;
    position: fixed;
    top: 0;
    right: -9999px;
    width: min(100%, 400px);
    height: 100vh;
    z-index: 9999;
    background: white;
    transition: right 0.3s ease-in-out;
    padding: 0 20px 40px;
    display: flex;
    flex-flow: column nowrap;
}
.widget_shopping_cart_content{
    display: flex;
    flex-flow: column nowrap;
    justify-content: start;
    align-items: stretch;
    flex-grow: 1;
}
.mini-cart-title{
    margin-top: 30px;
    font-weight: 400;
    font-size: 24px;
    line-height: 1.42;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.mini-cart.open{
    right: 0;
}
.mini-cart #close-cart{
    background: transparent;
    padding: 0;
    border: none;
    line-height: 1;
    position: absolute;
    top: 30px;
    right: 20px;
}
.mini-cart .woocommerce-mini-cart__empty-message{
    margin: auto 0;
    text-align: center;
}
.mini-cart .cart_list{
    margin: 0;
    width: 100%;
    height: 100%;
    max-height: 60vh;
    overflow: auto;

    display: flex;
    flex-flow: column nowrap;
    align-items: stretch;
}
.mini-cart .cart_list li{
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    row-gap: 5px;
    padding: 20px 30px 20px 100px;
    position: relative;
    min-height: 120px;
}
.mini-cart .cart_list li:not(:last-child){
    border-bottom: 1px solid #A7C5CC;
}
.mini-cart .remove_from_cart_button{
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #5B7980;
    border-radius: 50%;
    color: #5B7980;
}
.mini-cart .attachment-woocommerce_thumbnail{
    position: absolute;
    left: 0;
    top: 20px;
    width: 80px;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border: 1px solid #333333;
}
.mini-cart  .cart_list li a:not(.remove){
    font-weight: 500;
    font-size: 14px;
    line-height: 1.43;
    color: #333333;
}
.mini-cart .cart_list li a:not(.remove):hover{
    color: #5B7980;
}

.variation-wrap .variation-title{
    font-weight: 400;
    font-size: 14px;
    line-height: 1.43;
    text-decoration: underline;
    color: #333333;
    padding: 0;
    border: none;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: end;
    column-gap: 6px;
}
.variation-wrap .variation-title svg{
    margin-bottom: 5px;
}
.variation-wrap .variation-title svg.flipped{
    transform: rotate(180deg);
}
.variation-wrap .variation{
    margin-top: 6px;
    margin-bottom: 5px;
    display: flex;
    flex-flow: row wrap;
    justify-content: start;
    align-items: center;
    column-gap: 6px;
    row-gap: 6px;
    max-width: 250px;
}
.variation-wrap .variation{
    display: none;
}
.variation-wrap .variation span{
    font-size: 12px;
    line-height: 1.2;
    font-weight: 400;
    color: #5B7980;
    padding-right: 6px;
    border-right: 1px solid #5B7980;
}
.variation-wrap .variation span:last-child{
    padding-right: 0;
    border: none;
}

.mini-cart .quantity{
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
    color: #5B7980;
}

.woocommerce-mini-cart__total{
    padding: 30px 0;
    border: 1px solid #A7C5CC;
    border-width: 1px 0;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    row-gap: 10px;
    margin-top: auto;
}
.woocommerce-mini-cart__total strong{
    font-weight: 400;
    font-size: 18px;
    line-height: 20px;
    text-align: center;
    color: #333333
}
.woocommerce-mini-cart__total .amount{
    font-weight: 500;
    font-size: 24px !important;
    line-height: 1;
    text-align: center;
    color: #333333;
}

.woocommerce-mini-cart__buttons{
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: stretch;
    column-gap: 10px;
    margin-top: 30px;
}
.woocommerce-mini-cart__buttons a{
    flex: 1;
    padding: 11px 30px;
    background-color: #A7C5CC;
    background-image: url("./img/dugme-ukras-levo.svg"),
    url("./img/dugme-ukras-desno.svg") !important;
    background-size: auto 100%, auto 100%;
    background-position: left center, right center;
    background-repeat: no-repeat, no-repeat;
    background-clip: border-box !important;
    font-weight: 500;
    font-size: 12px;
    line-height: 17px;
    letter-spacing: 0.5px;
    text-align: center;
    text-transform: uppercase;
    color: #FFFFFF;
    width: 100%;
}
.woocommerce-mini-cart__buttons a.checkout{
    background-color: #5B7980;
}

@media (max-width: 991px){
    .mini-cart-header{
        order: 4;
    }
}
@media (max-width: 767px){
    .woocommerce-mini-cart__total{
        padding: 20px 0;
        row-gap: 5px;
    }
    .woocommerce-mini-cart__total strong{
        font-size: 16px;
        line-height: 18px;
    }
    .woocommerce-mini-cart__total .amount{
        font-size: 20px !important;
    }
}



/* HEADER DECORATION */

.header-decoration{
    width: 100%;
    height: 1px;
    position: relative;
    margin-top: -10px;
}
.header-decoration:before{
    content: "";
    width: 100vw;
    height: 1px;
    left: calc((100vw - 1420px) / -2);
    right: 0;
    top: 0;
    background: #D7E9ED;
    position: absolute;
}
.header-decoration:after{
    content: url("./img/border-decoration.svg");
    position: absolute;
    left: 50%;
    top: 1px;
    transform: translate(-50%, -50%);
}

@media (max-width: 1460px){
    .header-decoration:before{
        left: -20px;
    }
}
@media (max-width: 991px){
    .header-decoration{
        display: none;
    }
}

/* PRIMARY MENU */
.primary-menu-wrap{
    width: 100%;
}
.hamburger{
    display: none;
    background: transparent;
    border: none;
    padding: 0;
}
.hamburger img{
    width:30px;
}
.primary-menu{
    width: 100%;
}
.primary-menu .menu{
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    column-gap: 4%;
}
.primary-menu .menu-item{
    padding: 0 0 37px;
}
.primary-menu .menu-item > a{
    font-weight: 500;
    font-size: 14px;
    line-height: 1.42;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #5B7980;
}
.primary-menu .menu-item a:hover{
    color: #333333;
}
.primary-menu .toggle-submenu{
    display: none;
}

@media (max-width: 1460px){
    .primary-menu:before{
        left: -20px;
    }
}
@media (max-width: 991px){
    .hamburger{
        display: flex;
    }
    .hamburger .close{
        display: none;
    }
    .hamburger.visible .close{
        display: block;
    }
    .hamburger.visible .open{
        display: none;
    }
    .primary-menu .toggle-submenu{
        display: inline-block;
        background: transparent;
        border: none;
    }
    .primary-menu{
        order: 0;
        position: absolute;
        max-width: 100vw;
        left: 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
        pointer-events: none;
        z-index: 0;
        overflow: hidden;
    }
    .primary-menu.visible{
        top: 100%;
        left: 0;
        background: white;
        z-index: 9999;
        padding: 30px 20px 45px;
        width: 100vw;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
    .primary-menu .menu{
        flex-flow: column nowrap;
        justify-content: start;
        align-items: stretch;
    }
    .primary-menu .menu-item{
        padding: 20px 0;
        display: flex;
        flex-flow: row wrap;
        justify-content: space-between;
        align-items: center;
    }
    .primary-menu .menu-item{
        border-bottom: 1px solid #D7E9ED;
    }
    .primary-menu .menu-item:first-child{
        border-top: 1px solid #D7E9ED;
    }
    .primary-menu .menu-item > a{
        font-size: 16px;
        color: #333333;
    }
}

/* PRIMARY MENU - MEGA MENU*/
.mega-nav{
    opacity: 0;
    visibility: hidden;
    display: block;
    position: absolute;
    bottom: 0;
    transform: translateY(100%);
    z-index: 9999;
    background: #FFFFFF;
    border-top: 1px solid #D7E9ED;
    left: 0;
    right: 0;
    width: 100vw;
	max-width: 100%;
    min-height: 400px;
    padding: 30px 0 60px;
}
.mega-nav.active{
    opacity: 1;
    visibility: visible;
}
.site-header .mega-nav .container{
    max-width: 1160px;
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    grid-template-rows: auto;
    align-items: start;
    column-gap: 26px;
}
.mega-nav-subwrapper{
    display: flex;
    flex-flow: row nowrap;
}
.mega-nav-subwrapper:not(:last-child){
    margin-top: 40px;
}
.mega-nav-subtitle{
    font-weight: 500;
    font-size: 14px;
    line-height: 1.42;
    letter-spacing: 1px;
    color: #5B7980;
}
.mega-nav-submenu{
    list-style-type: none;
    padding: 0;
    display: block;
    column-count: 2;
    column-gap: 56px;
}
.submenu-item{
    font-weight: 500;
    font-size: 14px;
    line-height: 1.42;
    color: #5B7980;
}
.submenu-item:not(:last-child){
    margin-bottom: 10px;
}
.submenu-item a{
    font-weight: 300;
    font-size: 14px;
    line-height: 1.2;
    margin-bottom: 12px;
    letter-spacing: 1px;
    color: #5B7980;
}
.submenu-item:hover a{
    color: #333333;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.mega-nav-featured{
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    grid-template-rows: auto;
    align-items: stretch;
    position: relative;
}
.mega-nav-featured:before,
.mega-nav-featured:after{
    content: "";
    background: url("./img/cat_icon.svg");
    width: 11px;
    height: 11px;
    display: inline-block;
    position: absolute;
}
.mega-nav-featured:before{
    left:0;
    top: 50%;
    transform: translate(-50%, -50%);
}
.mega-nav-featured:after{
    right: 0;
    top: 50%;
    transform: translate(50%, -50%);
}
.mega-nav-featured-content:last-child,
.mega-nav-featured-img:first-child{
    grid-column: span 2;
}
.mega-nav-featured-content{
    padding: 9% 15%;
    background: linear-gradient(180deg, #F3F8F9 24.2%, #5B7980 344.25%);
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: start;
}
.mega-nav-featured-content p{
    font-weight: 500;
    font-size: 14px;
    line-height: 1.43;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #333333;
}
.mega-nav-featured-content p:not(:last-child){
    margin-bottom: 8px;
}
.mega-nav-featured-content ul:not(:last-child){
    margin-bottom: 33px;
}
.mega-nav-featured-content li a{
    font-weight: 300;
    font-size: 14px;
    line-height: 1.2;
    letter-spacing: 1px;
    color: #5B7980;
}
.mega-nav-featured-content li:not(:last-child){
    margin-bottom: 12px;
}
.mega-nav-featured-content li:hover a{
    color: #333333;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.mega-nav-featured-img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width:991px){
    .mega-nav{
        position: relative;
        inset: unset;
        transform: none;
        width: 100%;
        height: 0;
        min-height: 0;
        padding: 0;
        border: none;
    }
    .mega-nav.active{
        opacity: 1;
        visibility: visible;
        height: fit-content;
        padding: 20px 0 10px;
    }
    .site-header .mega-nav .container{
        max-width: 1160px;
        grid-template-columns: minmax(0,1fr);
        row-gap: 30px;
        padding: 0;
        width: calc(100% + 40px);
        margin: 0 -20px;
    }
    .mega-nav-subwrapper:not(:last-child){
        margin-top: 0;
    }
    .mega-nav-submenu{
        column-count: 1;
        padding-left: 20px;
    }
    .submenu-item a{
        font-weight: 400;
    }
    .mega-nav-featured{
        display: grid;
        grid-template-columns: minmax(0,62%) minmax(0,1fr);
    }
    .mega-nav-featured:before,
    .mega-nav-featured:after{
        display: none;
    }
    .mega-nav-featured-content{
        padding: 30px 20px;
        background: linear-gradient(180deg, #F3F8F9 24.2%, #5B7980 344.25%);
    }
    .mega-nav-featured-content p{
        font-weight: 500;
        font-size: 16px;
    }
    .mega-nav-featured-content li:not(:last-child){
        margin-bottom: 8px;
    }
    .mega-nav-featured-content ul:not(:last-child){
        margin-bottom: 20px;
    }
    .mega-nav-featured-content li a{
        font-size: 12px;
    }
}


/* ****************************************************************
         P R O I Z V O D I - L I S T A NJ E  I  K A R T I C E
   **************************************************************** */
ul.products:not(.splide__list){
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-template-rows: auto;
    column-gap: 10px;
    row-gap: 10px;
}
ul.products li.product {
    background: linear-gradient(180deg, #FEFEFE 50%, #F3F8F9 100%);
    text-align: center;
    padding: 35px 20px;
    border: 1px solid #A7C5CC00;
    border-top-color: #FEFEFE;
    display: flex;
    flex-flow: column nowrap;
    justify-content: start;
    align-items: center;
}
ul.products li.product:hover {
    background: white;
    border: 1px solid #A7C5CC;
}
ul.products li.product .single_3d_sticker {
    position: absolute;
    right: 10px;
    top: 10px;
}
ul.products li.product:hover::before {
    content: '';
    background: url(./img/cat_icon.svg);
    position: absolute;
    width: 11px;
    height: 11px;
    left: -1px;
    top: 50%;
    transform: translate(-50%);
    opacity: 0;
}
ul.products li.product:hover::after {
    content: '';
    background: url(./img/cat_icon.svg);
    position: absolute;
    width: 11px;
    height: 11px;
    right: -11px;
    top: 50%;
    transform: translate(-50%);
    opacity: 0;
}
ul.products li.product:hover::before,
ul.products li.product:hover::after {
    opacity: 1;
}
ul.products li.product .woocommerce-LoopProduct-link{
    display: flex;
    flex-flow: column nowrap;
    justify-content: start;
    align-items: center;
}
ul.products li.product .attachment-woocommerce_thumbnail {
    width: 100%;
    aspect-ratio: 1;
    max-width: 80%;
    object-fit: contain;
    height: auto;
    display: block;
    margin: auto;
}

ul.products li.product .woocommerce-loop-product__title {
    text-align: center;
    color: #333333;
    font-size: 14px;
    line-height: 1.43;
    min-height: 2.86em;
    font-weight: 500;
    word-break: normal;
    max-width: 80%;
    margin: 20px auto 0;
}
@media (max-width:767px){
    ul.products li.product .woocommerce-loop-product__title {
        max-width: 100%;
    }
}

ul.products li.product a.button {
    display: block;
    padding: 11px 30px;
    background-color: #D7E9ED !important;
    background-image: url(./img/dugme-ukras-levo-plava.svg), url(./img/dugme-ukras-desno-plava.svg) !important;
    background-size: auto 100%, auto 100%;
    background-position: left center, right center;
    background-repeat: no-repeat, no-repeat;
    background-clip: border-box;
    font-weight: 500;
    font-size: 10px;
    line-height: 17px;
    letter-spacing: 0.5px;
    text-align: center;
    text-transform: uppercase;
    opacity: 1 !important;
    max-width: 180px;
    width: 100%;
    /*margin: auto 0 0;*/
    margin: 0 auto;
    color: #5B7980;
}

ul.products li.product .price {
    color: #333333;
    font-size: 14px;
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

.product .added_to_cart{
    display: none;
}

/* Product list baner */

.product.banner-product {
    grid-row: span 2;
    grid-column: span 2;
    padding: 0 !important;
    height: 100%;
    border: none !important;
}

.product.banner-product .banner-wrapper,
.product.banner-product .splide__track,
.product.banner-product .splide__track img {
    height: 100%;
	object-fit: cover;
}

.product.banner-product .splide__pagination {
    position: absolute;
    bottom: 50px;
    z-index: 3;
    width: auto;
}

.product.banner-product .splide .splide__pagination li {
    min-width: auto;
    margin: 0 5px;
}

.product.banner-product .splide li:has(.splide__pagination__page.is-active):before,
.product.banner-product .splide li:has(.splide__pagination__page.is-active):after {
    display: none;
}

.product.banner-product .splide li .splide__pagination__page {
    background-image: url(./img/baner_dot.svg);
    background-size: contain;
    width: 24px;
    height: 24px;
    background-color: transparent;
    display: block;
}  

.product.banner-product .splide li .splide__pagination__page.is-active {
    background-image: url(./img/active_baner_dot.svg);
    background-size: contain;
    width: 24px;
    height: 24px;
    background-color: transparent;
    display: block;
}

.product.banner-product .splide .splide__pagination {
    border-bottom: none;
} 

@media (max-width:1400px){
    ul.products:not(.splide__list){
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
    .banner_filter .bapf_body ul li label {
        width: 150px;
        font-size: 13px;
    }
}

@media (max-width:1200px){
    ul.products:not(.splide__list) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width:992px){
    ul.products li.product:hover {
        background-color: #fff;
        border-color: #A7C5CC;
    }
    ul.products li.product:hover a.button{
        background-image: url(./img/dugme-ukras-levo.svg), url(./img/dugme-ukras-desno.svg) !important;
        background-color: #5B7980 !important;
        color: #fff;
    }
}
@media (max-width:991px){
    ul.products:not(.splide__list){
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .banner_filter .bapf_body ul li label {
        width: 100% !important;
        padding: 0 30px;
    }
}

@media (max-width:767px){
    ul.products:not(.splide__list){
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    ul.products li.product {
        padding: 20px 16px;
    }
    ul.products li.product .attachment-woocommerce_thumbnail {
        max-width: 90%;
        aspect-ratio: 1;
    }
    ul.products li.product .price {
        font-size: 12px;
        margin: 20px 0;
    }
    ul.products li.product a.button {
        padding: 11px 10px;
        font-size: 8px;
    }
    .products-section .woocommerce .product.banner-product {
        grid-row-start: 3 !important;
        grid-row-end: 4 !important;
        grid-row: span 1;
        grid-column: span 2;
    }
    .products-section .woocommerce .product.banner-product.banner-product-1 {
        grid-row-start: 6 !important;
        grid-row-end: 7 !important;
        grid-row: span 1;
        grid-column: span 2;
    }
    .product.banner-product .banner-wrapper,
    .product.banner-product .splide__track,
    .product.banner-product .splide__track img {
        height: auto;
    }

    ul.products li.product .single_3d_sticker {
        width: 20px;
    }
    
}



/* Kontakt */

.maps_wrapper {
    margin-top: 30px;
}


.maps_wrapper h3 {
    font-size: 24px;
    line-height: 34px;
    font-weight: 700;
    text-align: center;
    color: #722E79;
    border-bottom: 1px solid #B7C5CA;
    padding-bottom: 23px;
    margin-bottom: 23px;
}

.maps_wrapper iframe {
    margin-bottom: 30px;
}


.maps_wrapper h3 {
    text-align: center;
}

.kontakt_slike {
    width: 100%;
    position: relative;
    border-bottom: 1px solid #d5d5d5;
    padding-bottom: 25px;
    margin-bottom: 25px;
    display: flex;
    flex-wrap: wrap;
}

.kontakt_left, .kontakt_right {
    width: 48.5%;
}

.kontakt_left p {
    margin-bottom: 10px;
}


.kontakt_left {
    margin-left: 3%;
}

.kontakt_right img {
    width: 100%;
    height: auto;
}


.maps_wrapper h3,
.fluentform h3 {
    font-size: 24px;
    line-height: 34px;
    font-weight: bold;
    text-align: center;
    color: #722E79;
    border-bottom: 1px solid #B7C5CA;
    padding-bottom: 23px;
    margin-bottom: 23px;
}


.poslovni_podaci {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 25px;
}

.poslovni_podaci .p_form h3 {
    text-transform: capitalize;
}

.p_form .ff-text-right {
    text-align: left;
}

.p_form .ff-text-right .ff-btn-submit {
    display: block;
    padding: 11px 30px 11px 30px;
    background-color: #5B7980 !important;
    background-image: url(./img/dugme-ukras-levo-bela.svg), url(./img/dugme-ukras-desno-bela.svg) !important;
    background-size: auto 100%, auto 100%;
    background-position: left center, right center;
    background-repeat: no-repeat, no-repeat;
    background-clip: border-box;
    font-weight: 500;
    font-size: 10px;
    line-height: 17px;
    letter-spacing: 0.5px;
    text-align: center;
    text-transform: uppercase;
    opacity: 1 !important;
    max-width: 215px;
    width: 100%;
    margin: 0 0 0 auto;
    color: #fff;
    border: none;
    position: relative;
    cursor: pointer;
    margin: 20px 0 0;
}


@media (max-width: 767px){
    .kontakt_left, .kontakt_right {
        width: 100%;
    }
    .kontakt_left {
        margin-top: 15px;
        margin-left: 0;
    }
    .kontakt_left p {
        font-size: 14pxxw;
    }
    .poslovni_podaci {
        grid-template-columns: repeat(1, 1fr);
    }

}




