@media(max-width: 1400px) and (min-width: 980px) {
    body.magazin main {
        padding-top: 120px !important;
    }

    .shop_header {
        height: 65px;
    }

    .shop_header_item h2 {
        font-size: 28px;
    }

    .shop_header_item {
        transform: translateY(-160%);
    }

    .products_container .product-subtitle {
        max-width: calc(100% - 150px);
    }

    .single-product-image-col .product-gallery {
        height: calc(100vh - 75px - 50px);
    }

    .product-summary {
        height: calc(100vh - 75px - 50px);
    }

    #main-navbar-collapse {
        padding: 5em 40px 40px;
    }

    .static_menu ul li a {
        font-size: 34px;
    }

    .cart-popup .cart-content {
        max-height: calc(var(--vh, 1vh) * 100 - 148px - 102px - 75px - 40px - 20px);
    }
}

@media(max-width: 990px) {
    header #main-navbar button {
        left: -7px;
    }
    .home__header__title span span {
        font-size: 55px;
    }
    .navbar-toggler {
        top: 0;
    }
    .home_section_a {
        height: 170vh;
    }
    .home_section_a .floating-image.down {
        left: 40px;
        z-index: 0;
        transform: none;
        max-width: 200px;
    }
    body.acasa .floating-image-bg.up {
        top: 40%;
        width: auto;
        left: 40px;
        right: 40px;
    }
    body.acasa .floating-image.up {
        max-width: 200px;
        left: auto;
        right: 40px;
        top: 0;
    }
    body.acasa .floating-image-bg.down {
        top: auto;
        bottom: 50px;
        left: 40px;
        right: 40px;
        width: auto;
    }
    .home_section_video {
        max-height: 400px;
    }
    .home_section_categories {
        padding: 40px;
    }
    .home_custom_slider {
        margin-top: 2em;
    }
    .home_custom_slider .slick-arrow-left {
        left: 35px;
    }
    .home_custom_slider .slick-arrow-right {
        right: 35px;
    }
    .cart {
        right: 35px;
    }


    /* Configurator Page */
    body.paint-configurator .ral-opener {
        display: none;
    }
    .sofa_row .colours {
        left: 50%;
        transform: translateX(-50%);
    }


    /* Product Page */
    .product_atributes_container {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-variation {
        margin-right: 0;
        margin-bottom: 10px;
    }


    /* Contact Page */
    .contact-row {
        margin-top: 0;
        padding: 0 5px !important;
    }
    
    .contact-row .col-lg-6 {
        margin-bottom: 2em;
        height: 35vh;
        min-height: 300px;
    }


    /* Cart Popup */
    .cart-popup .cart-content {
        max-height: calc(var(--vh, 1vh) * 100 - 148px - 102px - 75px - 40px - 20px);
    }
    
    .footer-logo {
        margin: auto;
    }
    .netopia img {
        margin: 0;
    }
}


