@media (max-width: 1199px) {
    #sp-header.full-header {
        padding-left: 15px;
        padding-right: 15px;
    }
    #sp-header.header-with-social {
        #sp-menu .social-wrap {
            padding-left: 0px;
        }
    }
    .sp-megamenu-parent {
        > li {
            > a,
            span {
                padding: 0 10px;
            }
        }
    }

    .addon-root-js-slideshow
        .sppb-addon-sp-slider.megadeal-slider
        .sp-slider-outer-stage
        .sp-item
        .slider-offer-image {
        top: 0px;
        right: 0px;
        max-width: 100px;
    }
    .easystore-search-module-container #mod_easystore_search {
        width: 320px;
    }
    .easystore-search-module-container #mod_easystore_category {
        font-size: 14px;
    }
    //Blog page
    .megadeal-leading-layout {
        display: flex;
        flex-wrap: wrap;
        .article:nth-child(1) {
            flex: 0 0 100%;
            max-width: 100%;
        }
    }
    //Blog Details
    .article-details {
        .articles-details-info-wrapper {
            .article-ratings {
                flex-wrap: wrap;
            }
        }
    }
    .home-image-carousel .sppb-carousel-extended-heading {
        max-width: 60%;
        padding: 20px 20px;
    }
    .article-details .article-header-wrapper .article-header h1 {
        font-size: 40px;
        line-height: 54px;
    }
    .sp-page-title .sp-page-title-heading {
        font-size: 44px;
        line-height: 60px;
    }
    .sp-page-title {
        padding: 0px 0px 0px 40px;
    }
    .addon-root-js-slideshow
        .sppb-addon-sp-slider.megadeal-slider
        .sp-slider-outer-stage
        .sp-item {
        padding: 0px 20px;
    }
    .products-layout-modern .sppb-collection-item:nth-child(3n):after {
        display: block;
    }
    .products-layout-modern .sppb-collection-item:nth-last-child(-n + 3) {
        border-bottom: 1px solid #ededed;
    }
    .products-layout-modern .sppb-collection-item:nth-last-child(-n + 1) {
        border-bottom: none;
    }
    .sp-page-title {
        height: 333px;
    }
}

