section{
    margin-bottom: 100px;
}
@media(max-width:767px){
    section{
        margin-bottom: 60px;
    }
}

/*Hero slider*/
#hero-splide .splide__slide{
    width: 100%;
    aspect-ratio: 2.4;
    object-fit: cover;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: start;
}
#hero-splide .splide__slide > a{
    width: 100%;
}
#hero-splide .splide__slide img{
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#hero-splide .splide__content{
    position: relative;
    max-width: 50%;
    padding-left: 7%;
}
h1{
    font-weight: 700;
    font-size: 60px;
    line-height: 1.18;
    text-transform: uppercase;
    color: white;
    margin-bottom: 24px;
}
#hero-splide .splide__slide p{
    font-weight: 400;
    font-size: 18px;
    line-height: 1.22;
    color: white;
    margin-bottom: 90px;
}
#hero-splide .splide__arrows{
    display: block;
    max-width: 1450px;
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
    position: absolute;
    left: 0;
    right: 0;
    top: 50%
}
#hero-splide .splide__arrow{
    background: transparent;
    width: 34px;
    height: 34px;
    opacity: 1;
}
#hero-splide .splide__arrow svg{
    fill: none;
    stroke: white;
    width: 34px;
    height: 34px;
    display: flex;
}
#hero-splide .splide__arrow--next{
    right: 10px;
}
#hero-splide .splide__arrow--prev{
    left: 10px;
}
#hero-splide .splide__arrow--prev svg{
    transform: rotate(180deg);
}
@media (max-width:1300px){
    h1{
        font-size: 47px;
    }
    #hero-splide .splide__slide p{
        margin-bottom: 70px;
    }
}
@media (max-width:1024px){
    h1{
        font-size: 37px;
    }
    #hero-splide .splide__slide p{
        font-size: 16px;
        margin-bottom: 30px;
    }
}
@media (max-width:880px){
    h1{
        font-size: 30px;
    }
}
@media (max-width:767px){
    #hero-splide .splide__slide{
        aspect-ratio: 0.655;
        justify-content: end;
        align-items: center;
    }
    #hero-splide .splide__slide img{
        position: absolute;
        top:0;
        left:0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    #hero-splide .splide__content{
        position: relative;
        margin: 0 auto;
        max-width: 400px;
        padding: 0 0 40px;
    }
    h1{
        font-size: 30px;
        text-align: center;
        margin-bottom: 20px;
    }
    #hero-splide .splide__slide p{
        text-align: center;
        margin-bottom: 20px;
    }
    #hero-splide .dafore-button{
        width: 100%;
    }
}
@media (max-width:576px){
    #hero-splide .splide__content{
        max-width: 290px;
    }
}

/* Kategorije proizvoda*/
#kategorije .container{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
    column-gap: 10px;
    row-gap: 25px;
}
#kategorije h2{
    font-weight: 700;
    font-size: 30px;
    line-height: 1.2;
    text-transform: uppercase;
}
#kategorije .view-all{
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
}
#kategorije-front{
    width: 100%;
}
.category-image{
    width: 100%;
    height: auto;
    aspect-ratio: 0.78;
    object-fit: cover;
    margin-bottom: 20px;
}
.category-name{
    font-weight: 700;
    font-size: 20px;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
}

@media (max-width: 767px){
    #kategorije .container{
        padding-right: 0;
        row-gap: 20px;
    }
    #kategorije h2{
        font-size: 26px;
    }
    #kategorije .view-all{
        font-size: 14px;
        margin-right: 20px;
    }
    .category-image{
        aspect-ratio: 1;
        margin-bottom: 10px;
    }
    .category-name{
        font-size: 16px;
        text-align: left;
    }
}

/* Product tabs */
.tabs{
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    column-gap: 50px;
    margin-bottom: 30px;
}
.tab-title{
    font-weight: 700;
    font-size: 26px;
    line-height: 1.23;
    text-align: center;
    text-transform: uppercase;
    color: #241F1F80;
}
.tab-title.selected{
    color: #241F1F;
    text-decoration: underline;
    text-underline-offset: 7px;
}
.splide-proizvodi{
    display: none;
    text-align: center;
}
.splide-proizvodi.selected{
    display: block;
}
.splide-proizvodi > .dafore-button{
    display: inline-block;
    margin-top: 60px;
    border: none;
    padding-top: 0;
    padding-bottom: 0;
}
@media(max-width: 767px){
    .tabs{
        column-gap: 20px;
        margin-bottom: 20px;
    }
    .tab-title{
        font-size: 18px;
    }
    .splide-proizvodi > .dafore-button{
        margin-top: 30px;
        border: 1px solid;
        padding-top: 12px;
        padding-bottom: 12px;
        max-width: 260px;
        width: 100%;
    }
}

