/*#max-products-wrapper,
#max-filter-panel {
    max-width: 1440px;
    padding-right: 15px;
}*/

#subheader-archive {
    height: 470px;
    overflow: hidden;
    margin-bottom: 30px;
    width: 100%;
    display: flex;
}
#subheader-archive .wrapper {
    display: flex;
    align-content: center;
    align-items: center;
    flex-wrap: nowrap;
    flex-direction: row;
    width: 100%;
    justify-content: center;
}
#subheader-archive .archivetitle {
    position: absolute;
    color: #fff;
    text-shadow: 1px 1px 10px #000000;
    width: 59%;
}
#subheader-archive .small-img {
    width: 30%;
    object-fit: cover;
}
#subheader-archive img {
    width: 100%;
}
#subheader-archive .small-img img {
    object-fit: cover;
    height: 470px;
}
#subheader-archive .large-img img {
    object-fit: cover;
    height: 470px;
    object-position: bottom;
}
#subheader-archive .large-img {
    width: 70%;
    object-fit: cover;
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
}
@media (max-width: 991px) {
    #subheader-archive .small-img {
        display: none;
    }
    #subheader-archive .large-img {
        width: 100%;
        height: 219px;
        justify-content: center;
    }
    #subheader-archive .archivetitle {
        font-size: 23px;
        width: 95%;
    }
}
@media (min-width: 1550px) {
    #subheader-archive, 
    #subheader-archive .small-img img, 
    #subheader-archive .large-img img {
        height: 70vh;
        max-height: 1000px;
    }
}

#max-filter-panel #filter-sort:after,
#filter-posts-count:after {
    content: "\f140";
    display: inline-block;
    font-family: dashicons;
    margin: 0 0 0 6px;
    vertical-align: top;
    color: #002f67;
    position: absolute;
    width: 20px;
    right: 6px;
    top: 9px;
    z-index: 999;
    font-size: 20px;
}

#max-filter-panel .filter-toggle {
    font-size: 13px;
    display: block;
    width: 100%;
    box-shadow: none;
    border: none;
    background: #002f67;
    padding: 9px 20px;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 0;
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    position: relative;
}

#subheader-archive.no-banner {
    height: auto !important;
    border-top: 3px solid #d9dfee;
}
#subheader-archive.no-banner .small-img,
#subheader-archive.no-banner .large-img {
    display: none;
}

#subheader-archive.no-banner h1.archivetitle {
    padding: 0.5em 0 1em;
    text-align: center;
    font-size: 32px;
    color: #002f67;
    font-weight: bold;
    letter-spacing: 3px;
    text-shadow: none;
    display: block;
    position: relative;
}

h1.archivetitle {
    padding: 0.5em 0 1em;
    text-align: center;
    font-size: 32px;
    color: #002f67;
    font-weight: bold;
    letter-spacing: 3px;
}
@media screen and (max-width: 450px) {
    h1.archivetitle {
        font-size: 25px;
    }
}

#product-filter {
    border: 1px solid #dedede;
    border-width: 1px 1px 0 1px;
}

#product-filter.loading {
    opacity: 0.5;
    transition: all 0.3s ease;
    pointer-events: none;
}

#product-feed {
    transition: all 0.3s ease;
    /* grid-auto-rows: 1fr; */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
}

#filter-pagination {
    grid-column: span 3;
}

#product-feed .product-wrapper img {
    /*    max-height: 456px;*/
    /*  max-height: 630px;*/
    height: auto;
}

@media (max-width: 1200px) {
    #product-feed .product-wrapper img {
        /*      max-height: 456px;*/
        /*        max-height: 630px;*/
        height: auto;
    }
}

#product-feed.loading {
    opacity: 0.5;
    transition: all 0.3s ease;
}

#product-feed .product-item {
    display: inline-block;
    position: relative;
    float: left;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-bottom: 60px;
}

#product-feed .product-item.category-view .category-link {
    position: absolute;
    width: calc(50% - 30px);
    left: 15px;
    right: 15px;
    bottom: 0;
    margin: 0;
    padding: 2px 0;
    background-color: #d9dfee;
    color: #002b68;
    text-align: center;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#product-feed .product-item.category-view .category-link:hover {
    background-color: #002f67;
    color: #fff;
    transition: all 0.3s ease;
}