@media (min-width: 992px) {
    #sp-header.header-with-modal-menu #offcanvas-toggler.offcanvas {
        display: none !important;
    }
}
@media (max-width: 992px) {
    .products-layout-default,
    .products-layout-modern {
        .sppb-collection-item {
            &:nth-child(3n) {
                &:after {
                    display: inline-block;
                }
            }
            &:nth-child(2n) {
                &:after {
                    display: none;
                }
            }
        }
    }
    .products-layout-modern .sppb-collection-item:last-child {
        display: none;
    }
}
@media (max-width: 991px) {
    :root {
        --header_height: $header_height_sm;
    }
    .sp-megamenu-parent {
        > li {
            > a,
            > span {
                line-height: $header_height_sm;
            }
        }
    }
    .header-right {
        height: $header_height_sm;
    }
    #sp-header {
        height: $header_height_sm;
        .logo {
            height: $header_height_sm;
        }
        &.header-with-modal-menu {
            #offcanvas-toggler {
                display: flex !important;
            }
            #modal-menu-toggler {
                display: none;
            }
        }
        &.full-header-center,
        &.header-with-modal-menu,
        &.full-header-left,
        &.lg-header,
        &.header-with-social {
            #offcanvas-toggler.mega {
                display: flex !important;
            }
        }
        &.lg-header {
            #offcanvas-toggler.mega {
                display: none !important;
            }
            .offcanvas-toggler-left.offcanvas {
                display: flex !important;
            }
        }
    }
    #sp-header-topbar {
        .container-inner {
            > .row {
                min-height: $header_height_sm;
            }
        }
    }
    #modal-menu {
        top: $header_height_sm;
    }
    #offcanvas-toggler {
        height: 60px;
        line-height: 60px;
    }
    #sp-logo {
        &.has-border > .sp-column {
            border-right: none;
            padding-right: 0px;
        }
    }
    #sp-menu .social-wrap,
    #sp-logo.has-border {
        &:after {
            display: none;
        }
    }
    #sp-logo.has-border {
        padding-right: 15px;
    }
    #sp-menu .social-wrap {
        padding-left: 15px;
    }
    #sp-header.header-with-modal-menu.center-layout .sp-contact-info,
    #sp-header.header-with-modal-menu.classic-layout .sp-contact-info {
        display: none;
    }
    #sp-header-topbar {
        margin: 10px 0px;
        .container-inner {
            padding-bottom: 10px;
        }
    }

    .hu-media-modal {
        .modal-content {
            height: 80vh;
        }
    }
    .login {
        padding: 40px 30px;
    }
    .easystore-search-module-container #mod_easystore_category {
        width: 140px;
    }
    .easystore-search-module-container #mod_easystore_search {
        width: 180px;
    }
    //Blog Details
    .article-details {
        .article-header-wrapper {
            .article-header {
                h1 {
                    font-size: 30px;
                    line-height: 40px;
                }
            }
        }
        .row {
            .col-md-3,
            .col-md-9 {
                width: 100%;
            }
        }
        .articles-details-info-wrapper {
            .article-info {
                flex-direction: row;
                align-items: center;
                justify-content: space-between;
                gap: 30px;
                .createdby,
                .published {
                    padding: 0;
                    margin: 0;
                    font-family: "Poppins";
                    font-size: 16px;
                    line-height: 24px;
                    color: #474747;
                }
            }
            .article-ratings {
                flex-wrap: wrap;
                .ratings-count {
                    top: 2px;
                    width: 150%;
                    font-size: 13px;
                    line-height: 18px;
                }
            }
            .article-ratings-social-share {
                flex-direction: row;
                gap: 30px;
                align-items: center;
                justify-content: space-between;
            }
        }
    }
    .home-image-carousel .sppb-carousel-extended-heading {
        padding: 20px 20px;
        max-width: 100%;
    }
    .com-easystore.view-products
        .addon-root-easystore-common-productlist
        .sppb-collection-item:after {
        display: none;
    }
    .com-easystore.view-products
        .addon-root-easystore-common-productlist
        .sppb-collection-item {
        padding-bottom: 25px;
    }
    .easystore-product-image {
        padding-bottom: 70%;
    }
    .easystore-range-control .col {
        padding: 0px;
    }
    .easystore-range-control-wrapper {
        padding: 0px 8px;
    }
    .product-listing {
        .sppb-collection-item {
            padding-bottom: 35px;
            &:nth-child(2n) {
                &:after {
                    display: none;
                }
            }
        }
    }
    .products-layout-default,
    .products-layout-modern {
        .sppb-collection-item {
            &:after,
            &:nth-child(3n):after {
                display: none;
            }
        }
    }
    .single-product-details .single-product-image .sppb-nav .sppb-tab-image {
        width: 34px !important;
        height: 34px !important;
    }
    .article-details .article-header-wrapper .article-full-image {
        max-width: 520px;
    }
    .sp-page-title .sp-page-title-heading {
        font-size: 34px;
        line-height: 44px;
    }
    .sp-page-title {
        height: 247px;
    }
    .sp-page-title .sp-page-title-sub-heading {
        max-width: 100%;
    }
    .article-list.articles-leading {
        padding: 20px 20px 20px 20px;
    }
}

