@media screen and (max-width: 767px) {

    .row {
        --bs-gutter-x: 1.25rem;
    }

    .container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        --bs-gutter-x: 1.25rem;
    }

    .g-0 {
        --bs-gutter-x: 0;
    }

    .show-mob {
        display: flex;
    }

    body {
        font-size: 14px;
        line-height: 22px;
    }

    body.mobile-menu-opened {
        overflow: hidden;
    }

    header#mobile-header {
        display: block;
        padding: 7px 0 8px;
        border-bottom: 1px solid var(--main-gray);
    }

    header#desktop-header {
        display: none;
    }

    .header-content {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
    }

    .header-cta .button {
        border-color: var(--main-gray);
        font-size: 12px;
        font-weight: 400;
        line-height: 16px;
        padding: 2px 15px;
        min-width: 80px;
    }

    .logo-mobile img {
        max-height: 44px;
    }

    #home-about-mobile {
        font-size: 14px;
        line-height: 22px;
        padding-left: 9px;
        padding-top: 15px;
        padding-right: 36px;
    }

    .home-page #fixed {
        padding-top: 170px;
        padding-bottom: 16px;
    }

    #fixed h1 {
        font-size: calc((135vw / 375 * 100));
        text-indent: -7px;
        text-align: center;
        letter-spacing: -0.005em;
    }

    .home-slider-container {
        margin-top: 55vw;
        margin-bottom: 45px;
    }

    .home-slider-nav {
        margin-top: 12px;
    }

    .up-heading {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .page-heading {
        font-size: 40px;
        line-height: 1.2em;
    }

    #home-about-us .page-heading {
        margin-top: 0;
    }

    #home-about-us p {
        max-width: 100%;
        padding-right: 20px;
        margin-bottom: 24px;
    }

    #featured-products {
        margin-top: 60px;
        margin-bottom: 60px;
    }

    #featured-products .up-heading {
        margin-bottom: 30px;
    }

    #featured-products .product-box {
        margin-bottom: 30px;
    }

    .button {
        padding: 9px 27px;
    }

    .all-products-cta {
        text-align: left;
    }

    .home-page #brands {
        margin-bottom: 60px;
    }

    .brand-logo {
        min-height: auto;
        padding: 17px 0
    }

    #home-autori {
        margin-bottom: 60px;
    }

    #home-autori a.button {
        margin-top: 32px;
    }

    .autor-list {
        margin-top: 40px;
    }

    #home-news .thumbnail {
        margin-bottom: 14px;
    }

    .meta {
        font-size: 12px;
        letter-spacing: 0.01em;
        line-height: 2em;
    }

    #home-news {
        padding-bottom: 60px;
    }

    #home-news .meta {
        margin-bottom: 5px;
    }

    #home-news h5 {
        font-size: 22px;
        line-height: 28px;
        margin-bottom: 25px;
    }

    #home-news .custom-excerpt {
        margin-bottom: 25px;
    }

    #home-news .row > div:not(:first-child) {
        display: none;
    }

    .all-news-cta {
        text-align: right;
        margin-top: -28px;
    }

    #home-news .button {
        margin-top: 0;
    }

    footer {
        padding: 47px 0 60px;
    }

    .footer-logo {
        margin-bottom: 40px;
    }

    .footer-mobile-info p,
    .footer-mobile-info a {
        color: var(--white-gray);
    }

    .footer-mobile-info .row > div {
        margin-bottom: 40px;
    }

    .footer-mobile-info .footer-widget h3 {
        display: none;
    }

    footer .footer-widget p {
        margin: 0;
    }

    .footer-mobile-info ul {
        list-style: none;
        padding: 0;
        text-transform: lowercase;
    }

    footer .bottom-row {
        margin-top: 10px;
    }

    .footer-logo a {
        font-size: 64px;
        line-height: 72px;
    }

    .woocommerce-ordering .orderby {
        border: 1px solid var(--main-gray);
        background: none;
        color: var(--main-black);
        outline: none;
        border-radius: 16px;
        width: auto;
        font-size: 12px;
        padding: 2px 10px;
        line-height: 16px;
        appearance: none;
        -webkit-appearance: none;
        text-align-last: center;
    }
    .woocommerce-ordering .orderby option {
        text-align: center;
    }

    .woo-category-page .page-heading {
        margin-top: 30px;
        margin-bottom: 10px;
    }

    .main-categories-links {
        margin-bottom: 26px;
    }

    .main-categories-links a:not(.active) {
        display: none;
    }

    .woo-below-products-nav {
        border-top: none;
    }

    .product-full-description {
        width: 90%;
        margin-bottom: 20px;
    }

    .product-specs h3 {
        text-transform: lowercase;
    }

    .related-products {
        padding-bottom: 30px;
        margin-top: 58px;
    }

    #order-product {
        margin-top: 38px;
    }

    #order-product a {
        width: 100%;
        margin-bottom: 8px;
    }

    .custom-single-product .product-price {
        font-size: 18px;
    }

    .custom-single-product .product-title {
        font-size: 28px;
        margin-top: 12px;
    }

    .product-specs {
        padding-top: 10px;
    }

    .custom-single-product {
        margin-top: 48px;
    }

    #order-form {
        max-width: calc(100vw - 60px);
        padding: 95px 10px 70px;
    }

    #order-form .button {
        width: 100%;
    }

    #order-form h4 {
        font-size: 28px;
        margin-bottom: 12px;
    }

    #order-form input:not([type=submit]), #order-form textarea {
        font-size: 12px;
        padding: 8px 12px;
        line-height: 14px;
        margin-bottom: 10px;
    }

    #order-form textarea {
        height: 90px;
    }

    #close-order-popup {
        right: 8px;
        top: 6px;
    }

    #confirm-order-message {
        padding-left: 30px;
        padding-right: 30px;
    }

    .autori-prostori-page .page-title-content {
        flex-direction: column;
        align-items: flex-start;
    }

    #page-title {
        margin-top: 30px;
        margin-bottom: 64px;
    }

    .autori-prostori-page #page-title .button {
        padding: 8px 19px;
        color: var(--white-gray);
    }
    .autori-prostori-page #page-title .button:before {
        background: var(--main-black);
    }

    .author-name {
        font-size: 1em;
        margin-bottom: 0;
    }

    .author-box {
        margin-bottom: 50px;
    }

    .single-autor-page .page-heading {
        line-height: 1.2em;
        margin-bottom: 19px;
    }

    .single-autor-page .page-heading br {
        display: none;
    }

    .single-autor-page #page-title {
        margin-bottom: 30px;
    }

    .bio {
        margin-bottom: 30px;
    }

    #author-projects {
        margin-top: 0;
    }

    .projects-slider-nav .counter, .home-slider-nav .counter {
        font-size: 12px;
        margin: 0 14px;
    }

    .projects-slider-nav img, .home-slider-nav img {
        margin-top: -2px;
        max-width: 38px;
    }

    .projects-slider-nav {
        top: -48px;
    }

    .projects-slider-items {
        margin: 0 -10px 45px;
    }

    .projects-slider-items .slick-slide {
        margin: 0 10px;
    }

    .thumbs .more .overlay {
        font-size: 40px;
        line-height: 1.2em;
    }

    .back-to-authors-page {
        display: none;
    }

    .authors-nav {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .single-author-bottom-nav {
        padding-bottom: 50px;
    }

    .single-author-bottom-nav a {
        font-size: 12px;
    }

    .single-author-bottom-nav img {
        max-width: 35px;
    }

    .authors-nav .next-link img {
        margin-left: 10px;
    }

    .back-to-authors-page img, .authors-nav .prev-link img {
        margin-right: 10px;
    }

    .galleries-wrapper {
        margin-bottom: 6px;
    }

    .galleries-wrapper .thumbs > * {
        margin-bottom: 10px;
    }

    .galleries-wrapper .proj-title h4 {
        font-size: 28px;
        margin-bottom: 24px;
    }

    .struja-art-page .page-heading, .catalogs-page .page-heading, .news-page .page-heading {
        margin-top: 32px;
        margin-bottom: 54px;
    }

    #magazines {
        margin-bottom: 0;
    }

    .mag {
        margin-bottom: 60px;
    }

    .mag .image-container {
        margin-bottom: 6px;
    }

    .mag h4 {
        font-size: 14px;
    }

    .news-page .cover {
        margin-bottom: 19px;
    }

    #featured-post h3 {
        font-size: 22px;
        padding-right: 45px;
        line-height: 28px;
        margin-bottom: 18px;
    }

    #older-posts {
        margin-top: 58px;
        padding-bottom: 60px;
    }

    #older-posts .meta {
        margin-top: 18px;
    }

    #older-posts h5 {
        margin-bottom: 0;
    }

    #older-posts .row > div:not(:first-child) .thumbnail {
        margin-top: 60px;
    }

    .single-post-title {
        margin-top: 45px;
    }

    .single-post .meta {
        margin-bottom: 5px;
    }

    .single-post-title h1 {
        font-size: 22px;
        line-height: 28px;
        margin-bottom: 25px;
    }

    .single-post-page .cover {
        margin-bottom: 25px;
    }

    .post-content .wp-block-group, .post-content .pc-cont > figure {
        margin-top: 25px;
        margin-bottom: 25px;
    }

    body .is-layout-flex {
        flex-direction: column;
    }

    :where(.is-layout-flex) {
        gap: 10px;
    }

    .post-content {
        padding-bottom: 0;
        border: none;
    }

    .single-post-page .single-post-below {
        padding-top: 10px;
        padding-bottom: 60px;
    }

    .single-post-below > .row {
        flex-direction: column-reverse;
    }

    .post-nav {
        justify-content: space-between;
        padding-bottom: 35px;
        border-bottom: 1px solid var(--main-gray);
    }

    .share {
        padding-top: 38px;
        text-align: right;
    }

    .single-post-below .share span {
        font-size: 13px;
        margin-right: 0;
        float: left;
        line-height: 22px;
    }

    .share a {
        margin-left: 17px;
        margin-right: 0;
        line-height: 22px;
    }

    .share a > img {
        height: 22px;
    }

    .prev-post img {
        margin-right: 10px;
    }

    .next-post img {
        margin-left: 10px;
    }

    .about-page .page-heading,
    .contact-page .page-heading {
        margin-top: 32px;
        margin-bottom: 54px;
    }

    .about-intro {
        margin-top: 60px;
        margin-bottom: 54px;
    }

    .about-intro .page-heading {
        margin-top: 24px;
    }

    .about-text {
        margin-bottom: 36px;
    }

    .about-text > .row {
        flex-direction: column-reverse;
    }

    .about-info {
        margin-top: 20px;;
    }

    #magazines .slick-dotted.slick-slider {
        margin-bottom: 0;
    }

    .mag-slider .slick-dots {
        top: 200px;
    }

    .contact-page .sub-heading {
        font-size: 22px;
        line-height: 28px;
        margin-bottom: 25px;
    }

    .contact-page .sub-heading br {
        display: none;
    }

    .contact-info {
        margin-top: 40px;
    }

    .mobile-reverse {
        flex-direction: column-reverse;
    }

    .contact-page form {
        margin-top: 0;
    }

    .form-input-div input:not([type="submit"]), .form-input-div textarea {
        font-size: 12px;
        padding: 6px 16px;
    }

    .form-input-div {
        margin-bottom: 10px;
    }

    .form-input-div.bigger-margin {
        margin-bottom: 10px;
    }

    #map {
        margin-top: 15px;
        margin-bottom: 60px;
    }

    #map iframe {
        height: 180px;
    }

    .form-input-div textarea {
        height: 90px;
        border-radius: 16px;
    }

    .default-page {
        padding-top: 0;
        padding-bottom: 45px;
    }

    .default-page .page-heading {
        margin-top: 32px;
        margin-bottom: 46px;
    }

    /* sidemenu */
    .mobile-sidemenu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 77%;
        max-width: 320px;
        height: 100vh;
        background: #262626;
        color: var(--white-gray);
        z-index: 9999;
        transition: right 0.3s ease;
        display: flex;
        flex-direction: column;
    }

    .mobile-sidemenu.active {
        right: 0;
    }

    .sidemenu-inner {
        position: relative;
        z-index: 2;
        padding: 26px 10px;
        display: flex;
        flex-direction: column;
        overflow-y: auto;
        height: 100%;
        flex: 1;
        -webkit-overflow-scrolling: touch; /* za iOS smooth scroll */
    }

    .sidemenu-close {
        background: none;
        border: none;
        color: white;
        align-self: flex-start;
        cursor: pointer;
        margin-bottom: 30px;
    }

    .sidemenu-search input {
        width: 100%;
        padding: 9px 25px 10px 15px;
        border: none;
        border-radius: 16px;
        font-size: 12px;
        line-height: 1em;
        outline: none;
        background-color: rgba(241, 242, 242, .15);
        color: var(--white-gray);
        margin-bottom: 29px;
        background-image: url("../img/icons/search-w.svg");
        background-repeat: no-repeat;
        background-position: right 14px center;

    }

    .sidemenu-search input::placeholder {
        color: var(--white-gray);
    }

    .sidemenu-nav {
        border-top: 1px solid var(--main-gray);
        list-style: none;
        padding: 0;
        margin: 0;
        flex-grow: 1;
    }

    .sidemenu-nav > li {
        border-bottom: 1px solid var(--main-gray);
        position: relative;
    }

    .sidemenu-nav > li > a {
        display: block;
        padding: 11px 0;
        color: var(--white-gray);
        text-decoration: none;
        text-transform: lowercase;
        font-size: 24px;
    }

    .sidemenu-lang {
        display: flex;
        gap: 26px;
        padding-top: 26px;
    }

    .sidemenu-lang a {
        color: var(--white-gray);
        text-decoration: none;
        font-size: 16px;
    }


    .sidemenu-lang a.active {
        text-decoration: underline;
    }

    .submenu-toggle {
        background: none;
        border: none;
        color: var(--white-gray);
        font-size: 24px;
        cursor: pointer;
        position: absolute;
        right: 0;
        padding: 0;
        top: 9px;
    }

    .sidemenu-nav .sub-menu {
        display: none;
        margin-left: 24px;
        padding: 0;
        list-style-type: none;
        margin-bottom: 6px;
        margin-top: -5px;
    }

    .sidemenu-nav .sub-menu > li > a {
        font-size: 16px;
        line-height: 2em;
        text-transform: lowercase;
    }


    /* end sidemenu */
    .shop-sidebar {
        display: none;
    }

    .filter-sort-div {
        display: flex;
        justify-content: space-between;
    }

    #open-sidemenu-filter-mobile {
        border-radius: 16px;
        font-size: 12px;
        font-weight: 300;
        padding: 3px 23px;
        line-height: 16px;
        width: 98px;
    }

    .main-cats-container {
        border: none;
        padding-bottom: 0;
    }
    .current-cat-title {
        padding-bottom: 14px;
        font-weight: 600;
        font-size: 14px;
        text-transform: lowercase;
        color: var(--white-gray);
    }
    
    
    /* shop filter mobile */

    .shop-sidebar-mobile {
        margin-top: 40px;
    }

    .shop-sidebar-mobile .berocket_single_filter_widget {
        border-top: 1px solid var(--main-gray);
        margin: 0;
    }

    .shop-sidebar-mobile .bapf_sfilter {
        margin: 0;
        padding: 8px 0;
        cursor: pointer;
    }

    .shop-sidebar-mobile .bapf_head h3 {
        font-size: 24px;
        font-weight: 300;
        text-transform: lowercase;
        margin: 0;
        color: var(--white-gray);
    }

    .shop-sidebar-mobile .bapf_body {
        margin-top: 6px;
    }

    .shop-sidebar-mobile .bapf_radio_chck ul li input[type=checkbox] {
        border: 1px solid var(--white-gray);
        width: 14px;
        height: 14px;
        border-radius: 50%;
        margin-right: 11px;
    }

    .shop-sidebar-mobile .bapf_radio_chck ul li input[type=checkbox]:checked {
        background: var(--white-gray);
    }

    .shop-sidebar-mobile .bapf_radio_chck ul li input[type=checkbox]:checked:after {
        display: none;
    }

    .shop-sidebar-mobile .fa-chevron-down::before {
        content: "+";
        font-weight: 300;
        font-size: 24px;
        font-style: normal;
    }

    .shop-sidebar-mobile .fa-chevron-up::before {
        content: "-";
        font-weight: 300;
        font-size: 24px;
        font-style: normal;
    }

    .shop-sidebar-mobile .bapf_slidr_main.ui-widget-content .ui-slider-range,
    .shop-sidebar-mobile .berocket_filter_price_slider.ui-widget-content .ui-slider-range {
        background: var(--white-gray);
    }

    .shop-sidebar-mobile .bapf_slidr_jqrui .bapf_slidr_main {
        margin-bottom: 18px;
        margin-top: 20px;
    }

    .bapf_slidr_main.ui-widget-content .ui-slider-handle,
    .berocket_filter_price_slider.ui-widget-content .ui-slider-handle,
    .slide.default .bapf_slidr_main .ui-state-default,
    .slide.default .bapf_slidr_main .ui-widget-header .ui-state-default,
    .slide.default .bapf_slidr_main.ui-widget-content .ui-state-default,
    .slide.default .berocket_filter_price_slider .ui-state-default,
    .slide.default .berocket_filter_price_slider .ui-widget-header .ui-state-default,
    .slide.default .berocket_filter_price_slider.ui-widget-content .ui-state-default {
        background: var(--white-gray);
        top: -6px;
    }
    .shop-sidebar-mobile .bapf_slidr_main.ui-widget-content,
    .shop-sidebar-mobile .berocket_filter_price_slider.ui-widget-content {
        height: 2px;
        background: #EAECEC;
    }
    .shop-sidebar-mobile .ui-slider-horizontal .ui-slider-range {
        height: 2px;
    }
    .shop-sidebar-mobile .bapf_slidr_all {
        position: relative;
    }
    .ui-slider-horizontal .ui-slider-handle {
        margin-left: 0;
    }
    .shop-sidebar-mobile .bapf_slidr_main span:last-child {
        margin-left: -14px;
    }
    .shop-sidebar-mobile .bapf_sfilter label {
        font-size: 16px;
    }
    .shop-sidebar-mobile .bapf_sfilter[data-taxonomy="product_cat"],
    .shop-sidebar-mobile .bapf_sfilter[data-taxonomy="pa_boja"] {
        text-transform: lowercase;
    }
    .shop-sidebar-mobile .bapf_sfilter ul li {
        margin-bottom: 5px !important;
    }
    .shop-sidebar-mobile .bapf_sfilter ul li ul {
        margin-top: 5px !important;
    }
    .shop-sidebar-mobile .bapf_sfilter .bapf_body ul li ul li {
        margin-bottom: 5px !important;
    }

    .chosen-filters .bapf-sfa-grey-rounded .berocket_aapf_widget_selected_area li a {
        font-size: 12px;
        margin-right: 14px;
    }
    .bapf_sfilter.bapf_button_light.struja-reset-filters .bapf_button {
        font-size: 12px;
    }
    .shop-sidebar-mobile .bapf_slidr_jqrui .bapf_from,
    .shop-sidebar-mobile .bapf_slidr_jqrui .bapf_to {
        font-size: 16px;
    }

    .shop-sidebar-mobile .struja-apply-filter {
        margin-top: 60px;
        text-align: right;
    }
    .struja-apply-filter .bapf_update {
        font-weight: 600;
        font-size: 14px;
        line-height: 1em;
        padding: 11px 33px;
        color: var(--main-black);
        background: var(--white-gray);
        border-radius: 48px;
        border: none;
    }

    #mobile-sidemenu-products-filter .sidemenu-inner {
        padding-bottom: 100px;
    }
}