main{
    padding-bottom: 120px
}
main section:not(:last-child){
    margin-bottom: 60px;
}
section{
    scroll-margin-top: 80px;
}
@media(max-width: 767px){
    main section:not(:last-child){
        margin-bottom: 40px;
    }
    main{
        padding-bottom: 70px;
    }
}



.header-wrapper,
.text-section:has(.title){
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
    column-gap: 35px;
    row-gap: 18px;
    margin-bottom: 40px;
}
.header-wrapper:after,
.text-section:has(.title):after{
    content: '';
    position: relative;
    display: block;
    flex: 1;
    height: 1px;
    width: auto;
    background-color: #3C3C3C4D;
}
.header-wrapper .title,
.text-section .title{
    font-weight: 300;
    font-size: 30px;
    line-height: 1.2;
    color: #3C3C3C;
}
.header-wrapper .title:only-child{
    margin-bottom: 0;
}
.header-wrapper .title strong,
.text-section .title strong{
    font-weight: 600;
}
.header-wrapper .description,
.text-section .text-section-wrapper{
    width: 100%;
    order: 2;
}
.header-wrapper .text{
    width: 100%;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.2;
    color: #3C3C3C;
    max-width: 880px;
}

@media(max-width: 767px){
    .header-wrapper{
        row-gap: 12px;
        margin-bottom: 30px;
    }
    .header-wrapper:after,
    .text-section:has(.title):after{
        display: none;
    }
    .header-wrapper .title,
    .text-section .title{
        font-size: 24px;
    }
    .header-wrapper .text{
        font-size: 14px;
    }
}