@media (max-width: 767px) {
    #sp-header {
        height: $header_height_xs;
    }
    #sp-menu .social-wrap {
        padding-left: 10px;
        &:after {
            display: none;
        }
    }
    #sp-header .menu-wrap {
        display: none;
    }

    .hu-media-modal {
        .modal-content {
            height: 85vh;
        }
    }
    .modal-dialog.jviewport-width80 {
        width: auto;
    }
    .article.related-article-large.d-flex {
        display: block !important;
    }
    .related-article-large {
        .article-image {
            width: auto;
            min-width: auto;
            margin-bottom: 15px;
        }
        .article-information {
            border-left: none;
            padding-left: 0;
            margin-left: 0;
        }
    }
    .article-list.grid {
        --columns: 1 !important;
        margin-bottom: 15px;
    }
    //Blog
    .article-list,
    .article-details {
        .article-intro-image {
            margin-bottom: 30px;
        }
        .article-header h2 {
            font-size: 22px !important;
            line-height: 32px;
        }
        .createdby,
        .category-name,
        .published {
            padding: 5px 15px;
            margin-right: 15px;

            a {
                font-size: 14px;
            }
        }
    }
    //privacy
    .registration {
        padding: 40px 15px;
        legend {
            margin-bottom: 30px;
        }
    }
    // Coming soon
    html.coming-soon {
        .coming-soon-title {
            margin: 15px 0;
            font-size: 2rem;
        }

        #coming-soon-countdown {
            margin-top: 2rem;
        }
    }

    .addon-root-js-slideshow
        .sppb-addon-sp-slider.megadeal-slider
        .sp-slider-outer-stage
        .sp-item:before {
        display: none;
    }
    .easystore-search-module-container #mod_easystore_search {
        width: 220px;
    }
    // Blog page
    .article-list {
        .article {
            .tags {
                top: 35px;
                left: 35px;
                a {
                    font-size: 12px;
                    padding: 5px 15px;
                }
            }
            .article-body {
                .article-header {
                    h2 {
                        font-size: 22px !important;
                        line-height: 28px;
                    }
                }
            }
        }
        > *:not(:first-child) {
            flex-wrap: wrap;
            a {
                max-width: 100%;
                width: 100%;
            }
        }
    }
    .addon-root-js-slideshow .sppb-addon-sp-slider.megadeal-slider {
        .sp-slider-outer-stage {
            height: 900px !important;
        }
    }
    //Blog Details
    .article-details {
        .article-header-wrapper {
            .article-header {
                h1 {
                    font-size: 28px;
                    line-height: 38px;
                }
            }
        }
    }
    .product-listing {
        .sppb-collection-item {
            padding-bottom: 25px;
            &:after {
                display: none;
            }
        }
    }
    //Single Product Details
    .single-product-details {
        .single-product-details-div2 {
            .sppb-addon-countdown {
                .sppb-row {
                    div {
                        padding: 0 15px;
                    }
                }
            }
        }
    }
    .article-details .article-header-wrapper {
        display: flex;
        flex-direction: column;
    }
    .article-details .article-header-wrapper .article-header {
        padding: 50px 30px;
        text-align: center;
    }
    .article-details .article-header-wrapper .article-full-image img {
        border-radius: 0px 0px 8px 8px;
    }
    .article-details .article-header-wrapper .article-full-image::before {
        border-radius: 0px 0px 0px 8px;
    }
    .sp-page-title {
        padding: 0px 0px 0px 30px;
    }
    .sp-page-title {
        height: 220px;
    }
    .product-listing {
        .sppb-collection-item {
            border-bottom: 1px solid #ededed !important;
        }
    }
    .addon-root-js-slideshow
        .sppb-addon-sp-slider.megadeal-slider
        .sp-slider-outer-stage
        .sp-item {
        padding: 20px 20px;
    }
    .footer1 {
        margin-bottom: 20px;
        text-align: center;
    }
    #sp-footer {
        .sppb-addon-image-shape {
            text-align: center;
        }
    }
}