/* Baner */
#baner img{
    width: 100%;
    height: auto;
}
/* Shop by look */
#shop-by-look .container{
    max-width: 824px;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
}
#shop-by-look h2{
    font-weight: 700;
    font-size: 30px;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 12px;
}
#shop-by-look .opis{
    font-weight: 400;
    font-size: 18px;
    line-height: 1.33;
    text-align: center;
    color: #241F1F80;
    max-width: 525px;
    margin-bottom: 50px;
}
.outfit{
    display: grid;
    grid-template-columns: minmax(0,58%) minmax(0,1fr);
    grid-template-rows: auto;
    align-items: center;
    column-gap: 12%;
}
.outfit-image{
    position: relative;
}
.hotspot{
    position: absolute;
    transform: translate(-50%,-50%);
    border-radius: 50%;
    line-height: 0;
}
.hotspot svg{
    animation: pulse-animation 2s infinite;
}
.hotspot.active svg{
    animation: none;
}
.hotspot.active svg .plus{
    display: none;
}
.hotspot.active svg .outter{
    stroke: #D51F35CC;
}
.hotspot.active svg .inner{
    fill: #D51F35;
}
.hotspot.active svg .minus{
    stroke: white;
}

@keyframes pulse-animation {
    0%   { transform: scale(1);   opacity: 1; }
    50%  { transform: scale(1.3); opacity: 0.7; }
    100% { transform: scale(1);   opacity: 1; }
}
.outfit-products .product:not(.active){
    opacity: 0;
    visibility: hidden;
    height: 0;
}
.outfit-products .woocommerce-LoopProduct-link{
    display: block;
    text-align: center;
}
.outfit-products .product-swatches{
    justify-content: center;
}
.outfit-products .woocommerce-LoopProduct-link img{
    width: 100%;
    aspect-ratio: 0.88;
}
.outfit-products .product .price{
    margin-bottom: 20px;
    text-align: center;
    justify-content: center;
}
.outfit-products .product-actions{
    width: calc(100% - 40px);
}
.outfit-products .add_to_cart_button{
    display: block;
    font-size: 14px;
}

@media(max-width:1024px){
    .outfit{
        column-gap: 30px;
    }
}
@media (max-width:767px){
    #shop-by-look h2{
        font-size: 26px;
    }
    #shop-by-look .opis{
        font-size: 14px;
        margin-bottom: 20px;
        max-width: 340px;
    }
    .outfit{
        grid-template-columns: minmax(0,51%) minmax(0,1fr);
        column-gap: 20px;
    }
    .outfit-products .woocommerce-LoopProduct-link img{
        aspect-ratio: 1.07;
    }
    .outfit-products .product .product-categories{
       font-size: 10px;
        margin-bottom: 5px;
    }
    .outfit-products .woocommerce-loop-product__title{
        font-size: 14px;
    }
    .outfit-products .product .price{
        margin-bottom: 12px;
        font-size: 14px;
    }
    .outfit-products .add_to_cart_button{
        padding: 8px;
        width: 100%;
        font-size: 12px;
    }
    .outfit-products .product-actions{
        width: calc(100% - 10px);
    }
}
@media (max-width: 410px){
    .outfit-products .add_to_cart_button{
        font-size: 10px;
    }
}