/*   HERO   */
.hero{
    margin-bottom: 80px;
    position: relative;
    padding: 6% 0 8%;
    overflow: hidden;
}
.hero.no-background{
    padding: 25px 0 0;
}
.hero .container,
.hero.no-background.has-media .container{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    align-items: center;
    gap: 30px 4%;
}
.hero.no-background .container{
    grid-template-columns: minmax(0, min(70%,680px)) minmax(0, 1fr);
}
.hero-content,
.hero.no-background.has-media .hero-content{
    max-width: 530px;
    z-index: 2;
}
.hero.no-background .hero-content{
    max-width: 100%;
}
.hero-background, .hero-background > img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-content-text *:last-child{
    margin-bottom: 0;
}
.hero.no-background .hero-content-text{
    color: #3C3C3C;
}
h1{
    font-weight: 300;
    font-size: 50px;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 16px;
}
h1 strong{
    font-weight: 600;
}
.hero-content-text .tagline{
    font-weight: 400;
    font-size: 20px;
    line-height: 1.2;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.hero-content-text > p{
    font-weight: 400;
    font-size: 16px;
    line-height: 1.2;
}
.hero-content-text ul{
    list-style-type: disc;
    padding-left: 28px;
    margin-bottom: 24px;
}
.hero-content-text ol{
    list-style-type: decimal;
    padding-left: 28px;
    margin-bottom: 24px;
}
.hero-content-text li:not(:last-child){
    margin-bottom: 10px;
}
.ekspedicija-button,
.image-box__link{
    display: inline-block;
    padding: 16px 38px;
    background: #F15A22;
    border-radius: 60px;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.2;
    color: white!important;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    margin-top: 40px;
}
.hero-media-image{
    height: auto;
    border-radius: 10px;
}
.yt-embed{
    position: relative;
}
.yt-embed iframe, .yt-embed img{
    width: 100%;
    height: auto;
    aspect-ratio: 1.5;
    object-fit: cover;
    border-radius: 10px;
}
.yt-embed__play-btn{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #FFFFFFBF;
    box-shadow: 0 0 43px 0 #00000063;
    border: none;
    color: white;

    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    transform-origin: center;
}
.yt-embed__play-btn svg{
    width: 30px;
    height: 30px;
}

@media(min-width: 1025px){
    .ekspedicija-button:hover{
        background: #3C3C3C;
        color: white !important;
    }
}
@media(max-width: 1024px){
    h1{
        font-size: 40px;
    }
    .hero-content-text .tagline{
        font-size: 16px;
    }
    .hero-content-text > p{
        font-size: 14px;
    }
}
@media(max-width: 767px){
    .hero:not(.no-background){
        margin-bottom: 50px;
        padding: 30px 0 0;
        min-height: 160vw;
    }
    .hero.no-background{
        padding: 30px 0 0;
        margin-bottom: 50px;
    }
    .hero-background, .hero-background > img{
        object-position: bottom center;
    }
    .hero .container,
    .hero.no-background.has-media .container,
    .hero.no-background .container{
        grid-template-columns: minmax(0, 1fr);
    }
    h1{
        font-size: 36px;
        margin-bottom: 10px;
    }
    .hero:not(.no-background) .hero-content{
        padding-bottom: 80%;
    }
    .hero-content-text > p{
        font-size: 16px;
    }
    .hero-content-text .tagline{
        font-size: 20px;
    }
    .ekspedicija-button{
        padding: 12px 28px;
        font-size: 14px;
        margin-top: 24px;
    }
    .yt-embed__play-btn{
        width: 50px;
        height: 50px;
    }
    .yt-embed__play-btn svg{
        width: 20px;
        height: 20px;
    }
}


/*   Icon boxes   */
.icon-boxes__wrapper{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto;
    align-items: stretch;
    gap: 20px;
}
.icon-box{
    padding: 7% 5% 8%;
    background: #FFFFFF;
    border-radius: 4px;
    color: #3C3C3C;
}
.icon-box__head{
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: start;
    gap: 20px;
    margin-bottom: 30px;
}
.icon-box__icon{
    max-width: 14%;
}
.icon-box__title{
    font-weight: 500;
    font-size: 26px;
    line-height: 1.2;
}
.icon-box__content{
    font-weight: 400;
    font-size: 18px;
    line-height: 1.44;
}
@media(max-width: 1024px){
    .icon-box__title{
        font-size: 22px;
    }
    .icon-box__content{
        font-size: 16px;
    }
}
@media(max-width: 767px){
    .icon-boxes__wrapper{
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    .icon-box__head{
        margin-bottom: 20px;
    }
    .icon-box__title{
        font-size: 24px;
    }
}


/*   Image boxes   */
.image-boxes__wrapper{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto;
    align-items: stretch;
    gap: 20px;
}
.image-box{
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-flow: column nowrap;
    align-items: start;
    justify-content: start;
}
.image-box__img{
    width: 100%;
    height: auto;
    aspect-ratio: 1.3;
    object-fit: cover;
    border-radius: 4px;
}
.image-box__content{
    padding: 6.5% 6.5% 8.5%;
    background: #FFFFFF;
    height: 100%;
    color: #3C3C3C;

    display: flex;
    flex-flow: column nowrap;
    align-items: start;
    justify-content: start;
}
.image-box__title{
    font-weight: 500;
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 20px;
}
.image-box__description{
    font-weight: 400;
    font-size: 16px;
    line-height: 1.2;
}
.image-box__description:not(:last-child){
    margin-bottom: 20px;
}
.image-box__link{
    margin-top: auto;
}

@media(max-width: 1024px){
    .image-box__title{
        font-size: 22px;
    }
    .image-box__description{
        font-size: 14px;
    }
}
@media(max-width: 767px){
    .image-boxes__wrapper{
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    .image-box__content{
        padding: 20px 15px;
    }
    .image-box__title{
        font-size: 24px;
        margin-bottom: 20px;
    }
    .image-box__description{
        font-size: 14px;
    }
}

/*   Text with image    */
.media-section{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    align-items: center;
    gap: 20px 4%;
    padding: 3% 3.5%;
    background: #FFFFFF;
    border-radius: 4px;
    margin-bottom: 32px !important;
}
.media-section + *:not(.media-section){
    margin-top: 80px;
}
.image-container{
    border-radius: 10px;
    overflow: hidden;
}
.image-container.right{
    order: 2;
}
.image-container img{
    width: 100%;
    height: auto;
    aspect-ratio: 1.55;
    object-fit: cover;
}
.text-container{
    color: #3C3C3C;
}
.text-container h2{
    font-weight: 600;
    font-size: 30px;
    line-height: 1.2;
    margin: 0 0 32px;
}
.text-container h3{
    font-weight: 600;
    font-size: 24px;
    line-height: 1.2;
    margin: 0 0 24px
}
.text-container p{
    font-weight: 400;
    font-size: 16px;
    line-height: 1.2;
}
@media(max-width: 1024px){
    .text-container h2{
        font-size: 26px;
    }
    .text-container h3{
        font-size: 22px;
    }
    .text-container p{
        font-size: 14px;
    }
}
@media(max-width: 767px){
    .media-section{
        grid-template-columns: minmax(0, 1fr);
        padding: 20px 15px;
    }
    .media-section + *:not(.media-section){
        margin-top: 50px;
    }
    .image-container.right{
        order: -1;
    }
    .text-container h2{
        font-size: 24px;
        margin-bottom: 20px;
    }
    .text-container h3{
        font-size: 18px;
        margin-bottom: 20px;
    }
}



/*   Products Shortcode   */
@media(max-width: 1200px){
    ul.products:not(.splide__list) {
        grid-template-columns: repeat(4, minmax(0px, 1fr));
    }
}
@media(max-width: 880px){
    ul.products:not(.splide__list) {
        grid-template-columns: repeat(3, minmax(0px, 1fr));
    }
}
@media(max-width: 767px){
    ul.products:not(.splide__list) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 13px;
    }
}


/*   Products Custom Grid   */
.product-custom-grid ul.products:not(.splide__list){
    grid-template-columns: repeat(var(--grid-cols), minmax(0, 1fr));
}
.products.dark li.product{
    background: #A6ADB9;
}
.products.dark .woocommerce-loop-product__title,
.products.dark li.product .price .amount {
    color: white;
}
.products.dark li.product .price ins > .amount{
    color: #F12225;
}
.products.dark .product-info-wrapper .add_to_cart_button,
.products.dark .product-info-wrapper .button{
    background: #3C3C3C;
}
@media(max-width: 990px){
    .product-custom-grid ul.products:not(.splide__list){
        grid-template-columns: repeat(calc(var(--grid-cols) - 1), minmax(0, 1fr));
    }
}
@media(max-width: 767px){
    .product-custom-grid ul.products:not(.splide__list){
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/*   Video slider   */
#video-snimci .splide__slide{
    width: 100%;
    height: auto;
    aspect-ratio: 1.78;
    border-radius: 4px;
}
#video-snimci .splide__slide:after{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.24) 100%);
    border-radius: 4px;
}
#video-snimci .splide__slide img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}
#video-snimci .caption{
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: calc(100% - 40px);
    color: white;
    font-weight: 500;
    font-size: 18px;
    margin: 0;
    z-index: 1;
}
#video-snimci .splide__video{
    z-index: 5;
}
#video-snimci .splide__video__play{
    opacity: 1;
    background: #3C3C3CCC;
    width: 60px;
    height: 60px;
}
#video-snimci .splide__video__play:after {
    border-color: transparent transparent transparent #FFF;
    border-width: 13px 0 13px 25px;
}
#video-snimci iframe{
    border-radius: 4px;
}
#video-snimci .splide__arrow {
    background: #FFFFFF;
    opacity: 1;
    width: 40px;
    height: 40px;
}

