@media (max-width: 974px) {
    :root {
        --widthOffset: 20px !important;
        --collectionHeroWidth: 100vw !important;
        --marginLeft4Sidebar: 0vw !important;
        --sidebarPadding: 1rem 30px;
    }

    .noMobile {
        display: none;
        visibility: hidden;
    }

    .mobileOnly {
        display: block;
        visibility: visible;
    }
    .hide-md {
        display: none;
    }

    .navController {
        width: 100%;
        display: flex;
        justify-content: space-between;
    }

    .svglogoNoMorph {
        fill: var(--white);
        height: calc(var(--navHeight) - 1rem);
        width: auto;
    }

    .homeFullScreenBanner {
        height: auto;
        min-height: 690px;
    }

    .mobileLogoLink {
        display: flex;
        height: 100%;
        align-items: center;
    }

    .navMenuIcon {
        width: 52px !important;
        display: block;
    }
    
    #advSearchWrapper.open {
        width: calc(100vw - 52px) !important;
        right: 52px !important;
    }

    .topNavIconBar {
        justify-self: flex-end;
    }

    #topNavWrapper:before,
    .topNavSubMenuWrapper:before {
        display: none;
        visibility: hidden;
    }

    .topNavLinkList {
        flex-direction: column;
        justify-content: flex-start;
        width: 100vw;
        height: 0;
        position: absolute;
        top: var(--navHeight);
        left: 0;
        overflow: hidden;
        background-color: var(--black);
        transition: height 300ms, opacity 300ms, display 350ms;
    }
    .topNavLinkList.open {
        display: flex;
        opacity: 1 !important;
        height: calc(100vh - 52px);
        z-index: 500;
        top: var(--navHeight);
        background-color: #1a1a1a;
        transition: height 500ms, opacity 500ms, display 50ms;
    }

    .topNavSubMenuWrapper {
        position: absolute;
        display: flex;
        opacity: 0;
        height: 0vh;
        transition: height 300ms, opacity 300ms, display 350ms;
    }
    .topNavLinkWrapper.open .topNavSubMenuWrapper {
        display: flex;
        flex-direction: column;
        overflow-y: scroll;
        height: 50vh;
        opacity: 1;
        z-index: 9999;
        top: unset;
        transition: height 300ms, opacity 300ms, display 50ms;
    }
    .topNavSearchWrapper {
        margin-right: 0;
        width: 54px !important;
    }

    .topNavLinkWrapper {
        width: 100%;
    }

    .topNavLink {
        padding: 10px 20px;
        background-color: var(--black);
        width: 100%;
        cursor: pointer;
    }

    .topNavLink.mobileOnly {
        height: auto;
    }

    #topNavWrapper {
        width: 100vw;
        background-color: var(--black);
        flex-direction: column;
    }

    .subMenuItem a,
    .subMenuItem button {
        background-color: #454545;
        text-align: left;
        display: block;
        width: 100%;
    }


    .topNavSearchIcon {
        display: block;
    }

    .topNavLinkWrapper .dropdownContent {
        position: static;
    }

    /* Logo Morpher */
    #morphLogoWrapper {
        width: 100%;
        height: 100%;
        padding-top: 68%;
        padding-left: 24%;
        position: fixed;
        top: 0;
        bottom: 0;
        z-index: 9999;
        background-color: #1a1a1a;
    }

    /* Page Loader */
    .pageLoaderWrapper svg {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
    }


    .product__item__caption {
        font-size: 0.733rem;
    }

    /* Index Intro Section */
    .tagLineWrapper {
        display: none;
    }

    .introBannerLogoWrap svg {
        width: 70vw !important;
    }

    #introSection {
        margin-top: var(--navHeight);
        min-height: 690px;
        height: auto;
    }

    .intoBannerMobileBG {
        height: 100%;
        width: 100%;
        background-position: center center;
        background-size: cover;
    }
    /* Index Category Thumb */

    .homeCatThumbTitle {
        padding: 0 0 0 1.5rem;
        font-size: 1.5rem;
    }

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

    .fsBannerTitle {
        font-size: 2.1rem;
    }

    .fsBlurb {
        display: none;
    }

    .fsBannerTitle::before {
        height: 2px;
    }

    .naHeroTextWrapper {
        flex-direction: column;
        padding: 2em;
        bottom: auto;
        left: auto;
    }

    .naHeroTextWrapper.mixBlendDiff #newArrivalsTitle {
        width: 100%;
    }

    .seeMoreBTNWrapper,
    .newArrivalsBTN {
        width: 100%;
    }

    .newArrivalsActive {
        font-size: 2.5rem;
    }

    /* New Arrivals Home */
    .naThumb {
        width: auto;
    }

    .naThumbImgWrapper {
        width: 75vw;
        height: 100%;
    }

    .naHeroWrapper {
        min-height: 380px;
        height: auto;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
    }

    .naHeroTextWrapper,
    .naBannerImgWrapper {
        grid-area: 1 / 1 / 2 / 2;
        position: relative;
    }

    #newArrivalsTitle {
        width: 100%;
    }

    /* Index Happenings */
    .happeningsThumbWrapper {
        grid-auto-columns: calc((100% / 1));
        max-height: unset;
    }

    .happeningsThumb {
        min-height: 600px;
        height: auto;
    }

    /* Footer */
    .footerInnerWrapper {
        padding: 40px 0 80px;
        width: auto;
    }

    .footerRow.mobilePadding {
        padding: 0 var(--widthOffset);
    }
    .footerTitle:before {
        content: "";
        height: 1px;
        width: 80px;
        background-color: var(--white);
        display: block;
        margin-bottom: 1rem;
    }
    .footerNewsletterDesc {
        font-family: var(--medium);
        font-size: 14px;
        text-transform: lowercase;
        margin-bottom: 20px;
    }
    .footerBIGText {
        top: 80px;
    }
    .footerLocationWrapper {
        max-height: 0;
        display: none;
        opacity: 0;
        overflow: hidden;
        background-color: grey;
        color: #ffffff;
        
        transition: max-height 400ms ease-in-out;
    }
    .footerlocationInner {
        padding: 1rem;
        text-align: left;
    }
    .footerLocationWrapper.open {
        max-height: 150px;
        opacity: 1;
        transition: max-height 400ms ease-in-out;
    }
    .footerLocationsWrapper .footerCol {
        border-top: 1px solid #ffffff59;
        text-align: center;
        /* padding: 1rem var(--widthOffset); */
    }
    .footerRow:last-of-type {
        text-align: center;
    }
    .footerTitle2 {
        font-size: 12px;
        margin-bottom: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        padding: 1rem;
    }
    .footerCol address {
        color: var(--white);
    }
    .footerTitle2 i {
        font-size: 10px;
    }
    .footerLocationsWrapper.footerCol:last-of-type {
        border-bottom: 1px solid #ffffff59;
    }
    .footerRow {
        flex-direction: column;
        margin-bottom: 0;
    }
    .logoSVGFooter {
        margin-top: 2rem;
    }
    .footerLocationsWrapper {
        margin-top: 2rem;
    }
    /* Products */
    .readMoreBTN {
        background-color: unset;
        color: var(--black);
        padding: 0;
    }
    body.body_products {
        background-color: unset;
    }

    .rug-view .productThumbWrapper {
        height: 20rem;
    }
    .list-view .productThumbWrapper {
        height: 14rem;
    }
    .catalog-pagination {
        justify-content: flex-start;
        margin: 0;
        flex-wrap: wrap;
        height: unset;
    }
    .rugThumbsWrapper {
        grid-template-columns: repeat(1, 1fr);
    }
    .catalog-pagination li.view_all {
        display: block;
        width: 100%;
        margin-top: 1rem;
    }
    .collectionHeroWrapper.readMore .collectionHeroText {
        top: 0% !important;
    }
    .collectionHeroWrapper.readMore {
        height: calc(100vh - var(--navHeight)) !important;
        transition: height 600ms;
    }
    /* Products Sidebar */
    .sideBar {
        display: none;
        height: 100vh;
        width: 100vw;
        position: fixed;
        max-width: unset;
        top: var(--navHeight) !important;
        left: 0 !important;
        background-color: var(--black);
        opacity: 0;
        transform: translateY(100%);
        transition: opacity 200ms ease-in, transform 300ms ease-in-out;
    }
    .sideBar.open {
        display: block;
        opacity: 1;
        transform: translateY(0);
        transition: opacity 400ms ease-out, transform 400ms ease-in-out;
    } 
    .seriesThumbsWrapper {
        grid-template-columns: repeat(1, 100%);
    }
    .checkboxInput+label {
        color: var(--sbFontColor);
    }
    .filterBTNWrapper {
        height: 3rem;
    }
    .collectionHeroWrapper {
        height: auto;
        max-height: none;
        margin-top: var(--navHeight);
    }

    .collectionHeroText {
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        position: relative;
        top: unset;
        bottom: unset;
        background-color: var(--white);
        color: var(--black);
        /* padding: 2rem; */
    }

    .collectionFSTitle {
        max-width: 100%;
        width: 100%;
        font-family: var(--light);
        font-size: 2rem;
    }

    .collectionFSTitle::before {
        display: none;
    }

    .collectionHeroText .collDescWrapper {
        width: 100%;
        font-size: 14px;
        padding-bottom: unset;
    }

    .colDesc {
        color: var(--black);
    }

    .FullScreenBanner {
        display: flex;
        flex-direction: column-reverse;
        overflow: auto;
    }

    .collectionBGWrapper {
        position: relative;
        width: 100%;
        aspect-ratio: 16 / 9;
        overflow: hidden;
    }
    .body-index .collectionBGWrapper {
        aspect-ratio: 9 / 16 !important;
    }

    .collectionBGWrapper::before {
        display: none;
    }

    .collectionBGWrapper video {
        height: 100%;
    }

    .seriesThumb {
        height: 500px;
    }

    .seriesThumbTitle {
        padding: 0 var(--widthOffset);
    }

    .catalogProductWrapper {
        margin-left: unset;
        padding: 0 var(--widthOffset) 40px;
    }

    .bannerCTAWrapper a.btnOWStroke {
        color: var(--black);
        border: 1px solid var(--black);
        font-size: 10px;
        width: 100%;
    }
    .mProductFilterController {
        position: fixed;
        bottom: 1.5rem;
        height: 3.3rem;
        width: 80vw;
        left: 0;
        right: 0;
        z-index: 800;
        margin: 0 auto;
        border-radius: 5px;
        background-color: #5f5f5ff0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        color: var(--white);
        text-transform: uppercase;
        cursor: pointer;
        font-family: var(--medium);
        font-size: 14px;
        overflow: hidden;
    }
    .layoutSwitcher {
        display: flex;
        height: 100%;
    }
    .rugThumbsWrapper.rug-view {
        grid-template-columns: repeat(1, 1fr);
    }
    .rugThumbsWrapper.list-view {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1rem;
    }
    .openFilters, .closeFilters {
        height: 100%;
        width: 100%;
        display: flex;
        align-items: center;
        padding: 0 1.5rem;
    }
    
    .layoutSwitchInput {
        position: absolute;
        opacity: 0;
        width: 0;
        height: 0;
    }

    .layoutSwitch i {
        font-size: 1rem;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0 1.5rem;
            cursor: pointer;
            transition: background-color 0.3s ease;
            background-color: transparent;
    }
    .layoutSwitchInput:checked+i {
        background-color: #404040;
        color: white;
    }
    #mobileProductFilter {
        display: none;
        background-color: var(--black);
        width: 100vw;
        height: 0;
        z-index: 4500;
        overflow: hidden;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        margin-top: var(--navHeight);
        transition: height 500ms ease-in-out;
    }
    #mobileProductFilter.open {
        height: calc(100vh - var(--navHeight));
        transition: height 500ms ease-in-out;
    }
    .rugThumbSku {
        display: block;
    }
    /* Product Zoom */
    .relatedProductsWrapper {
        padding-top: 1.5rem !important;
    }

    .relatedProductsWrapper .rugThumbsWrapper {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 2.5rem;
        column-gap: 1rem;
    }

    .product__item {
       max-height: none;
       height: unset; 
    }
    .product__item__img__wrapper {
        position: relative;
        top: unset;
        left: unset;
        right: unset;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
            align-items: center;
    }

    .product__item__hover {
        white-space: unset;
        min-height: auto;
        margin: 0 0 1rem;
    }
    .product__item__hover__category {
        line-height: 1.5;
    }
    .product__item__hover__size {
        padding: 0;
        line-height: 1.25;
        margin: 0;
    }
    .productZoomWrapper {
        width: auto;
        height: auto;
        flex-direction: column-reverse;
        align-items: unset;
        margin-top: var(--navHeight);
        gap: 3rem;
    }

    .productSideBar {
        width: 100%;
        min-height: auto;
        padding-top: 0;
    }

    .swiper-main-container {
        height: 66vh;
    }

    .productIMGWrapper {
        width: 100%;
        height: auto;
    }

    .swiper-slide div {
        width: 100%;
        height: 100%;
    }

    .swiper-pagination {
        display: flex;
        justify-content: center;
        bottom: -1rem;
    }

    .swiper-main-container .swiper-pagination-bullet {
        width: 25%;
    }

    .tradePortalProductActions {
        display: flex;
        align-items: flex-start;
        gap: 1rem;
    }

    .swiper-button-prev,
    .swiper-button-next {
        color: white;
        mix-blend-mode: difference;
    }

    .actions-openfullsccreenslider.ActionBTN {
        display: none;
    }
    .actions-inquire, .ActionBTN a, .ActionBTN button {
        width: 100%;
        height: unset;
        margin-right: 0;
        max-height: unset;
        padding: 0px 15px;
        border-radius: 3px;
        text-align: center;
        border: 1px solid var(--black);
        height: 52px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        font-family: var(--medium);
        cursor: pointer;
    }

    .product-actions-links div {
        width: 100%;
    }

    .actionText br {
        display: none;
    }

    .actionText {
        font-size: 12px;
        display: none;
    }
    .swiper-main-container-full {
        height: 100vh;
    }
    
    /* Search Page */
    .searchForSubtitle {
        font-size: 1rem;
    }

    .sectionTitle {
        font-size: 1.5rem;
    }

    .closeBTN {
        right: var(--widthOffset);
        top: 2rem;
        color: var(--black);
    }

    .js-form-login {
        width: 100%;
        display: flex;
        height: 100%;
        flex-direction: column;
        justify-content: space-between;
    }

    .loginModalInner {
        max-width: 100%;
        padding: 100px var(--widthOffset);
    }
    
    /* trade portal */
    .tpWrapper {
        width: 100%;
        margin-left: 0;
    }
    .tpDashboardWrapper {
        padding: 0 var(--widthOffset);
        margin-bottom: 4rem;
        margin-top: calc(var(--navHeight) + 3rem);
    }
    .projectTopWrapper {
        flex-direction: column;
    }
    #tpSideBarWrapper {
        display: none;
    }
    .accRecentProjectListWrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .project_item a {
        gap: 4rem;
    }
    #tpDashWelcome {
        margin-top: calc(var(--navHeight) + 0rem);
    }
    #dashboard_orders_wrapper {
        display: none !important;
    }
    .inquiremodal.shown, .inquiremodal.open {
        display: block;
    }

    .favRugsWrapper {
            grid-template-columns: 1fr 1fr;
    }
    .tpPageTitle {
        line-height: 125%;
    }
    #dashboard_recently_favorited {
        margin: 0;
    }
    .accSectionTitle {
        margin-bottom: 1rem;
        margin-right: unset;
    }

    .scrollbox,.scrollbox--main {
        overflow-x: hidden;
        overflow-y: auto;
        display: block;
    }
    .fullscreen {
        background-color: var(--black);
    }
    .train--story {
        display: block;
        white-space: normal;
    }
    .train__carriage {
        display: flex;
        width: 100%;
        height: auto;
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        z-index: 0;
    }
    img.train__carriage__slide {
        width: 100% !important;
        height: auto;
        object-fit: cover;
        aspect-ratio: 4 / 5;
        z-index: 0;
    }
    .osfc_horizon-prev, .osfc_horizon-next {
        display: none;
    }
    svg.story__trapezoid__full_vh {
        display: none;
        visibility: hidden;
    }
    .train__carriage__trapezoid__text {
        position: relative;
        padding: calc(var(--navHeight) + 4rem) 25px;
        max-width: 100vw;
        margin-left: 0 !important;
        transform: unset;
    }
    .train__carriage--color-white {
        background-color: var(--white);
    }
    .train__carriage__trapezoid {
        display: none;
        visibility: hidden;
    }
    .train__carriage__bgcolor__text {
        padding: calc(var(--navHeight) + 4rem) 25px;
        max-width: unset;
        font-size: 14px;
    }

    .osfc_close {
        z-index: 9999 !important;
    }

    /* Happenings */
    .hapThumbTextInner {
        width: 100%;
    }

    /* trade portal project */
    .projectListRugDetails {
        display: grid;
        grid-template-columns: 1fr;
        margin: 20px 0;
    }
}