#max-products-wrapper.wide #product-feed {
    grid-template-columns: repeat(4, 1fr);
}

#max-products-wrapper.wide #filter-pagination {
    grid-column: span 4;
}

#filter-wrapper {
    float: left;
    width: 25%;
    padding-right: 15px;
    padding-left: 15px;
    transition: all 0.3s ease;
    position: relative;
}

#feed-wrapper {
    float: left;
    width: 75%;
    padding-right: 15px;
    padding-left: 15px;
    transition: all 0.3s ease;
}

#max-filter-panel #filter-sort {
    float: left;
    position: relative;
}

#max-filter-panel #filter-posts-count {
    float: right;
    position: relative;
}

#max-filter-panel #filter-sort span,
#max-filter-panel #filter-posts-count span {
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    font-size: 13px;
    background-color: #002f67;
    color: #fff;
    display: inline-block;
    padding: 9px 15px;
    height: 42px;
    float: left;
}

#max-filter-panel #filter-sort select,
#max-filter-panel #filter-posts-count select {
    float: left;
    background-color: #fff;
    color: #002f67;
    outline: none;
    border: none;
    padding: 9px 24px 9px 10px;
    border: 2px solid #002f67;
    height: 42px;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 13px;
    -webkit-appearance: none;
    border-radius: 0;
}

#feed-wrapper #quick-nav {
    padding: 15px 15px;
}

#max-products-wrapper.wide #feed-wrapper {
    width: 100%;
    transition: all 0.3s ease;
}

#max-products-wrapper.wide #filter-wrapper {
    margin-left: -25%;
    visibility: hidden;
    transition: all 0.3s ease;
}

#product-feed .product-wrapper {
    display: inline-block;
    float: left;
    width: 100%;
    height: 100%;
    box-shadow: 11px 15px 19px rgba(11, 29, 77, 0.03);
}

#product-feed .category-view .product-wrapper {
    padding: 0 0 30px;
}

#product-feed .category-view .product-wrapper {
    box-shadow: 5px 5px 15px rgb(0 0 0 / 0.25);
}

#product-feed .product-wrapper .product-image {
    width: 100%;
    transform: none;
}