@media(max-width: 1024px){
    #video-snimci .caption{
        font-size: 16px;
    }
}
@media(max-width: 767px){
    #video-snimci .caption{
        font-size: 14px;
        bottom: 15px;
        left: 15px;
        width: calc(100% - 30px);
    }
    #video-snimci .splide__arrow {
        width: 30px;
        height: 30px;
    }
    #video-snimci .splide__video__play{
        width: 40px;
        height: 40px;
    }
    #video-snimci .splide__video__play:after {
        border-width: 9px 0 9px 17px;
    }
}


/*   Textual content   */
.text-section h2:not(.title){
    margin: 0 0 24px;
}
.text-section ol{
    list-style-type: decimal;
    margin: 0 0 24px;
    padding-left: 30px;
}
.text-section ul{
    list-style-type: disc;
    margin: 0 0 24px;
    padding-left: 30px;
}
.text-section li:not(:last-child){
    margin-bottom: 15px;
}
.text-section a{
    color: #F15A22;
}
.text-section-wrapper{
    color: #3C3C3C;
}
.text-section-wrapper h2 strong{
    font-weight: 600;
}



/*   Text background   */
.text-background{
    position: relative;
}
.text-background img{
    width: 100%;
    height: auto;
    aspect-ratio: 2.3;
    object-fit: cover;
}
.text-background:after{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 24.48%, rgba(0, 0, 0, 0) 57.84%);
    z-index: 1;
    display: block;
}
.text-background .text-wrapper{
    position: absolute;
    inset: 3% auto auto 50%;
    max-width: min(880px, 94%);
    width: 100%;
    z-index: 2;
    color: white;
    text-align: center;
    transform: translateX(-50%);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.2;
}
.text-background .text-wrapper a{
    color: inherit;
}
@media(max-width: 1024px){
    .text-background .text-wrapper{
        font-size: 16px;
    }
}
@media(max-width: 767px){
    .text-background img{
        aspect-ratio: 0.8;
    }
    .text-background .text-wrapper{
        font-size: 14px;
        top: 20px;
        max-width: calc(100% - 30px);
        text-align: left;
    }
}


