.product-hero-container .product-hero-wrapper {
    max-width: unset;
    padding: 0;
}

.section.product-hero-container {
    margin-block: 3rem !important;
}

.product-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    min-height: 500px;
}

.product-hero.overlay {
    background-color: rgba(255 255 255 / 40%);
}

.product-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    color: var(--brand-color-primary-1);
    font-size: var(--heading-font-size-xm);
    padding-inline: 1rem;
    margin: 0 7rem;
    max-width: var(--content-fixed-width);
    box-shadow: 0 29px 40px 9px rgba(0 0 0 / 30%);
    position: relative;
    background-color: #F9F8F5;
    min-height: 660px;
    height: auto;
}

.product-hero-content h1, 
.product-hero-content h2,
.product-hero-content h3,
.product-hero-content h4,
.product-hero-content h5,
.product-hero-content h6 {
    margin: 8px 0;
}

.product-hero-content h1 {
    line-height: 1.1;
    font-weight: 700;
    font-size: 40px;
}

.product-hero-content h2 {
    color: var(--brand-color-primary-1);
    line-height: 1.1;
    font-weight: 700;
    font-size: var(--heading-font-size-xxxl);
}

.product-hero-content .modal h2 {
    font-weight: 400;
    font-size: var(--heading-font-size-xl);
}

.product-hero-content .hero-content-wrapper p {
    color: var(--product-hero-content-text-color, var(--brand-color-primary-1));
    font-size: 16px;
    font-weight: 400px;
    margin-bottom:-10px;
    line-height: 1.5;
}

.hero-bg-full-width {
    position: absolute;
    z-index: -1;
    inset: 0;
    object-fit: cover;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
}

.product-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-image-wrapper img{
    max-width: 400px;
}

.product-image-content {
    position: relative;
    margin-left: 0;
}

.carousel-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-image-wrapper .image-overlay-wrapper {
    position: absolute;
    right: 10px;
    bottom: 20px;
}

.product-image-wrapper .play-button-link {
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    max-width: 96px;
}

.product-image-wrapper .play-button-link circle {
    transition: fill .3s ease;
}

.product-image-wrapper .play-button-link circle.bg-fill {
    fill: var(--play-button-color, rgb(0 120 189 / 50%)) !important;
}

.product-image-wrapper .play-button-link:hover circle.bg-fill {
    fill: var(--play-button-hover-color, var(--brand-color-primary-2)) !important;
}

.product-image-wrapper .play-button-link svg {
    width: 100%;
    height: 100%;
}

.carousel-content .product-image-wrapper {
    display: none;
}

.carousel-content .product-image-wrapper.active {
    display: block;
    animation: appear 1s;
}