/* Izdvojene kategorije */
#izdvojene-kategorije .container{
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    grid-template-rows: auto;
    column-gap: 1px;
}
.izdvojena-kategorija{
    position: relative;
    aspect-ratio: 0.9;
    object-fit: cover;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
}
.izdvojena-kategorija img{
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    z-index: -1;
}
.izdvojena-kategorija .content{
    display: block;
    text-align: center;
    max-width: 450px;
    padding: 0 20px;
}
.izdvojena-kategorija .content h2{
    font-weight: 400;
    font-size: 36px;
    line-height: 1.16;
    text-align: center;
    text-transform: uppercase;
    color: white;
    margin-bottom: 30px;
}
.izdvojena-kategorija .content p{
    font-weight: 400;
    font-size: 16px;
    line-height: 1.25;
    text-align: center;
    color: white;
    margin-bottom: 40px;
    min-height: 3.75em;
}
.izdvojena-kategorija .dafore-button{
    max-width: 270px;
    width: 100%;
}
@media (max-width:1024px){
    .izdvojena-kategorija .content h2{
        font-size: 30px;
        margin-bottom: 20px;
    }
    .izdvojena-kategorija .content p{
        font-size: 14px;
        margin-bottom: 30px;
    }
    .izdvojena-kategorija .dafore-button{
        width: auto;
    }
}
@media (max-width:767px){
    #izdvojene-kategorije .container{
        grid-template-columns: minmax(0,1fr);
        row-gap: 20px;
    }
    .izdvojena-kategorija{
        aspect-ratio: 0.82;
        justify-content: end;
    }
    .izdvojena-kategorija .content{
        padding-bottom: 40px;
    }
    .izdvojena-kategorija .content h2{
        font-size: 26px;
        margin-bottom: 20px;
    }
    .izdvojena-kategorija .content p{
        font-weight: 400;
        font-size: 16px;
        line-height: 1.25;
        text-align: center;
        color: white;
        margin-bottom: 20px;
        min-height: auto;
    }
    .izdvojena-kategorija .dafore-button{
        max-width: 260px;
        width: 100%;
    }
}



/* Newsletter POPUP */
.sgpb-main-popup-data-container-424{
    max-width: 100vw;
}
#sgpb-popup-dialog-main-div{
    border-radius: 0;
    box-shadow: none !important;
}
#sgpb-popup-dialog-main-div > div{
    overflow: hidden !important;
}
.newsletter-popup{
    width: min(740px, calc(100vw - 60px));
    display: block;
    padding-left: 40%;
    border-radius: 20px;
    overflow: hidden;
    border-bottom: 1px solid #00000080;
    background: white;
}
.newsletter-popup img{
    width: 40%;
    position: absolute;
    top:0;
    left: 0;
    height: 100%;
    object-fit: cover;
    border-radius: 20px 0 0 20px;
}
.popup-content{
    padding: 40px 20px 20px;
    max-width: 360px;
    width: 100%;
    margin: 0 auto;

    display: flex;
    flex-flow: column nowrap;
    justify-content: start;
    align-items: center;
}
.popup-content svg{
    max-width: 160px;
    width: 100%;
    margin-bottom: 20px;
}
.popup-title{
    display: block;
    font-weight: 700;
    font-size: 30px;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.popup-title .popust{
    color: #AD8D7C;
}
.popup-title .small{
    text-transform: none;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.68;
    display: block;
}
#fluentform_4{
    max-width: 100%;
}
#fluentform_4 fieldset{
    display: block;
}
#fluentform_4 input{
    padding: 9px 23px;
    background: #F2F2F2;
    border: none;
    border-radius: 0;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.37;
}
#fluentform_4 input::placeholder{
    color: #241F1F80;
    opacity: 1;
}
#fluentform_4 .ff-custom_html p{
    font-weight: 400;
    font-size: 12px;
    line-height: 1.2;
    color: #241F1F80;
    margin-bottom: 14px;
}
#fluentform_4 .ff-el-group{
    margin-bottom: 10px;
}
#fluentform_4 .ff_submit_btn_wrapper{
    text-align: center;
}
#fluentform_4 .ff-btn-submit{
    width: 100%;
    padding: 10px;
    background: #241F1F;
    color: white;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.57;
    text-align: center;
    border-radius: 0;
}
.popup-content > a{
    display: inline-block;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.18;
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.sgpb-popup-overlay{
    max-width: 100vw;
}
@media (max-width: 767px){
    #sgpb-popup-dialog-main-div{
        max-width: 330px !important;
    }
    .newsletter-popup{
        width: 330px;
        padding-left: 0;
    }
    .newsletter-popup img{
        width: 100%;
        height: auto;
        position: relative;
        max-width: 330px;
        inset: unset;
        aspect-ratio: 1.5;
        border-radius: 20px 20px 0 0;
    }
    .popup-content{
        padding: 20px 25px;
    }
    .popup-content svg{
        max-width: 150px;
    }
    .popup-title{
        font-size: 26px;
    }
    .popup-title .small{
        font-size: 14px;
    }
    #fluentform_4 input{
        padding: 9px 16px;
    }
    #fluentform_4 .ff-custom_html p{
        font-size: 10px;
        margin-bottom: 9px;
    }
    #fluentform_4 .ff-el-group{
        margin-bottom: 5px;
    }
    .popup-content > a{
        margin-top: 8px;
    }
}