#product-feed .product-item .product-meta {
    padding: 20px 45px 0 20px;
}
#product-feed .product-item .add-to-favorites {
    position: absolute;
    bottom: 12px;
    right: 25px;
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    padding: 0;
    border: 0;
    background-color: #d9dfee;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 -28 512.001 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m256 455.515625c-7.289062 0-14.316406-2.640625-19.792969-7.4375-20.683593-18.085937-40.625-35.082031-58.21875-50.074219l-.089843-.078125c-51.582032-43.957031-96.125-81.917969-127.117188-119.3125-34.644531-41.804687-50.78125-81.441406-50.78125-124.742187 0-42.070313 14.425781-80.882813 40.617188-109.292969 26.503906-28.746094 62.871093-44.578125 102.414062-44.578125 29.554688 0 56.621094 9.34375 80.445312 27.769531 12.023438 9.300781 22.921876 20.683594 32.523438 33.960938 9.605469-13.277344 20.5-24.660157 32.527344-33.960938 23.824218-18.425781 50.890625-27.769531 80.445312-27.769531 39.539063 0 75.910156 15.832031 102.414063 44.578125 26.191406 28.410156 40.613281 67.222656 40.613281 109.292969 0 43.300781-16.132812 82.9375-50.777344 124.738281-30.992187 37.398437-75.53125 75.355469-127.105468 119.308594-17.625 15.015625-37.597657 32.039062-58.328126 50.167969-5.472656 4.789062-12.503906 7.429687-19.789062 7.429687zm-112.96875-425.523437c-31.066406 0-59.605469 12.398437-80.367188 34.914062-21.070312 22.855469-32.675781 54.449219-32.675781 88.964844 0 36.417968 13.535157 68.988281 43.882813 105.605468 29.332031 35.394532 72.960937 72.574219 123.476562 115.625l.09375.078126c17.660156 15.050781 37.679688 32.113281 58.515625 50.332031 20.960938-18.253907 41.011719-35.34375 58.707031-50.417969 50.511719-43.050781 94.136719-80.222656 123.46875-115.617188 30.34375-36.617187 43.878907-69.1875 43.878907-105.605468 0-34.515625-11.605469-66.109375-32.675781-88.964844-20.757813-22.515625-49.300782-34.914062-80.363282-34.914062-22.757812 0-43.652344 7.234374-62.101562 21.5-16.441406 12.71875-27.894532 28.796874-34.609375 40.046874-3.453125 5.785157-9.53125 9.238282-16.261719 9.238282s-12.808594-3.453125-16.261719-9.238282c-6.710937-11.25-18.164062-27.328124-34.609375-40.046874-18.449218-14.265626-39.34375-21.5-62.097656-21.5zm0 0' fill='%23002b68'/%3E%3C/svg%3E");
    background-size: 18px 18px;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.3s ease;
}
#product-feed.favorites-prod .add-to-favorites {
    right: 10px;
}
body.page-template-template-favorites #product-feed.favorites-prod .product-wrapper > a .product-image,
body.page-template-template-favorites-new #product-feed.favorites-prod .product-wrapper > a .product-image {
    max-height: auto !important;
}
.add-to-favorites.remove {
    background-image: none !important;
}
.add-to-favorites.remove::before,
.add-to-favorites.remove::after {
    content: "";
    display: block;
    width: 20px;
    height: 4px;
    position: absolute;
    top: 13px;
    left: 5px;
    background-color: #fff;
}
.add-to-favorites.remove::before {
    transform: rotate(45deg);
}
.add-to-favorites.remove::after {
    transform: rotate(-45deg);
}
#product-feed .product-item .add-to-favorites:hover,
#product-feed .product-item .add-to-favorites.active {
    background-color: #002f67;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 -28 512.001 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m256 455.515625c-7.289062 0-14.316406-2.640625-19.792969-7.4375-20.683593-18.085937-40.625-35.082031-58.21875-50.074219l-.089843-.078125c-51.582032-43.957031-96.125-81.917969-127.117188-119.3125-34.644531-41.804687-50.78125-81.441406-50.78125-124.742187 0-42.070313 14.425781-80.882813 40.617188-109.292969 26.503906-28.746094 62.871093-44.578125 102.414062-44.578125 29.554688 0 56.621094 9.34375 80.445312 27.769531 12.023438 9.300781 22.921876 20.683594 32.523438 33.960938 9.605469-13.277344 20.5-24.660157 32.527344-33.960938 23.824218-18.425781 50.890625-27.769531 80.445312-27.769531 39.539063 0 75.910156 15.832031 102.414063 44.578125 26.191406 28.410156 40.613281 67.222656 40.613281 109.292969 0 43.300781-16.132812 82.9375-50.777344 124.738281-30.992187 37.398437-75.53125 75.355469-127.105468 119.308594-17.625 15.015625-37.597657 32.039062-58.328126 50.167969-5.472656 4.789062-12.503906 7.429687-19.789062 7.429687zm-112.96875-425.523437c-31.066406 0-59.605469 12.398437-80.367188 34.914062-21.070312 22.855469-32.675781 54.449219-32.675781 88.964844 0 36.417968 13.535157 68.988281 43.882813 105.605468 29.332031 35.394532 72.960937 72.574219 123.476562 115.625l.09375.078126c17.660156 15.050781 37.679688 32.113281 58.515625 50.332031 20.960938-18.253907 41.011719-35.34375 58.707031-50.417969 50.511719-43.050781 94.136719-80.222656 123.46875-115.617188 30.34375-36.617187 43.878907-69.1875 43.878907-105.605468 0-34.515625-11.605469-66.109375-32.675781-88.964844-20.757813-22.515625-49.300782-34.914062-80.363282-34.914062-22.757812 0-43.652344 7.234374-62.101562 21.5-16.441406 12.71875-27.894532 28.796874-34.609375 40.046874-3.453125 5.785157-9.53125 9.238282-16.261719 9.238282s-12.808594-3.453125-16.261719-9.238282c-6.710937-11.25-18.164062-27.328124-34.609375-40.046874-18.449218-14.265626-39.34375-21.5-62.097656-21.5zm0 0' fill='%23fff'/%3E%3C/svg%3E");
}
#product-feed .product-item.category-view .product-meta {
    position: relative;
}
#product-feed .product-item.category-view .add-to-favorites {
    top: 25px;
    right: 6px;
}

