.design-listing-content{
    position: relative;
}
.design-listing-hero {
    min-height: 480px;
    max-height: 100vh;
    position: relative;
    z-index: 6;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.bg-img,.bg-img > img {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
.bg-img > img{
    object-fit: cover;
    object-position: center;
}
.design-listing-hero--text {
    text-align: center;
    padding-bottom: 40px;
    z-index: 3;
}
.design-listing-hero--text h4{
    font-size: 22px;
}
.design-listing-hero--filters {
    background: #fafafa;
    bottom: 0;
    left: 0;
    overflow: auto;
    position: fixed;
    right: 0;
    top: 0;
    transform: translateY(-100vh);
    transition: transform .5s ease;
    z-index: 200;
}
.design-listing-hero--filters .nice-select {
    background: transparent;
    border: 0;
    padding-left: 0;
    padding-right: 20px;
    height: auto;
    line-height: 1;
}
.design-listing-hero--filters .searchDropdown__dropdown {
    align-items: center;
}
.design-listing-hero--filters.active{
    transform: none;
}
.design-listing-hero--filters .nice-select .nice-select-dropdown{
    width: calc(100% + 85px);
    left: -60px;
}
.design-listing-hero--filters .nice-select .option {
    padding: 10px;
    line-height: 1;
    white-space: normal;
}
.design-listing-hero--filters .searchDropdown__dropdown .nice-select:after{
    border-bottom: 2px solid #000;
    border-right: 2px solid #000;
    height: 6px;
    right: 6px;
    width: 6px;
}
.searchDropdown__formTitle {
    font-family: Bluescreens, sans-serif;
    font-size: 22px;
    text-transform: uppercase;
    margin-bottom: 20px;
    position: relative;
    line-height: 1;
}
.home-items--row {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(1, 1fr);
    gap: 24px;
}
.home-items--row > div{
    grid-column: span 12;
}
.design-listing_by{
    flex-wrap: wrap;
    justify-content: center;
}
.design-listing_by .right{
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
}
.design-listing_by-btn {
    font-size: 13px;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, .15);
}
.design-listing_by .left {
    column-gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
}
.design-listing_by-btn.active, .design-listing_by-btn:hover {
    background-color: var(--color-p);
}
.design-listing-content .listing-pagination{
    margin-top: 30px;
}
.design-listing_by > div {    
    width: 100%;
}
.design-listing_by .right > span {
    font-size: 14px;
    font-weight: 600;
    line-height: 85.7%;
    padding-right: 20px;
}
.nice-select.listing-sort {
    background: none;
    border: 0;
    font-size: 15px;
    padding-left: 0;
    padding-right: 20px;
}
.nice-select.listing-sort:after{
    right: 0;
    width: 8px;
    height: 8px;
    border-bottom: 2px solid #000;
    border-right: 2px solid #000;
    margin-top: -6px;
}
.nice-select.listing-sort.open:after{
    border-color: var(--color-p);
}
.nice-select.listing-sort .nice-select-dropdown {
    position: absolute;
    left: -95px;
}
.design-listing-content .sticky {
    bottom: 0;
    display: none;
    left: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
}
.design-listing-content .sticky .filters-scroll-trigger {
    align-items: center;
    background: #000;
    border: 0;
    border-radius: 50%;
    bottom: 30px;
    display: flex;
    height: 50px;
    justify-content: center;
    left: 30px;
    margin-top: 90px;
    pointer-events: all;
    position: sticky;
    top: 30px;
    transform: translateY(76px);
    transition: transform .5s ease;
    width: 50px;
    z-index: 5;
}
body.hidden-nav .design-listing-content .sticky .filters-scroll-trigger {
    transform: none;
}
.mobile-filters-toggle.js-filters-toggle {
    position: fixed;
    z-index: 999;
    bottom: 20px;
    font-size: 13px;
    font-weight: 400;
    left: 20px;
    letter-spacing: 3.185px;
    line-height: 1;
    padding: 10px;
    transform: none;
    width: calc(100% - 110px);
}
.mobile-filters-toggle.js-filters-toggle img{
    width: 14px;
    margin-right: 10px;
}
.mobile-filters-toggle.js-filters-toggle:after{
    display: none;
}
.js-filters-close {
    background: none;
    border: 0;
    padding: 0;
    position: absolute;
    right: 0;
    top: 0;
}
.design-listing .home-item{
  position: relative
}
button.favorite-toggle {
    z-index: 1;
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #ebebeb;
    border: 1px solid #ddd;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    min-width: 45px;
}

button.favorite-toggle svg {
    width: 28px;
    height: 28px;
    stroke: #84aae4;
    fill: #84aae4;
    transition: 0.3s ease all;
}

.design-listing-content.floorplan button.favorite-toggle  {
    background-color: #ebebeb;
    border: 1px solid #ddd;
}
.design-listing-content.floorplan button.favorite-toggle svg {
    stroke: #ddd;
    fill: #ffffff;
}
button.favorite-toggle:hover svg,
.favorite-toggle.active svg,
.design-listing-content.floorplan button.favorite-toggle:hover svg,
.favorite-toggle.active svg,
.design-listing-content.floorplan button.favorite-toggle.active svg {
    fill: var(--color-p);
    stroke: #bd9f00;
}
.design-listing-content #loading-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 5px;
    width: 0%;
    background-color: #0090c0;
    z-index: 9999;
    transition: width 0.3s ease-out;
}
.searchDropdown__submitBtn a{
    border-bottom: 3px solid var(--color-p);
}
.home-item--link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
}
.design-listing .searchDropdown .nice-select .list {
    max-height: 100%;
}
@media screen and (min-width: 768px){
    .design-listing_by > div {
        flex: 0 0 auto;
        width: auto;
    }
    .design-listing_by{
        justify-content: space-between;
    }    
}
@media screen and (min-width: 992px){
    .design-listing-hero--text {
        text-align: left;
    }
    .design-listing-hero--text h4{
        font-size: 34px;
    }
    .design-listing-content .listing-pagination{
        margin-top: 70px;
    }
}
@media screen and (min-width: 1366px){
    .design-listing-hero {
        height: 100vh;
        max-height: 1000px;
        min-height: 700px;
    }

    .design-listing-hero--filters {
        position: relative;
        transform: none;
        background: transparent;
        overflow: initial;
    }
    .design-listing-hero--filters .searchDropdown {
        align-items: center;
        background: #fff;
        border-radius: 5px;
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, .15);
        display: flex;
        justify-content: space-between;
        padding: 10px 16px;
    }
    .design-listing-hero--filters .searchDropdown__formFilter{
        display: flex;
        width: 100%;
        justify-content: space-between;
    }
    .design-listing-hero--text h1{
        font-size: 160px;
    }
    .searchDropdown__formTitle {
        font-size: 34px;
        margin-bottom: 0;
    }
    .home-items--row > div{
        grid-column: auto/span 4;
    }
    .design-listing-content .sticky{
        display: block;
    }
    .mobile-filters-toggle.js-filters-toggle,
    .js-filters-close{
        display: none;
    }
    .design-listing .searchDropdown__formFields{
        margin-right: 10px;
    }
}
@media screen and (max-width: 1365px){
    .design-listing-hero--filters .searchDropdown__formFields{
        grid-template-columns: 1fr;
        width: 100%;
    }
    .searchDropdown__formFilter{
        align-items: flex-start;
    }
    body.filters-active #main-header,
    body.filters-active .mobile-filters-toggle {
        z-index: 0;
    }
}



