.mobile {display: none;}

@media screen and (max-width:450px){
    .header__middle-menu,
    .header__middle-cart {
        display: none;
    }
    
    .woocommerce-page header {
        background: #403636;
    }

    .header__middle-menu {
        width: 100%;
        height: 100vh;
        position: fixed;
        left: 0;
        top: 0;
        margin: 0;
        padding: 20px;
    }
    
    .header__middle-menu li {
        display: block;
        width: 100%;
        margin: 0;
        text-align: left;
    }
    
    .header__middle-menu li.menu-item-has-children ul.sub-menu li {
        border-bottom: none;
        padding: 0 10px;
        color: #FFF;
    }
    
    .header__middle-menu li.menu-item-has-children:before {
        content: '';
        width: 12px;
        height: 3px;
        position: absolute;
        right: 10px;
        top: 23px;
        background: #FFF;
        border-radius: 8px;
        transform: rotate(45deg);
    }
    .header__middle-menu li.menu-item-has-children:after {
        content: '';
        width: 12px;
        height: 3px;
        position: absolute;
        right: 10px;
        top: 30px;
        background: #FFF;
        border-radius: 8px;
        transform: rotate(-45deg);

    }
    
    .header__middle-menu a {
        line-height: 50px;
        font-weight: 300;
        font-size: 16px;
        color: #FFF !important;
    }
    .woocommerce .header__middle-menu a {
        color: #FFF !important;
    }
    
    .header__middle-menu li.menu-item-has-children ul.sub-menu {
        opacity: 0;
        visibility: hidden;
        position: relative;
        background: transparent;
        box-shadow: none;
        top: 0;
        margin: 0;
        padding: 5px 0;
        transform: translate3d(-50%,0,0);
        margin-bottom: 0;
        max-height: 0;       
    }
    
    .header__middle-menu li.menu-item-has-children:hover ul.sub-menu {
        max-height: 1000px;
    }
    
    .header__middle-menu li.menu-item-has-children ul.sub-menu:before {
        border-bottom: 8px solid rgba(0,0,0,0.1);
        top: -7px;
        border-radius: 0;
    }
    
    
    .header__middle-menu li:last-child::before,
    .header__middle-menu li:last-child::after{
        display: none;
    }
    
    .header__middle {
        padding: 0 20px;
        height: 80px;
    }
    
    .show-menu .header__middle-menu {
        display: block;
        background: url(/wp-content/themes/fototapete/img/logo.png) no-repeat 20px 15px #403636;
        padding-top: 90px;
        text-align: center;
        background-size: 100px auto;
        overflow: auto;
    }
    
    .mobile {
        float: right;
        width: 46px;
        height: 46px;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        cursor: pointer;
        margin-top: 16px;
    }

    .menu-btn {
        float: right;
        width: 46px;
        height: 46px;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        cursor: pointer;
    }

    .line {
        width: 30px;
        height: 2px;
        background: #FFF;
        border-radius: 5px;
        display: block;
        margin: 2px auto;
        transition: 0.3s;
    }
    
    .show-menu .line__mid {
        display: none;
    }
    
    .show-menu .line__top {
        margin: 0 auto;
        width: 20px;
        transform: rotate(45deg);
    }

    .show-menu .line__bot {
        margin: 0 auto;
        width: 20px;
        margin-top: -2px;
        transform: rotate(-45deg);
    }
    
    .show-menu main,
    .show-menu footer{
        max-height: 0;
        overflow: hidden;
    }
    
    .header__middle-logo img {
        font-size: 0px;
        max-width: 100px;
        height: auto;
    }

    h1 {font-size: 30px;}
    h2 {font-size: 20px;}
    h3 {font-size: 20px;}
    h4 {font-size: 18px;}
    p {font-size: 15px;}
    li {font-size: 15px;}

    .wrapper {
        padding: 0 20px;
    }

    .header__top-center p {
        text-align: left;
    }

    #hero .owl-dots {
        position: absolute;
        bottom: 60px;
        left: 20px;
        margin-left: 0;
    }

    .slide {
        width: 100%;
        height: 100vh;
    }

    .slide__ctn {
        position: relative;
        z-index: 2;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        max-width: 100%;
        padding-bottom: 60px;
    }

    .slide__ctn h1 {
        text-transform: uppercase;
        color: #FFF;
        letter-spacing: -0.04em;
        margin: 60px 0 0px;
        font-size: 30px;
        text-align: center;
    }
    
    .slide__ctn h2 {
        font-size: 20px;
    }

    .slide__ctn h1 span {
        color: #ef7f1a;
        font-size: 25px;
        display: block;
        font-weight: 700;
        letter-spacing: -0.015em;
    }

    .slide__ctn p {
        margin: 0 0 20px;
        color: #fff;
        text-align: center;
        font-size: 13px;
        text-transform: none;
        line-height: 1.5em;
    }
    
    #hero .owl-dots {
        left: calc(50% + 30px);
        transform: translate3d(-50%,0,0);
        min-width: 130px;
    }
    
    #hero .owl-nav{
        display: none;
    }
    
    #hero .owl-dot {
        margin: 0 10px;
    }
    
    #hero .social {
        left: 20px;
    }
    
    #hero .social a {
        margin-right: 20px;
    }
    
    #hero .scroll {
        left: auto;
        right: 20px;
        margin: 0;
        bottom: 60px;
    }

    .slide .md-btn {        
    margin: 0 auto;
    }

    .slide__img {
        width: 100%;
        height: 100vh;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
    }
    .slide__img img {
    }

    .about__title {
        position: relative;
        left: 0;
    }

    .about__ctn {
        flex-direction: column;
    }

    .about__left, .about__right {
        width: 100%;
    }

    .about__left img {
        max-width: 100%;
        height: auto;
    }

    .about__right {
        padding: 20px;
    }

    .catalog__title {
        position: relative;
        left: 0;
        top: 0;
        margin-left: 0;
        margin-top: 160px;
    }

    .catalog__left {
        width: 100%;
        float: left;
        padding-top: 0;
    }

    .catalog__left img {
        height: auto;
        margin: 10px 0 30px;
        position: absolute;
        top: 20px;
        left: 20px;
        max-height: 120px;
        width: auto;
        left: 50%;
        transform: translate3D(-50%,0,0) !important;
    }

    .catalog__right {
        width: 100%;
        float: left;
        padding-top: 0;
    }

    .catalog__right-row {        
    margin: 0;
    }

    .catalog__category-move__right {
        margin-left: calc(33.33% + 5px) !important;
    }

    .catalog__category {        
    width: calc(33.33% - 10px);
    margin: 0px 5px 20px;
    padding: 0;
    }

    .catalog__category-img {        
        width: 100%;
        height: 100px;
    }

    .catalog__category a {
        font-size: 15px;
    }
    
    #create {
        padding-bottom: 20px; 
    }
    
    #create::after {
        display: none;
    }

    #create h3 {
        width: 100%;
        padding-left: 0;
        margin: 0px auto 20px;
        text-align: center;
    }
    
    .create-ctn {
        display: flex;
        overflow: hidden;
    }

    .create__left {
        width: 65%;
        float: left;
        padding-right: 0;
    }

    .create__right {
        width: calc(35% - 10px);
        float: right;
        margin-top: 0px;
        text-align: right;
        position: relative;
        margin-left: 10px;
    }

    .create__right img {
        box-shadow: 20px 20px 40px 0 rgba(0,0,0,0.15);
        max-width: 100%;
        height: auto;
        display: block;
    }

    .create__right .create__icon {
        position: absolute;
        box-shadow: none;
        left: -10px;
        top: 10px;
        z-index: 2;
        max-width: 50px;
    }

    .create__right #izaberi .create__icon {
        top: 10px;
    }
    
    .create__right #kupi .create__icon {
        top: 10px;
    }
    
    .create__left .tablinks {
        padding: 20px 15px;
    }

    .create__right .tabcontent {
        padding: 0;
    }

    .create__right #izaberi  {
        top: 33.33%;
        position: absolute;
    }
    
    .create__right #kupi  {
        position: absolute;
        bottom: 0;
    }

    #calculator {
        padding: 0 0 50px;
        border-top: 1px solid rgba(0,0,0,0.05);
    }

    #calculator:before {
        display: none;
    }

    .calculator__left {
        display: block;
        width: 100%;
        margin: 0 auto 20px;
        box-shadow: none;
    }

    .calculator__1-3 {
        padding: 0px 20px 20px;
        border-right: none;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .calculator__1-3:last-child {
        border: none;
    }

    .calculator__right {
        padding: 0 0 30px;
    }

    #features {
        background: #f7f7f7;
        margin-top: -50px;
        position: relative;
        padding: 0px 0 70px;
        z-index: 1;
    }

    #features h3 {
        margin: 20px auto;
        text-align: center;
    }

    #features .owl-nav {
        position: absolute;
        top: 60px;
        width: 100%;
    }

    #features .owl-nav .owl-prev, #features .owl-nav .owl-next {
        width: 60px;
        height: 60px;
        left: -10px;
        top: 0;
    }

    #features .owl-nav .owl-next {
        background: url(/wp-content/themes/eliteprint/img/icons/next.png) no-repeat center center #FFF;
        box-shadow: -20px 20px 30px 0 rgba(0,0,0,0.2);
        left: auto;
        right: -10px;
    }

    .feature__desc {
        width: 100%;
        padding: 0 20px;
    }

    #why::before,
    #why::after { 
        display: none;
    }

    #why {
        overflow-x: hidden;
    }

    #why h3 {
        margin: 20px auto;
    }

    .why__row {
        margin: 0;
    }

    .why__row-left {
        width: 100%;
        float: left;
    }

    .why__row-right {
        width: 100%;
        float: right;
    }

    .why__row-right.why__row-txt {
        padding-left: 0;
    }

    .why__row-right img,
    .why__row-left img {
        max-width: 100%;
        height: auto;
    }

    .why__row:nth-child(3) {
        display: flex;
        flex-direction: column-reverse;
    }

    .footer__a {
        width: 100%;
        float: left;
        padding-right: 0;
        margin-bottom: 20px;
    }

    .footer__b, .footer__c {
        width: 100%;
        float: left;
    }

    .footer__b h4, .footer__c h4 {
        margin: 20px 0 10px;
    }

    .copyrights__left {
        float: left;
        width: 100%;
        text-align: center;
    }

    .copyrights__right {
        float: right;
        text-align: center;
        width: 100%;
    }

    .copyrights__left p {
        font-size: 13px;
        line-height: 1em;
        margin-bottom: 5px;
    }

    .copyrights__right a {
        font-size: 13px;
        line-height: 1em;
    }

    .copyrights {
        margin-top: 20px;
        padding: 20px 0;
    }

    .inner-page main {
        margin: 0;
    }
    
    .inner-page main.woocommerce__page {
        margin: 80px 0 0;
        box-shadow: 0 60px 0 0 #fafafa inset, 0 61px 0 0 #f2f2f2 inset;
    }
    
    .prev_next_buttons a {
        width: 158px;
        margin: -10px 0px 0;
    }
    
    .woocommerce div.product div.images {
        margin-bottom: 10px;
    }
    
    .woocommerce__page .product .product_title {
        font-size: 25px;
        text-align: center;
        margin: 0 0 10px;
    }
    
    .related.products h2 {
        font-size: 20px;
        text-align: center;     
    }
    
    .woocommerce .woocommerce-result-count {
        font-size: 12px;
        text-align: center;
        width: 100%;
        line-height: 30px;
    }

    .woocommerce .woocommerce-ordering,
    .woocommerce .woocommerce-ordering select {
        width: 100%;
    }
    
    .woocommerce-page h1.page-title {
        font-size: 20px;
        height: 60px;
    }
    
    .woocommerce ul.products li.product .woocommerce-loop-category__title {
        font-size: 14px;
    }
    
    .woocommerce ul.products li.product .woocommerce-loop-category__title .count {
        font-size: 12px;
    }
    
    .woocommerce__page .term-description {
        padding: 0 0px 20px;
    }
    #page-title h1 {
        margin: 30px auto 0px;
    }
    
    .woocommerce__page .woocommerce-loop-product__title {
        font-size: 14px !important;
        font-weight: 600;
    }

    .woocommerce #content div.product div.images, .woocommerce div.product div.images, .woocommerce-page #content div.product div.images, .woocommerce-page div.product div.images {
        float: left;
        width: 100%;
        margin: 0 auto;
    }

    .md__product__right .summary.entry-summary {
        width: 100% !important;
    }


    .woocommerce div.product form.cart table td {
        padding-left: 0;
        width: 100%;
        display: block;
    }

    .row__image {
        width: 100%;
        height: 180px;
    }

    #page__content {
        margin: 20px 0;
    }

    .paragraf__txt {
        padding: 0;
    }
    
    .paragraf__txt.first__paragraph {
        margin-top: 0;
    }
    
    .grid__items {
        display: block;
    }

    .grid__item {
        margin-bottom: 20px;
    }

    .grid__image {
        text-align: center;
        display: block;
        height: auto;
    }

    .woocommerce div.product {
        margin-bottom: 0;
        position: relative;
        display: flex;
        flex-direction: column;
        margin: 0 auto !important;
    }


    .md__product__right {
        width: 100%;
        float: right;
        padding-left: 0;
    }

    .fpd-product-designer-wrapper {
        width: 100%;
        float: left;
        margin-bottom: 50px;
        overflow: visible;
    }

    .md__product__right .price, .md__product__right .price span, .md__product__right .price bdi {
        font-size: 20px !important;
    }
    .md__product__right h3 {
        font-size: 18px;
    }

    .md__product__right .variations label {
        font-size: 15px;
    }

    #categories {
        padding: 40px 0;
    }

    .categories__tiles {
        overflow: hidden;
        transition: 0.3s;
    }

    .categories__row {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-column-gap: 3%;
        grid-row-gap: 3%;
        margin: 0;
    }

    .categories__tiles h3 {
        font-size: 15px;
    }

    .categories__tiles p {
        text-align: center;
        font-size: 13px;
        margin-bottom: 25px;
    }

    .subtitle {
        font-size: 15px;
    }


    .calculator__right {
        padding: 0;
        width: 100%;
        margin: 0 auto 40px;
    }

    .total .price__title {
        width: 180px;
        text-align: left;
        font-size: 15px;
    }

    .total input {
        width: 90px;
        background: none;
        border: none;
        text-align: right;
        color: #FFF;
        display: inline;
        overflow: visible;
        font-family: 'Poppins', sans-serif;
        font-size: 18px;
        font-weight: 900;
        z-index: 2;
        position: relative;
        text-shadow: -3px 3px 6px rgba(0,0,0,0.4);
    }

    .total .currency {
        font-size: 18px;
    }

    #tutorial {
        position: relative;
        padding: 40px 0 0px;
    }

    .tutorial__left {
        width: 100%;
        height: 180px;
    }

    .tutorial__right {
        width: 100%;
        padding-left: 0;
    }


    #portfolio {
        position: relative;
        padding: 50px 0 102px;
        overflow-x: hidden;
    }

    #portfolio .owl-dots {
        min-width: 195px;
        bottom: -62px;
    }

    #portfolio .owl-dot {
        background: transparent;
        width: 12px;
        height: 12px;
        float: left;
        margin: 0 10px;
    }


    #about {
        padding: 0;
    }

    #about .wrapper {
        display: flex;
        flex-direction: column-reverse;
    }

    .about__left h2 {
        margin: 30px 0 0;
        line-height: 1em;
        text-align: center;
    }

    .about__left .subtitle {
        text-align: center;
        margin-bottom: 20px;
    }

    .about__left {
        padding-right: 0;
        float: left;
    }

    .about__right {
        padding: 20px 0;
    }

    .about__right::before {
        content: '';
        position: absolute;
        right: -20px;
        bottom: 0;
        width: calc(100% - 40px);
        height: calc(100% - 40px);
        background: #ef7f1a;
        z-index: 0;
    }

    footer {
        width: 100%;
        float: left;
        clear: both;
        padding: 20px 0 0;
        border: none;
    }

    footer .wrapper {
        border-top: none;
    }

    .footer__bg {
        background: #f2f2f2;
        float: left;
        width: calc(100% - 40px);
        margin: 0 20px;
        padding: 20px 0;
        border: none;
    }

    .footer__b, .footer__c {
        width: 100%;
        float: left;
        padding: 0;
        margin-bottom: 20px;
    }

    .footer__a h4, .footer__b h4, .footer__c h4 {
        margin: 0px 0 10px;
        font-size: 17px;
    }

    .footer__a p {
        font-size: 13px;
        line-height: 1.6em; 
    }
    
    .footer__b li, .footer__c li {
        font-size: 13px;
        line-height: 1.8em;
    }
    
    .wp-block-envira-envira-gallery {
        margin: 0px auto 0;
    }

    #parallax {
        position: relative;
        padding: 100px 0;
        overflow: hidden;
        margin: 20px 0 0;
    }

    .parallax__txt {
        max-width: calc(100% - 80px);
        margin: 0 auto !important;
        color: #FFF;
    }

    .parallax__img {
        position: absolute;
        width: calc(100% - 40px);
        left: 20px;
    }

    .about_reverse .about__left {
        float: right;
        padding-right: 0;
        padding-left: 0;
    }

    .about_reverse .about__right::before {
        background: #403636;
        left: -20px;
    }

    #about.about_reverse {
        margin-bottom: 0;
    }

    .about__left p:last-child {
        margin-bottom: 0px;
    }

    .tut__wrap iframe {
        display: block;
        margin: 20px auto 40px;
        border-radius: 6px;
        box-shadow: 0px 20px 40px 0 rgba(0,0,0,0.2);
        width: 100%;
        height: 180px;
    }

    .tut__steps {
        display: block;
        margin-bottom: 0;
    }
    
    .tut__step {
        width: 100%;
        float: left;
        clear: both;
        margin-bottom: 30px;
    }

    .contact__info {
        width: 100%;
        float: left;
        padding-right: 0;
    }

    .contact__info li {
        width: 100%;
        padding-left: 45px;
        line-height: 50px;
        box-shadow: none;
        position: relative;
        font-size: 13px;
    }

    .contact__email button {
        float: left;
        margin: 10px 0 30px;
    }

    .contact__email {
        width: 100%;
        float: left;
        padding-left: 0;
    }

    .contact__map iframe {
        width: calc(100% - 40px);
        margin: 0 20px;
        border-radius: 0;
    }


    .category__blog {
        padding: 100px 0 0;
        box-shadow: 0 80px 0 0 #403636 inset;
        margin: 0 !important;
    }

    .blog__post {
        width: 100%;
        padding: 0;
        float: left;
        margin: 0 0 40px;
    }

    .single__blog .wrapper {
        width: 800px;
        max-width: 100%;
    }

    .single__blog {
        padding: 90px 0 0 !important;
    }

    .single__blog h1 {
        font-size: 25px;
        text-align: center;
        margin: 0 0 30px;
        line-height: 1.1em;
        text-transform: uppercase;
    }

    .single__blog h2 {
        text-align: left;
        font-size: 20px;
        text-transform: none;
        padding: 0 20px;
        margin: 40px 0 0;
    }

    .single__blog p {
        margin: 1.61em 0;
        padding: 0 20px;
    }

}

/*Promena rasporeda slika na homepageu.*/

/* Tablet - 2 columns */
@media (max-width: 1024px) {
    .categories__row {
        grid-template-columns: 47% 47%;
    }
}

/* Mobile - 1 column */
@media (max-width: 768px) {
    .categories__row {
        grid-template-columns: 100%;
        grid-column-gap: 0; /* Optional: remove gap for single column */
    }
}

/* Desktop - 3 columns */
/*@media (min-width: 1025px) {*/
/*    .categories__row {*/
/*        grid-auto-flow: row;*/
/*        grid-auto-columns: unset;*/
/*        grid-template-columns: repeat(3, 1fr);*/
/*    }*/
/*}*/