#product-feed .product-item.category-view .product-meta {
    padding: 20px 45px 15px 20px;
}

#product-feed .product-item.category-view.broadloom .product-meta {
    padding: 20px 45px 5px 20px;
}
/*
.room-scene-image img {
    max-height: 920px;
}*/

#product-feed .product-item .product-meta h2 {
    display: inline-block;
    width: 100%;
    font-size: 18px;
    color: #22201e;
    margin: 0;
    text-transform: capitalize;
    font-family: "Libre Baskerville", serif;
}
#product-feed .product-item .product-meta h2 a {
    color: inherit;
}
#product-feed .product-item .product-meta h2 .title-collection {
    display: inline-block;
    float: left;
    width: 100%;
}

#product-feed .product-item .product-meta h2 .title-pattern {
    display: inline-block;
    float: left;
    width: 100%;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 20px;
    min-height: 20px;
}

#product-feed .product-item .product-meta p {
    font-family: "Libre Baskerville", serif;
    font-size: 14px;
    color: #22201e;
    font-weight: 300;
}

#product-feed .product-item .product-new {
    position: absolute;
    top: -10px;
    right: 0;
    background: #0a1b4d;
    color: #fff;
    width: 52px;
    height: 52px;
    line-height: 52px;
    text-align: center;
    border-radius: 100%;
    font-family: "Libre Baskerville", serif;
    font-style: italic;
    font-size: 14px;
    font-weight: 600;
}

#product-filter .filter-options #filter-recent {
}

#product-filter .filter-options #filter-recent:before {
}

#product-filter .filter-item:not(:last-child) {
    border-bottom: 1px solid #dedede;
}

#product-filter .filter-item .filter-indicator {
    display: inline-block;
    position: absolute;
    float: left;
    width: 30px;
    height: 30px;
    left: 16px;
    top: 19px;
}

#product-filter .filter-item .filter-indicator:before {
    content: " ";
    display: inline-block;
    position: absolute;
    height: 2px;
    width: 10px;
    background-color: #777;
}

#product-filter .filter-item .filter-indicator:after {
    content: " ";
    display: inline-block;
    position: absolute;
    height: 2px;
    width: 10px;
    background-color: #777;
    transform: rotate(90deg);
    transition: all 0.3s ease;
}

#product-filter .filter-item.open .filter-indicator {
}

#product-filter .filter-item.open .filter-indicator:before {
    content: " ";
    height: 2px;
    width: 10px;
    background-color: #777;
}

#product-filter .filter-item.open .filter-indicator:after {
    content: " ";
    transform: rotate(0deg);
    transition: all 0.3s ease;
}

#product-filter .filter-item h4 {
    position: relative;
    text-align: left;
    font-size: 13px;
    color: #000;
    border-top: 1px solid #f2f2f2;
    padding: 14px 15px 14px 35px;
    margin: 0;
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    cursor: pointer;
}

#product-filter .filter-options {
    display: none;
    max-height: 290px;
    overflow-y: auto;
    padding: 0 15px 10px;
}

#product-filter .filter-item:first-child .filter-options {
    padding: 10px 15px 10px;
}

#product-filter .filter-options.open {
    display: block;
}

#product-filter .filter-options label {
    position: relative;
    width: 100%;
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    font-size: 14px;
    line-height: 20px;
    padding-left: 20px;
}

#product-filter .filter-options input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

#product-filter .filter-options input ~ .checkmark {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin: 0 3px 0 0;
    background-color: #ccc;
    background-size: 10px;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: top;
    border: 1px solid #ccc;
    border-radius: 3px;
    transition: all 0.3s ease;
    position: absolute;
    left: 0;
    top: 3px;
}

#product-filter .filter-options input:checked ~ .checkmark {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M20.285 2l-11.285 11.567-5.286-5.011-3.714 3.716 9 8.728 15-15.285z'/%3E%3C/svg%3E");
    transition: all 0.3s ease;
}

#product-filter .filter-options label:hover input ~ .checkmark {
    border: 1px solid #000;
    transition: all 0.3s ease;
}

#product-filter .filter-options.main-type input:checked {
    pointer-events: none;
}

#product-filter .filter-options::-webkit-scrollbar,
#product-filter .filter-options::-webkit-scrollbar {
    width: 10px;
    background-color: #f5f5f5;
}