/*   View more items   */
.view-more-items__wrapper{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto;
    align-items: stretch;
    gap: 20px;
}
.view-more-item{
    display: flex;
    flex-flow: column nowrap;
    justify-content: stretch;
    align-items: stretch;
    width: 100%;
}
.view-more-item__link{
    display: flex;
    flex-flow: column nowrap;
    justify-content: start;
    align-items: center;
    background: white;
    padding: 7%;
    border-radius: 4px;
}
.view-more-item__img{
    max-width: 60%;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
    margin-bottom: 20px;
}
.view-more-item__title{
    margin-bottom: 5px;
    text-align: center;
    font-weight: 500;
    font-size: 26px;
    line-height: 1.2;
    color: #3C3C3C;
}
.view-more-item__button{
    font-weight: 300;
    font-size: 16px;
    line-height: 1.2;
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 3px;
    color: #F05A22;
}
.view-more-item:hover .view-more-item__button{
    color: #3C3C3C;
}
@media(max-width: 1024px){
    .view-more-item__title{
        font-size: 22px;
    }
}
@media(max-width: 767px){
    .view-more-items__wrapper{
        grid-template-columns: minmax(0, 1fr);
    }
    .view-more-item__link{
        padding: 20px 15px;
    }
}




/*   Woocommerce   */
.archive-main{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    align-items: center;
}
.woocommerce-notices-wrapper, ul.products, .woocommerce-pagination{
    grid-column: 1 / -1;
}
.woocommerce-ordering{
    justify-self: end;
}
.woocommerce-ordering, .woocommerce-result-count{
    margin-bottom: 40px;
}
.product-categories-grid {
    margin-top: 70px;
    width: 100%;
}
.product-categories-grid h2 {
    font-weight: 600;
    font-size: 30px;
    color: #3C3C3C;
    margin-bottom: 24px;
}
.product-categories-grid .categories-wrapper {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    grid-gap: 20px;
    align-items: stretch;
}
.product-categories-grid .categories-wrapper li a {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: minmax(0,40%) minmax(0,1fr);
    grid-template-rows: auto;
    column-gap: 8%;
    align-items: stretch;
    padding: 0 10% 0 5%;
    border-radius: 4px;
    background: #fff;
}
.product-categories-grid .categories-wrapper li a .cat_image img {
    width: 100%;
    height: auto;
    aspect-ratio: 1.22;
    object-fit: contain;
    object-position: center;
}
.product-categories-grid .categories-wrapper li .cat_wrap {
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-between;
    row-gap: 10px;
    align-items: start;
    padding: 12% 0;
}
.product-categories-grid .categories-wrapper li .cat_wrap p {
    margin: 0;
    color: #3C3C3C;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 500;
}
.product-categories-grid .categories-wrapper li .cat_wrap span {
    display: inline-block;
    font-size: 14px;
    line-height: 1.2;
    text-decoration: underline;
    color: #3C3C3C;
}
.product-categories-grid .categories-wrapper li:hover a {
    background: linear-gradient(180deg, #FC8606 -8.45%, #F15A22 100%);
}
.product-categories-grid .categories-wrapper li:hover p,
.product-categories-grid .categories-wrapper li:hover span {
    color: #fff;
}
@media(max-width: 1024px){
    .product-categories-grid {
        margin-top: 50px;
    }
}
@media(max-width: 767px){
    .product-categories-grid {
        margin-top: 25px;
    }
    .product-categories-grid h2 {
        font-size: 22px;
        margin-bottom: 16px;
    }
    .product-categories-grid .categories-wrapper {
        grid-template-columns: minmax(0,1fr);
    }
    .woocommerce-result-count{
        margin-bottom: 10px;
        grid-column: 1 / -1;
    }
    .woocommerce-ordering{
        justify-self: start;
        margin-bottom: 20px;
        grid-column: 1 / -1;
    }
}


/* Paginacija */
.woocommerce-pagination {
    margin: 80px 0;
}
.woocommerce-pagination .page-numbers {
    display: flex;
    justify-content: center;
    margin: 0;
}
.woocommerce-pagination ul{
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.woocommerce-pagination .page-numbers li {
    margin: 0;
}

.woocommerce-pagination .page-numbers span {
    text-align: center;
}
.woocommerce-pagination .page-numbers span,
.woocommerce-pagination .page-numbers a{
    text-decoration: none;
    width: 46px;
    height: 46px;
    font-size: 16px;
    line-height: 46px;
    text-align: center;
    display: inline-block;
    border-radius: 10px;
    font-weight: 400;
}
.woocommerce-pagination .page-numbers span.current {
    background: #f05a22;
    color: white;
    border: 1px solid #f05a22;
}
.woocommerce-pagination .page-numbers a {
    color: #000;
    background: white;
    border: 1px solid #dfdfdf;
}

@media(max-width:767px){
    .woocommerce-pagination {
        margin: 40px 0 0;
    }
    .woocommerce-pagination .page-numbers span,
    .woocommerce-pagination .page-numbers a{
        width: 36px;
        height: 36px;
        font-size: 12px;
        line-height: 36px;
    }
}






.page-id-59911 .text-background img{
    object-position: bottom center;
}


/*   Ideje za secret santa poklone   */
.page-id-30629 .rank-math-breadcrumb p,
.page-id-30629 .rank-math-breadcrumb .last,
.page-id-21324 .rank-math-breadcrumb p,
.page-id-21324 .rank-math-breadcrumb .last{
    color: white;
}
.page-id-30629 .image-boxes__wrapper {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.page-id-30629 .image-box__img{
    aspect-ratio: 1;
}
.page-id-30629 #section-2 .text-section-wrapper{
    width: 100%;
}
.page-id-30629 .text-section-wrapper .ekspedicija-button{
    margin: 0;
}
.page-id-30629 .text-section-wrapper .ekspedicija-button,
.page-id-30629 .image-box__link{
    background: #d80200;
}
@media(min-width: 1024px){
    .page-id-30629 .hero,
    .page-id-21324 .hero{
        min-height: min(65vh, 660px);
    }
}
@media (max-width: 1024px) {
    .page-id-30629 .image-boxes__wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 767px) {
    .page-id-30629 .image-boxes__wrapper {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}