@media(max-width: 640px) {
    header {
        height: 60px;
        padding: 0 20px;
    }
    header #main-navbar button {
        left: -7px;
    }
    header #main-navbar button .sr-only {
        font-size: 14px;
    }
    .logo {
        max-height: 35px;
    }
    .cart {
        right: 15px;
    }

    .cart-bag-text {
        display: none;
    }

    .btn-logout {
        right: 55px;
    }

    .btn-logout button {
        font-size: 13px;
    }

    .thank_you_row .back_to_home, 
    .row_404 .back_to_home {
        white-space: nowrap;
    }

    .thank_you_row .col-lg-12,
    .row_404 .col-md-12 {
        padding: 2em 2em 3em 2em;
    }

    .thank_you_row h1, 
    .row_404 .title {
        font-size: 25px;
    }

    .thank_you_row h2, 
    .row_404 h3 {
        font-size: 20px;
    }

    .thank_you_row,
    .row_404 {
        margin: auto;
    }

    .close-cart {
        top: 8px;
        left: 10px;
    }
    .cart-popup {
        width: auto;
        top: 10px;
        left: 10px;
        right: 10px;
    }

    .cart-popup {
        max-height: calc(var(--vh, 1vh) * 100 - 148px);
    }

    .menu-login {
        right: 55px;
        z-index: 999;
    }

    .menu-login span {
        display: none;
    }

    .home_section_b {
        height: 75vh;
        min-height: 650px;
    }

    /* #colorsModal .modal-dialog .modal-content .modal-body {
        justify-content: space-between;
    } */

    body.acasa .page-header-inner {
        top: 60px;
        bottom: 20px;
        left: 20px;
        right: 20px;
    }
    .home__header__title span {
        font-weight: 400;
    }
    .home__header__title span span {
        font-size: 35px;
    }
    .ral-opener, 
    .ral-close {
        bottom: 9px;
    }

    #sb-container {
        transform: scale(.7);
        width: 100px;
        margin-top: 0;
        margin-bottom: 0;
    }
    
    .sb-container {
        height: 340px;
    }

    .sb-container div {
        width: 100px;
        height: 300px;
        bottom: 50px;
        top: auto;
    }

    .sb-container div:last-child h5 img {
        left: -60%;
        bottom: 10px;
        max-width: 130px;
    }

    .sb-container div h4 {
        font-size: 14px;
    }

    .sb-container div h4 a {
        text-transform: capitalize;
        font-size: 12px;
    }

    span.sb-icon {
        width: 100%;
        height: 50px;
        margin: 10px auto;
    }

    body.acasa .floating-image-bg.up {
        top: 80%;
        left: 20px;
        right: 20px;
    }
    .page-id-1241 .home_section_a {
        height: auto !important;
    }
    .page-id-1241 #blog-row {
        flex-basis: 100%;
    }
    .page-id-1241 .categories-item-wrapper .categ-title {
        left:0;
        right: 0;
        width: 80%;
        margin: auto;
    }
    .home_section_a {
        height: 100vh !important;
    }
    
   
    .home_section_a .floating-image.down,
    body.acasa .floating-image.up {
        max-width: 120px;
    }
    .section_title {
        font-size: 35px;
    }
    body.acasa .floating-image-bg.down {
        left: 20px;
        right: 20px;
    }
    .home_section_video {
        height: 300px;
    }
    .home_section_video .col-lg-12,
    .home_section_video .col-lg-12 .module-video,
    .home_section_video .col-lg-12 .module-video .video-js,
    .home_section_video .col-lg-12 .module-video .video-js video {
        height: 100%;;
        width: 100%;
        object-fit: cover;
    }
    .home_section_desc {
        padding-top: 3em !important;
    }
    .home_section_desc h3 {
        font-size: 25px;
    }
    .home_custom_slider {
        padding: 0 5px 3em 5px;
    }
    .home_custom_slider .slick-arrow-left {
        left: 15px;
    }
    .home_custom_slider .slick-arrow-right {
        right: 15px;
    }
    .home_section_categories {
        padding: 20px;
    }
    .home_section_categories .col-lg-12 {
        max-width: 100%;
        padding: 0;
    }
    .home_section_categories h2 {
        font-size: 40px;
        margin-bottom: 15px;
    }
    .home_section_categories_title {
        margin-bottom: 25px;
    }
    .home_section_categories {
        background-position: bottom;
    }
    body.acasa .bg-dark {
        margin-top: 0;
        padding-top: 0 !important;
    }
    .bg-dark {
        text-align: center;
    }
    .bg-dark img {
        margin-bottom: 20px;
    }
    .bg-dark .module-social ul {
        justify-content: center;
    }
    .bg-dark .footer-links:last-child {
        margin-top: 20px;
    }
    .bg-dark .module-social ul li:last-child a {
        padding-right: 0;
    }

    /* Shop Page */
    body.magazin main {
        padding-top: 60px !important; 
    }

    .products_container .category-col:before {
        display: none;
    }

    .shop_header {
        height: 50px;
        top: 60px;
        padding: 5px 20px;
        z-index: 105;
    }
    .shop_header .shop_header_items {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .shop_header_item {
        transform: translateY(-50px);
    }
    .shop_header_item h2 {
        font-size: 17px;
        line-height: 1em;
    }
    .shop_header_item.active,
    .shop_header_item {
        transition: none;
    }

    .shop_header .shop_header_filter {
        position: fixed;
        flex: 0 0 100%;
        max-width: 100%;
        justify-content: center;
        bottom: 0;
        left: 0;
        background: var(--base-color);
        padding: 0 !important;
        background: transparent;
        box-shadow: 10px 5px 25px -10px black;
    }

    .shop_header .shop_header_filter .module-code {
        display: flex;
        width: 100%;
        border-radius: 0;
    }

    .shop_header .shop_header_filter .btn {
        width: 50%;
        border-radius: 0;
        border: none !important;
        padding: 15px !important;
    }

    .shop_header .shop_header_filter .dropdown-toggle {
        margin-right: 0;
        background: var(--base-color);
        color: #fff;
    }

    .shop_header .shop_header_filter .btn-reset-filters:hover {
        background: var(--secondary-color);
        color: var(--base-color);
    }

    .shop_header .shop_header_filter ul#dropdown-filter-products {
        left: 5px !important;
        right: 15px !important;
        max-height: 50vh;
        overflow: auto;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        padding: 10px;
    }

    .shop_header .shop_header_filter ul#dropdown-filter-products li a {
        letter-spacing: 0;
        padding: 10px 0;
    }

    .shop_header .shop_header_filter #dropdown-filter-products, 
    .shop_header .shop_header_filter .btn-reset-filters {
        font-size: 13px;
    }
    .categories-item-wrapper .categ-title {
        left: 20px;
        right: 20px;
    }

    .categories-item-wrapper .button-wrapper {
        bottom: -1px;
    }

    .categories-item-wrapper .button-wrapper .details {
        font-size: 13px;
        text-transform: capitalize;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        font-weight: 400;
    }
    .categories-item-wrapper:nth-child(odd) {
        border-right: none;
    }
    .categories-item-wrapper .categ-title .title a {
        max-width: 100%;
        font-size: 17px;
    }
    .categ-image-wrapper a {
        padding: 0;
    }
    .categ-image-wrapper a img {
        padding: 100px 0 160px 0;
    }

    /* Single Product Page */
    .single-prod {
        padding: 0 20px;
    }
    .single-product-image-col,
    .product-summary {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .single-product-image-col .product-gallery {
        height: auto;
    }
    .single-product-image-col .product-gallery .slick-slider-gallery {
        margin-bottom: 0;
        padding-top: 30px;
    }
    .single-product-image-col .slick-slide img {
        max-height: 250px;
    }
    .product-summary {
        margin-top: 30px;
    }

    .product-summary-main-title {
        max-height: 100%;
        overflow-x: hidden;
        padding-right: 0;
    }

    .product-summary .product-title {
        font-size: 25px;
    }
    .product-summary .product-subtitle, 
    .product-summary .product-price-wrapper {
        margin-bottom: 10px;
    }
    .product-summary .product-price-wrapper .price {
        font-size: 20px;
    }

    .product_atributes_container {
        flex-direction: column;
        align-items: flex-start;
    }

    .product_colors_section {
        margin-top: 10px;
    }

    .product-variations li a {
        font-size: 15px;
    }
    .related_products_row {
        padding-bottom: 20px;
        margin: 2em 0;
    }
    .related_products_row .slick-arrow {
        top: -65px;
    }
    .related_products_row .col-lg-12 {
        margin-bottom: 3em;
    }
    .related_products_row .slick-arrow-left {
        left: 0;
    }
    .related_products_row .slick-arrow-right {
        right: 0;
    }
    .related_products_row .related_products_col {
        border-right: none;
    }

    #cart-message-box {
        right: 10px;
        left: 10px;
        width: auto;
        max-width: 100%;
    }

    /* MENU */
    #main-navbar-collapse {
        padding: 5em 20px;
        padding-bottom: 20px;
    }
    #main-navbar-collapse {
        flex-direction: column;
    }
    #main-navbar-collapse .navbar-nav {
        width: 100%;
    }
    #main-navbar-collapse .navbar-nav .main-nav-item a {
        font-size: 20px;
        padding: 5px 0;
        font-weight: 300;
    }
    .static_menu {
        width: 100%;
        padding-left: 0;
        margin-top: 20px;
    }
    .static_menu ul li a {
        font-size: 20px;
        padding: 0;
    }
    #main-navbar-collapse .navbar-nav .main-nav-item .nav-item-image {
        width: 100%;
        z-index: -1;
        background-size: contain;
        max-height: 250px;
    }
    #main-navbar-collapse .navbar-nav .main-nav-item:hover .nav-item-image {
        opacity: .4;
    }
    .despre-noi .page-description {
        margin-left: 5px;
    }
    .about_row_a {
        padding: 3em 20px !important;
    }
    .about_row_a h2, 
    .about_row_b h2 {
        font-size: 35px;
    }
    .about_row_a .col-lg-6.radius,
    .about_row_b .col-lg-6.radius {
        margin-top: 5em;
    }
    .about_row_a img {
        padding: 20px;
    }
    .about_row_b {
        padding: 3em 20px !important;
        flex-direction: column-reverse;
    }
    .about_row_b .col-lg-6.radius {
        min-height: 350px;
    }
    .about_row_c {
        height: 60vh;
        min-height: 500px;
        margin-bottom: 5em;
    }
    .about_row_c .module-image {
        height: 15vh;
    }
    .about_row_c .module-image img {
        padding: 0 5px;
    }

    .about__gallery__media--1,
    .about__gallery__media--2 {
        top: 30px;
    }
    .about__gallery__media--4 {
        top: 100px;
    }
    .about__gallery__media--5 {
        top: -15vh;
    }
    .about__gallery__media--6 {
        top: 10px;
    }
    .about__gallery__media--7 {
        top: 200px;
    }
    .about__gallery__media--8 {
        top: 180px;
    }
    .about_row_c .col-lg-11 {
        top: auto;
        bottom: 0;
    }
    .about_row_d {
        padding: 0 5px;
    }
    .about_row_d .col-lg-6:first-child {
        padding-left: 15px;
    }

    #cookie_notice .cookie_notice_container p {
        font-size: 12px;
    }


    .configurator_btn_container {
        transform: translate(calc(-100% + 20px), -50%);
    }

    .configurator_btn_container.opened .hide_configurator_btn {
        width: 30px;
        transition: width .2s ease-in-out;
    }

    .configurator_btn_container .hide_configurator_btn {
        width: 20px;
        transition: width .2s ease-in-out;
    }


    /* Configurator */
    .couch {
        transform: scale(0.36);
    }
    .colours {
        bottom: 25px;
    }
    .colours-list-box {
        bottom: 100px;
        left: 50%;
        width: 100%;
        max-width: 285px;
        transform: translateX(-50%);
    }

    #colorsModal {
        padding: 60px 10px;
    }


    /* Checkout Page */
    .checkout_section_container {
        padding: 0 20px;
    }

    .checkout_row {
        padding: 20px 0;
    }

    .checkout_row h2 {
        font-size: 23px;
    }

    .checkout_section .summary-items ul li {
        margin-right: 10px;
    }

    .checkout_section .summary-items ul li:last-child {
        margin-right: 0;
    }

    .checkout_row .form-group {
        justify-content: flex-start;
    }
    
    .invoice-group span {
        width: auto;
        border: none;
    }

    .checkout_row .summary-items ul figure {
        max-width: 60px;
        max-height: 70px;
        min-width: 50px;
        /* margin-right: 10px; */
    }
    
    .checkout_row .summary-items ul figure img {
        padding: 8px;
    }

    .checkout-qty-price {
        display: flex;
    }

    .product-summary .product-description table ol {
        padding-left: 15px;
        font-size: 10px;
    }

    .product-summary .product-description table ul {
        padding-left: 20px;
    }

    #configPaint.show {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    #configPaint .modal-dialog {
        height: 80vh;
    }

    #configPaint .paint-list {
        margin-bottom: 0;
    }

    #configPaint .paint-list li {
        width: calc(50% - 10px);
    }

    #configPaint .paint-list li:nth-child(3n) {
        margin-right: 20px;
    }
    #configPaint .paint-list li:nth-child(2n) {
        margin-right: 0;
    }

    #configPaint .modal-title {
        font-size: 20px;
    }

    #configPaint .catre-cos-selecteaza-baze .btn-paint {
        font-size: 11px;
    }

    #configPaint .paint-list li h3 {
        font-size: 15px;
    }

    .config_qty_container span {
        font-size: 15px;
    }

    .gen-random, .btn-config-next {
        white-space: nowrap;
    }
    
}