#product-filter .filter-options::-webkit-scrollbar-thumb,
#product-filter .filter-options::-webkit-scrollbar-thumb {
    background-color: rgba(0, 47, 103, 1);
    background-image: -webkit-gradient(
        linear,
        0 0,
        0 100%,
        color-stop(0.5, rgba(255, 255, 255, 0.2))
    );
}

#product-filter .filter-options.filter-buttons {
    padding: 15px 15px;
}

#product-filter .filter-options a.button {
    display: inline-block;
    width: auto;
    min-width: 60px;
    padding: 2px 10px;
    margin: 15px 10px 0 0;
    font-family: "Roboto", sans-serif;
    background: #091b4d;
    color: #fff;
    text-transform: uppercase;
    border-radius: 5px;
    -webkit-box-shadow: 4px 6px 13px rgba(7, 34, 103, 0.25);
    box-shadow: 4px 6px 13px rgba(7, 34, 103, 0.25);
    text-align: center;
    font-size: 13px;
    text-decoration: none;
}

#product-filter .filter-options a.button:hover {
    opacity: 0.75;
}

#filter-pagination {
    display: inline-block;
    width: 100%;
    margin: 0 0 50px;
    font-size: 16px;
    text-align: center;
}

#filter-pagination .current {
    padding: 0 5px;
    margin: 0 5px;
    font-weight: 600;
    border-bottom: 2px solid #002f67;
    color: #002f67;
    cursor: default;
}

#filter-pagination a {
    padding: 0 5px;
    color: #22201e;
}

#filter-pagination a:hover {
    color: #002f67;
    border-bottom: 2px solid #002f67;
}

#product-feed.favorites-prod {
    display: grid;
    display: -webkit-flex;
    flex-wrap: wrap;
    margin: 30px -15px 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: auto;
}

@media (max-width: 991px){
    #product-feed.favorites-prod {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 767px){
    #product-feed.favorites-prod {
        grid-template-columns: repeat(1, 1fr);
    }
}
#product-feed.favorites-prod .product-wrapper {
    height: auto;
    position: relative;
}
body.page-template-template-favorites .product-wrapper > a,
body.page-template-template-favorites-new .product-wrapper > a {
    display: block;
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    overflow: hidden;
}
body.page-template-template-favorites #product-feed .product-wrapper > a .product-image,
body.page-template-template-favorites-new #product-feed .product-wrapper > a .product-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.no-favorites.hidden {
    display: none;
}
.no-favorites {
    text-align: center;
}
.no-favorites span {
    display: block;
}
.button-wrap {
    display: flex;
    gap: 20px;
    justify-content: center;
}
.no-favorites a,
.save-favorites-block button,
.clear-all button,
.clear-all-fav button,
.popup_block form input[type="submit"],
.ajax_result .blue-btn {
    display: inline-block;
    padding: 0 20px;
    font-size: 12px;
    line-height: 32px;
    font-weight: bold;
    background-color: #091b4d;
    border: 0;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
}
.no-favorites a {
    margin-top: 15px;
}
.main-popup-content.hidden {
    display: none;
}
.ajax_result.active {
    display: block;
}
.save-favorites-block {
    text-align: center;
}
.ajax_result__btns-block {
    margin: 20px 0 0;
}