/* Everything Bigger Than a Phone */
@media (min-width: 975px) {
    
    .sectionTitle {
            font-size: 2rem;
        }
    .ActionBTN button:hover,
        .ActionBTN a:hover {
            width: 150px;
            color: var(--black) !important;
            box-shadow: none !important;
            padding-right: 10px;
            transition: width ease-in-out 300ms;
        }
    .mobileOnly {
            display: none;
            visibility: hidden;
        }
    .relatedProductsWrapper .rugThumbsWrapper {
            grid-template-columns: repeat(4, 1fr);
            gap: 3rem;
            max-width: 100% !important;
            width: 100% !important;
        }
    .product__item:hover .product__item__img__hover {
            opacity: 1 !important;
            -webkit-transition: opacity 150ms;
            -o-transition: opacity 150ms;
            transition: opacity 150ms;
        }
    
        .product__item:active .product__item__img__hover img,
        .product__item:focus .product__item__img__hover img {
            transform: translateX(-50%) translateY(-50%) scale(1.05);
            transition: transform 100ms;
        }
    .topNavLink:hover,
        .subMenuItem a:hover,
        .subMenuItem button:hover {
            background-color: #ffffff29;
            -webkit-transition: background-color 200ms;
            -o-transition: background-color 200ms;
            transition: background-color 200ms;
        }
    
        .topNavLink:focus,
        .subMenuItem a:focus,
        .subMenuItem button:focus {
            background-color: #00000066;
            -webkit-transition: background-color 100ms;
            -o-transition: background-color 100ms;
            transition: background-color 100ms;
        }
    .navController {
        display: flex;
        justify-content: space-between;
    }
    #mobileLogoLink {
        display: none;
    }
    .topNavLinkCollapse {
        display: inline-block;
        opacity: 1;
    }
    .naThumb {
        width: 20vw;
        margin: 20px 3vw;
    }
    .collectionFSTitle::before {
        content: "";
        height: 3px;
        width: 150px;
        background-color: var(--white);
        display: block;
        margin-bottom: 15px;
    }
    .collectionFSTitle {
        font-size: 3rem;
        color: var(--white);
    }

    .collectionHeroText .collDescWrapper {
        font-size: 1rem;
    }

    .appliedFilter {
        padding: 6px 10px;
    }

    .colSubTitle {
        font-size: 1.5rem;
    }

    .collectionFSTitle strong {
        font-size: 2rem;
    }

    .product__item__hover {
        margin: 0 0 5px;
    }
    
    .productFilterLabel, .js-load-filter-tree {
        font-size: var(--sidebarFontSize);
        padding: var(--sidebarPadding);
    }
    .subCatSeriesThumbContainer .seriesThumbsWrapper {
        grid-template-columns: repeat(2, 50%);
    }
    .subCatSeriesThumbContainer .seriesThumbTitle {
        padding: 0 50px;
    }
}

/* LARGE SCREEN SIZE */
@media  only screen and (min-width: 1636px) {
    
    .lg {
        visibility: visible;
    }
    .md {
        visibility: hidden;
        display: none;
    }
    .topNavClosed {
        display: none;
    }

    .topNavSearchIcon {
        display: block;
        cursor: pointer;
    }
}


/* MEDIA QUERY MAX-WIDTH 1280 - Small Screen  */
/* @media (max-width: 1280px) {

    .product__item__caption {
        font-size: 0.8rem;
    }
} */