@media (max-width: 575px) {
    :root {
        --header_height: $header_height_xs;
    }
    .sp-megamenu-parent {
        > li {
            > a,
            > span {
                line-height: $header_height_xs;
            }
        }
    }
    #sp-header {
        height: $header_height_xs;
        .logo {
            height: $header_height_sm;
        }
    }
    #sp-header-topbar {
        .container-inner {
            > .row {
                min-height: $header_height_xs;
            }
        }
    }
    #modal-menu {
        top: $header_height_xs;
    }
    #offcanvas-toggler {
        height: $header_height_sm;
        line-height: $header_height_sm;
    }
    #sp-header {
        .sp-module {
            margin-left: 10px;
            .sp-sign-in .text {
                display: none;
            }
        }
    }
    #sp-menu {
        ul.social-icons {
            > li:not(:last-child) {
                margin-right: 10px;
            }
        }
    }
    #sp-header {
        &.lg-header {
            .top-part {
                border-bottom: none;
            }
            #sp-contact {
                order: 1;
            }
            #sp-logo {
                order: 3;
            }
            #sp-social {
                order: 2;
                .sp-column {
                    justify-content: center !important;
                }
                .social-icons {
                    margin: 0;
                    > li:not(:last-child) {
                        margin-right: 10px;
                    }
                }
            }
            .sp-contact-info {
                text-align: center;
                margin: 5px 0;
            }
        }
    }
    .header-has-modules {
        .container-inner > .row {
            flex-wrap: wrap !important;
        }
        #offcanvas-toggler {
            height: auto;
            line-height: 1.2;
        }
    }
    html.coming-soon #coming-soon-countdown {
        .coming-soon-days,
        .coming-soon-hours,
        .coming-soon-minutes,
        .coming-soon-seconds {
            width: 25%;
            margin-bottom: 15px;

            .coming-soon-number {
                font-size: 2.5rem;
            }

            .coming-soon-string {
                font-size: 14px;
            }
        }
    }
    //result page btn group
    .view-search #search-form {
        .btn-group {
            flex-wrap: wrap;
        }
        button,
        .btn {
            border-radius: 3px;
        }
    }
    .login {
        padding: 40px 15px;
    }
    .header-right {
        gap: 5px;
    }

    .easystore-search-module-container #mod_easystore_category {
        width: 100px;
    }
    .easystore-search-module-container #mod_easystore_search {
        width: 160px;
    }

    // Blog page
    .article-list {
        .article {
            .article-body {
                .article-info {
                    margin-bottom: 20px;
                }
                .article-header {
                    h2 {
                        font-size: 20px !important;
                        line-height: 26px;
                    }
                }
                .article-introtext p {
                    font-size: 14px;
                    line-height: 22px;
                }
            }
        }
    }

    .addon-root-js-slideshow
        .sppb-addon-sp-slider.megadeal-slider
        .sp-slider-outer-stage {
        height: 870px !important;
    }
    .addon-root-js-slideshow
        .sppb-addon-sp-slider.megadeal-slider
        .sp-slider-outer-stage
        .sp-item {
        padding: 20px;
    }
    #sp-header .sp-module {
        margin-left: 0px;
    }
    .easystore-search-module-container #mod_easystore_search {
        width: 100%;
    }
    .easystore-search-module-container #mod_easystore_category {
        width: 100%;
        padding: 5px;
    }
    //Blog Details
    .article-details {
        .article-header-wrapper {
            .article-header {
                h1 {
                    font-size: 36px;
                    line-height: 44px;
                }
            }
        }
    }
    .blog {
        .pagination-wrapper {
            .pagination {
                .page-item:first-child {
                    .page-link {
                        padding: 7px 30px;
                    }
                }
                .page-item:last-child {
                    .page-link {
                        padding: 7px 30px;
                    }
                }
            }
        }
    }
    //Single Product Details
    .single-product-details {
        .single-product-image {
            .sppb-nav {
                .sppb-tab-image {
                    width: 50px !important;
                    height: 50px !important;
                }
                li:last-child {
                    display: none;
                }
            }
        }
    }

    .sp-page-title {
        height: 220px;
        background-image: none !important;
    }
    .sp-page-title .sp-page-title-heading {
        font-size: 26px;
        line-height: 36px;
    }
    .sp-page-title .sp-page-title-heading {
        max-width: 100%;
    }
    .home-image-carousel .sppb-carousel-extended-heading {
        padding: 0px 0px;
        max-width: 100%;
    }
    .products-layout-default .bx-wrapper .bx-pager {
        position: absolute;
        bottom: unset;
        width: auto;
        top: auto;
        right: 0;
        margin-top: -5px;
        left: 0px;
    }
    .header-border {
        padding-right: 0px;
    }
    .megadeal-clients {
        .sppb-row > div {
            flex: 1 0 47%;
            max-width: 47%;
        }
    }
    .article-list.articles-leading {
        padding: 20px 0px 20px 0px;
    }
    .article-list {
        padding: 0px 0px 20px 0px;
    }
}

@media (max-width: 479px) {
    //Blog Details
    .article-details {
        .article-header-wrapper {
            .article-header {
                h1 {
                    font-size: 28px;
                    line-height: 34px;
                }
            }
        }
        .articles-details-info-wrapper {
            .article-ratings {
                flex-wrap: wrap;
                .ratings-count {
                    top: 2px;
                    width: 150%;
                    font-size: 13px;
                    line-height: 18px;
                }
            }
            .article-ratings-social-share {
                flex-direction: column;
                gap: 30px;
                align-items: flex-start;
            }
        }
        .article-details-wrapper {
            .sppb-section {
                .sppb-row-column {
                    padding-left: 0;
                    padding-right: 0;
                    .sppb-addon-content {
                        font-size: 14px !important;
                    }
                }
            }
        }
    }
    .header-right {
        .easystore-search-module-container {
            flex-wrap: wrap;
        }
        .easystore-search-module-select {
            flex: 1 0 100%;
        }
        .easystore-search-module-input {
            flex: 1;
            #mod_easystore_search {
                border-left: 1px solid #dcdde0;
                border-radius: 4px 0px 0px 4px;
            }
        }
    }

    .article-details .article-header-wrapper .article-header {
        padding: 40px 20px;
        text-align: center;
    }
    .addon-root-js-slideshow
        .sppb-addon-sp-slider.megadeal-slider
        .sp-slider-outer-stage {
        height: 760px !important;
    }
}