.popup_close {
    position: absolute;
    top: 10px;
    right: 10px;
    display: block;
    width: 25px;
    height: 25px;
    cursor: pointer;
    z-index: 10;
}
.popup_close::before,
.popup_close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: -3px;
    display: block;
    width: 27px;
    height: 2px;
    background-color: #9ea1a7;
}
.popup_close::before {
    transform: translate(0, -2px) rotate(45deg);
}
.popup_close::after {
    transform: translate(0, -2px) rotate(-45deg);
}
.popup_bg {
    display: block;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 99;
    transition: 0.2s all;
}
.popup_bg.open {
    opacity: 1;
    pointer-events: auto;
}
.popup_container {
    width: 100%;
    max-height: 100%;
    overflow-y: auto;
    margin: 0 auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.popup_block {
    text-align: center;
    position: relative;
    margin: 0 auto;
    width: 100%;
    padding: 30px 15px;
    background-color: #fff;
    max-width: 700px;
}
.popup_title {
    font-size: 24px;
}
.popup_block form {
    margin: 20px auto;
    display: table;
    width: 100%;
    max-width: 350px;
}
.popup_block form input {
    margin: 0;
    vertical-align: middle;
}
.popup_block form input[type="submit"] {
    width: 74px;
}
.popup_block form input.user-email {
    display: inline-block;
    border: 1px solid #091b4d;
    line-height: 30px;
    padding: 0 10px;
    height: 32px;
    width: calc(100% - 74px);
}
.popup_block .priv-pol {
    margin: 10px 0 0;
    font-size: 10px;
    line-height: 1.6em;
    color: #ccc;
}
.popup_block form.error input.user-email {
    border-color: red;
}

.ajax_result {
    display: none;
}

/*ADDED January 2023*/

#product-feed .product-item.category-view .category-link {
    position: absolute;
    width: calc(50% - 30px);
    left: 15px;
    right: 15px;
    bottom: 0;
    margin: 0;
    padding: 2px 0;
    background-color: #d9dfee;
    color: #002b68;
    text-align: center;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#product-feed .product-item.category-view .category-link:hover {
    background-color: #002f67;
    color: #fff;
    transition: all 0.3s ease;
}

#product-feed .product-item.category-view .roomscene-link {
    position: absolute;
    width: 50%;
    right: 15px;
    bottom: 0;
    margin: 0;
    padding: 2px 0;
    background-color: #d9dfee;
    color: #002b68;
    text-align: center;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 1px solid #cacfd9;
}

#product-feed .product-item.category-view .roomscene-link:hover {
    background-color: #002f67;
    color: #fff;
    transition: all 0.3s ease;
}

/* Room scene */
.room-scene-wrap {
    display: none;
    position: relative;
    background: #fff;
    padding: 30px;
    width: auto;
/*    max-height: 90vh;*/
    margin: 20px auto;
    /* min-width: 90%; */
}

.roomscene-flex {
    position: relative;
    width: auto !important;
}

#productList .slick-slide > div {
    width: fit-content;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}

.roomscene-flex .flex-center {
    display: flex;
    align-content: center;
    /*align-items: flex-start;*/
    align-items: center;
    flex-direction: row;
    width: 100%;
    gap: 30px;
}

.room-scene-wrap .slick-slide {
    min-width: 326px !important;
}

.room-scene-image {
    width: 100%;
    float: left;
    overflow: hidden;
}
.room-scene-image img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}
.room-scene-wrap .product-matchbox {
    max-width: 250px;
    min-width: 200px;
    float: left;
}

.room-scene-wrap .product-matchbox .product-content {
    max-height: 80vh;
    overflow: scroll;
}

.room-scene-wrap .button-blue {
    background-color: #002b68;
    border: 2px solid #002b68;
    color: #fff;
    padding: 4px 10px;
    display: inline-block;
    margin: 0 0 25px;
    border-radius: 4px;
    font-size: 13px;
    text-transform: uppercase;
}

.room-scene-wrap .button-blue:hover {
    background-color: #fff;
    color: #002f67;
}

.room-scene-wrap .product-matchbox .product-content::-webkit-scrollbar,
.room-scene-wrap .room-scene-image::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 4px;
}
.room-scene-wrap .product-matchbox .product-content::-webkit-scrollbar-thumb,
.room-scene-wrap .room-scene-image::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #d9dfee;
    -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, 0.5);
}

.room-scene-wrap .product-matchbox strong {
    display: block;
}

.room-scene-wrap .product-matchbox h3 {
    font-family: "Libre Baskerville";
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    text-transform: uppercase;
    color: #22201e;
}

#productList {
    margin-bottom: 0;
}

@media only screen and (min-width: 1200px) {
    .room-scene-wrap.broadloom {
        max-width: 950px;
    }

    .admin-bar .room-scene-wrap.arearugs {
        margin-top: 50px;
    }

    .room-scene-wrap.arearugs {
        max-width: 850px;
    }

    .room-scene-image img {
        max-height: 80vh;
    }
}

@media only screen and (max-width: 1199px) {
    .room-scene-wrap.broadloom {
        max-width: 950px;
    }

    .room-scene-wrap.arearugs {
        max-width: 770px;
    }

    .room-scene-image img {
        max-height: 84vh;
    }
}