{# Youtube Video Full Autoplay #}
.videoBanner__video {
    height: 100%;
    padding: 0;
    margin: 0;
}
.videoBanner__video iframe{
    height: 470px;
    width: 100%;
    margin: 0;
    padding: 0;
}
.videoBanner__ytvideo {
    height: 1000px;
    z-index: 2;
    overflow: hidden;

    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}
.video-container {
    width: 100%;
    height: 100%;
    padding-bottom: 56.25%;
    position: absolute;
    top: 0px;
    left: 0px;
    pointer-events: none;
}
.video-container iframe {
    translate: -50% !important;
    position: absolute !important;
    top: -60px !important;
    left: 0px;
    width: 100%;
    height: calc(100% + 120px) !important;
}

{# Youtube Video with Play Button #}
.bgType__yt-modal .play-button img {
    transition: transform .5s ease;
    width: 120px;
}
.bgType__yt-modal .play-button:hover img {
    transform: rotate(1turn);
}

/* Thumbnail styling */
.video-thumbnail-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
    margin-bottom: 30px;
}

.video-thumbnail {
    width: 100%;
    max-width: 300px;
    border-radius: 10px;
}

/* Lightbox Modal Styling */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.video-modal-content {
    position: relative;
    width: 80%;
    max-width: 1200px;
    padding: 0px;
    border-radius: 0px;
}
.close-btn {
    position: absolute;
    top: -22px;
    right: -21px;
    font-size: 24px;
    cursor: pointer;
    background-image: url('data:image/svg+xml,<svg width="22" height="21" viewBox="0 0 22 21" fill="none" xmlns="http://www.w3.org/2000/svg"><g id="icons/close"><path id="Vector" d="M18.2136 3.07107C14.3145 -0.828075 7.97065 -0.828075 4.07151 3.07107C0.172367 6.97021 0.172367 13.3141 4.07151 17.2132C7.97065 21.1123 14.3145 21.1123 18.2136 17.2132C22.1128 13.3141 22.1128 6.97021 18.2136 3.07107ZM13.647 13.8249L11.1426 11.3206L8.63821 13.8249C8.3129 14.1503 7.78507 14.1503 7.45977 13.8249C7.13446 13.4996 7.13446 12.9718 7.45977 12.6465L9.96414 10.1421L7.45977 7.63776C7.13446 7.31246 7.13446 6.78463 7.45977 6.45932C7.78507 6.13402 8.3129 6.13402 8.63821 6.45932L11.1426 8.9637L13.647 6.45932C13.9723 6.13402 14.5001 6.13402 14.8254 6.45932C15.1507 6.78463 15.1507 7.31246 14.8254 7.63776L12.321 10.1421L14.8254 12.6465C15.1507 12.9718 15.1507 13.4996 14.8254 13.8249C14.5001 14.1503 13.9723 14.1503 13.647 13.8249Z" fill="white"/></g></svg>');
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: 30px;
    border: 0;
    height: 40px;
    width: 40px;
}

/* Responsive iFrame */
#videoFrame {
    width: 100%;
    height: 675px;
}

@media (max-width: 1800px) {
    .section__heroBannerContent {
        padding-bottom: calc(23.5px + 3.98438vw);
    }
}

@media (max-width: 1360px) {
    .section__heroBannerContent {
        padding-bottom: 40px;
    }
}

@media (max-width: 990px) {
    .section__heroBanner,
    .videoBanner__ytvideo {
        height: 700px;
    }
    .bgType__yt-modal img{
        /* width: 70px; */
    }
    #videoFrame{
        height: 454px;
    }
    .section__heroBannerContent{
        text-align: center;
    }
    .section__heroBannerContent h4{
        font-size: 22px;
    }
    .section__heroBanner .backLink{
        width: max-content;
        text-align: center;
        margin: 0 auto 40px;
    }
}
@media (max-width: 580px) {
    .section__heroBanner,
    .videoBanner__ytvideo {
        height: 480px;
        max-height: 100vh;
        min-height: unset;
    }
    #videoFrame{
        height: 280px;
    }
}