@keyframes appear {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.carousel-pagination {
    display: flex;
    list-style: none;
    padding: 0;
    gap: 10px;
}

.carousel-pagination .pagination-button {
    width: 14px;
    height: 14px;
    border: 2px solid var(--darker-color);
    background-color: var(--white);
    border-radius: 100%;
}

.carousel-pagination .pagination-button.active {
    background-color: var(--darker-color);
}

.product-hero .hero-tooltip-image-wrapper {
    list-style-type: none;
    padding: 0;
    display: flex;
    gap: 16px;
}

.product-hero .hero-tooltip-image-wrapper li + li::before {
    content: '';
    width: 1px;
    height: 40px;
    background-color: var(--dark-color);
    display: block;
}

.product-hero .hero-tooltip-image-item {
    display: flex;
    gap: 16px;
    align-items: center;
}

.product-hero .hero-tooltip-image-content {
    position: relative;
}

.product-hero .hero-tooltip-image-button {
    background-color: unset;
    padding: 0;
    margin: 0;
    border-radius: 0;
    cursor: auto;
}

.product-hero .hero-tooltip-text-wrapper {
    position: absolute;
    width: 200px;
    bottom: 100%;
    left: 50%;
    translate: -50% -10px;
    opacity: 0;
    transition: opacity .3s;
    z-index: 1;
    background-color: var(--text-color);
    padding: 20px;
}

.product-hero .hero-tooltip-text-wrapper::before {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 5px 0;
    border-color: #000 transparent transparent;
    position: absolute;
    bottom: 0;
    left: 50%;
    translate: -50% 8px;
}

.product-hero .hero-tooltip-text-wrapper.invert-tooltip {
    top: 100%;
    bottom: auto;
    translate: -50% 10px;
}

.product-hero .hero-tooltip-text-wrapper.invert-tooltip::before {
    top: 0;
    translate: -50% -8px;
    border-width: 0 5px 8px;
    border-color: transparent transparent #000;
}

.product-hero .hero-tooltip-text-wrapper p {
    color: var(--light-color);
    font-size: var(--body-font-size-m);
    margin: 0;
    text-align: center;
}

.product-hero .hero-tooltip-text-wrapper.tooltip-visible {
    opacity: 1;
}

.product-hero .rebates::before {
    content: "";
    background-color: #fdb913;
    mask-image: url("../../icons/icon-rebates.svg");
    position: relative;
    width: 31px;
    height: 28px;
    display: inline-block;
    margin-right: 5px;
    top: 8px;
}

.product-hero .iframe {
    display: none;
}

.product-hero .modal .iframe {
    display: block;
}

.product-hero .rebates .rebate-button {
    color: var(--brand-color-primary-1);
    font-weight: 700;
}

.product-hero .rebates button:hover {
    text-decoration: underline;
}

@media (width <=1140px) {
    .product-hero-content .hero-content-wrapper p {
        margin: 8px 0 0;
        margin-bottom: 10px;
    }

    .product-hero-content {
        height: 100%;
        grid-template-columns: .4fr 1fr;
    }

    .product-hero .hero-tooltip-image-wrapper {
        justify-content: center;
    }

    .product-hero .product-image-wrapper img {
        max-width: 265px !important;
    }

    .product-image-wrapper .image-overlay-wrapper {
       bottom: 0;
       right: 0;
    }

    .product-image-wrapper .image-overlay-wrapper img {
        max-width: 50px;
    }
}

.residential-product-detail-b {
    position: relative;
    margin: 3.2rem 0 3.125rem;
}

.product-hero-content .hero-content-wrapper p:first-of-type {
    color: #464646;
    font-weight: 700px;
    line-height: 1;
    text-align: left;
}

.product-image-wrapper .product-image-content img {
    max-width: 520px;
    height: auto;
    margin-right: 18px;
}

.product-hero-content .hero-content-wrapper {
    padding: 0 2rem 2rem 0;
    display: flex;
    flex-flow: column wrap;
    place-content: center;
}

.product-hero-content::after {
    content: "";
    position: absolute;
    top: -30px;
    right: -28px;
    z-index: 0;
    width: 140px;
    height: 140px;
    border-top: 28px solid #1F94D2;
    border-right: 28px solid #1F94D2;
}

@media (width <=980px) {
    .product-hero .product-image-wrapper img {
        max-width: 200px !important;
    }
}

@media (width <=768px) {
    .section.product-hero-container {
        margin: 1rem;
    }

    .product-hero-content {
        grid-template-columns: 1fr;
        max-width: 80%;
        margin: 0 2rem;
    }

    .product-hero-content .hero-content-wrapper {
        padding: 1.5rem;
    }

    .product-hero-content .hero-content-wrapper p {
        font-size: 16px;
        text-align: left;
        padding: 0;
        margin: 0;
        margin-bottom: 10px;
    }
    
    .product-hero-content .hero-content-wrapper p:first-of-type {
        text-align: left;
        margin-bottom: 5px;
    }

    .product-image-wrapper {
        margin-right: 0;
    }

    .product-image-wrapper .product-image-content img {
        max-width: 100%;
        height: auto;
    }
}