::-webkit-scrollbar-corner {
    background: rgba(0, 0, 0, 0);
}

@media only screen and (max-width: 1099px) {
    .room-scene-image img {
        max-height: 80vh;
    }
    .broadloom .room-scene-image img {
        max-height: 300px;
    }
}

.share-content .addtoany_share_save_container {
    padding: 0;
    display: flex;
    align-items: baseline;
    border: none;
}

body .share-content .addtoany_header {
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 19px;
    text-transform: uppercase;
    color: #091b4d;
}

body .share-content .a2a_button_facebook:after {
    content: "\f09a";
    top: 52%;
    color: #091b4d;
}

body .share-content .a2a_button_twitter:after {
    content: "\f099";
    color: #091b4d;
}

body .share-content .a2a_button_pinterest:after {
    content: "\f231";
    color: #091b4d;
}

body .share-content .a2a_dd:after {
    content: "\f067";
    color: #091b4d;
}

.room-scene-wrap .mfp-close {
    background: #002b68;
    border-radius: 50px;
    color: #fff;
    top: -17px;
    right: -17px;
    width: 36px;
    height: 36px;
    line-height: 37px;
    opacity: 1;
    z-index: 9999999 !important;
}

.mfp-container.mfp-s-ready.mfp-inline-holder {
    padding: 0 25px;
}

.overflow-hidden {
    overflow: hidden;
}

.slick-next:before,
.slick-prev:before {
    font-family: FontAwesome;
    font-size: 30px;
    line-height: 1;
    opacity: 1;
    color: #091b4d;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.slick-prev:before {
    content: "\f104";
}

.slick-next:before {
    content: "\f105";
}

@media (min-width: 1500px) {
    #product-arearug,
    #product-broadloom {
        max-width: 80%;
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
    .room-scene-wrap .mfp-close {
        position: fixed;
        top: 10%;
        right: 6px;
    }
    .room-scene-wrap .product-matchbox .product-content {
        padding: 0 !important;
        overflow: unset;
        max-height: unset;
        text-align: center;
    }

    .product-content h3, .product-content p {
        display: none;
    }

    .room-scene-wrap {
        height: auto !important;
        margin-top: 30%;
    }

    .room-scene-wrap .button-blue {
        margin: 0;
    }

    .room-scene-wrap.white-popup .slick-prev, .room-scene-wrap.white-popup .slick-next {
        top: 40%;
    }    
}

@media (max-width: 545px) {
    .room-scene-wrap {
        flex-direction: column;
    }

    .room-scene-wrap .product-matchbox {
        min-width: 100%;
        max-width: 100%;
    }
}

@media only screen and (max-width: 1023px) {
    #product-feed {
        grid-template-columns: repeat(2, 1fr);
    }

    #filter-pagination {
        grid-column: span 2;
    }

    #max-products-wrapper.wide #product-feed {
        grid-template-columns: repeat(3, 1fr);
    }

    #max-products-wrapper.wide #filter-pagination {
        grid-column: span 3;
    }
}

@media only screen and (max-width: 991px) {
    #filter-wrapper {
        width: 100%;
    }

    #feed-wrapper {
        width: 100%;
        margin: 30px 0 0;
    }

    #max-products-wrapper.wide #filter-wrapper {
        margin-left: 0;
        display: none;
    }

    #max-filter-panel #filter-sort,
    #max-filter-panel #filter-posts-count {
        margin: 15px 0;
        position: relative;
    }

    #max-filter-panel #filter-sort span,
    #max-filter-panel #filter-posts-count span {
        padding: 9px 10px;
    }
}

@media only screen and (max-width: 800px) {
    #max-products-wrapper,
    #max-filter-panel {
        padding-right: 0;
    }

    #product-filter .filter-options label {
        font-size: 16px;
        line-height: 27px;
        padding-left: 28px;
    }

    #product-filter .filter-options input ~ .checkmark {
        width: 20px;
        height: 20px;
    }

    .roomscene-flex .flex-center {
        flex-wrap: wrap;
        justify-content: center;
    }
    .room-scene-image {
        width: 100%;
        min-width: auto;
        height: auto;
    }
    .room-scene-wrap .slick-slide {
        min-width: auto !important;
    }
    .mfp-content {
        height: 100%;
    }
    .room-scene-wrap {
        height: 90%;
        overflow: scroll;
        width: 100% !important;
    }
}

@media only screen and (max-width: 600px) {
    #max-products-wrapper.wide #product-feed,
    #product-feed {
        grid-template-columns: 100%;
    }

    #max-products-wrapper.wide #filter-pagination,
    #max-products-wrapper #filter-pagination {
        grid-column: span 1;
    }

    .room-scene-wrap .mfp-close {
        position: fixed;
        top: 10%;
        right: 6px;
    }
}

@media only screen and (max-width: 420px) {
    #product-feed .product-item,
    #max-products-wrapper.wide #product-feed .product-item {
        width: 100%;
    }
}

@media only screen and (max-width: 360px) {
    #max-filter-panel #filter-sort,
    #max-filter-panel #filter-posts-count {
        margin: 50px 0 15px;
        position: relative;
        width: 48%;
    }

    #max-filter-panel #filter-sort span,
    #max-filter-panel #filter-posts-count span {
        position: absolute;
        top: -42px;
        width: 100%;
    }

    #max-filter-panel #filter-sort select,
    #max-filter-panel #filter-posts-count select {
        width: 100%;
    }
}

.coming-soon-product {
    position: absolute;
    top: -21px;
    right: -1px;
    background: #d9dfee;
    color: #0a1b4d;
    width: 120px;
    height: 120px;
    text-align: center;
    border-radius: 100%;
    font-family: "Libre Baskerville", serif;
    font-style: italic;
    font-size: 12px;
    font-weight: 600;
    line-height: 17px;
    border: 0 solid #d9dfee;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.outdoor-indoor-area-rugs .outdoor,
.outdoor-indoor-carpets .outdoor,
.outdoor-indoor-area-rugs .outdoor-tag, 
.outdoor-indoor-carpets .outdoor-tag {
    display: none;
}

.coming-soon-product.priority {
    z-index: 2;
}

@media screen and (orientation: landscape) and (max-width: 850px) {
    .room-scene-wrap {
        max-height: 300px;
        overflow-y: scroll;
    }
    .room-scene-wrap .product-matchbox .product-content {
        max-height: 190px;
        overflow: scroll;
    }
    .room-scene-wrap .mfp-close {
        top: 3px;
        right: 3px;
    }
    #max-products-wrapper.wide #product-feed {
        grid-template-columns: repeat(2, 1fr);
    }
    #max-products-wrapper.wide #filter-pagination {
        grid-column: span 2;
    }
    .room-scene-wrap {
        margin-top: 40px;
    }
}

#lds-roller-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background-color: rgba(0, 0, 0, 0.5);*/
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}
.lds-roller {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}
.lds-roller div {
    animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    transform-origin: 40px 40px;
}
.lds-roller div:after {
    content: " ";
    display: block;
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    margin: -4px 0 0 -4px;
}
.lds-roller div:nth-child(1) {
    animation-delay: -0.036s;
}
.lds-roller div:nth-child(1):after {
    top: 63px;
    left: 63px;
}
.lds-roller div:nth-child(2) {
    animation-delay: -0.072s;
}
.lds-roller div:nth-child(2):after {
    top: 68px;
    left: 56px;
}
.lds-roller div:nth-child(3) {
    animation-delay: -0.108s;
}
.lds-roller div:nth-child(3):after {
    top: 71px;
    left: 48px;
}
.lds-roller div:nth-child(4) {
    animation-delay: -0.144s;
}
.lds-roller div:nth-child(4):after {
    top: 72px;
    left: 40px;
}
.lds-roller div:nth-child(5) {
    animation-delay: -0.18s;
}
.lds-roller div:nth-child(5):after {
    top: 71px;
    left: 32px;
}
.lds-roller div:nth-child(6) {
    animation-delay: -0.216s;
}
.lds-roller div:nth-child(6):after {
    top: 68px;
    left: 24px;
}
.lds-roller div:nth-child(7) {
    animation-delay: -0.252s;
}
.lds-roller div:nth-child(7):after {
    top: 63px;
    left: 17px;
}
.lds-roller div:nth-child(8) {
    animation-delay: -0.288s;
}
.lds-roller div:nth-child(8):after {
    top: 56px;
    left: 12px;
}
@keyframes lds-roller {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
