/* Global */

.action.primary, .action-primary {
    border-radius: .5rem;
}

h1, .as-h1 {
    font-weight: var(--font-weight-bold);
}

input.submit {
    background: var(--color-branding-primary);
    border: 1px solid var(--color-branding-primary);
    border-radius: 5px;
    color: #fff;
    font-weight: 900;
    text-transform: uppercase;
    padding: 0 2rem;
}

input.submit:hover {
    background: var(--color-branding-primary);
    border: 1px solid var(--color-branding-primary);

}

a.action.primary,
a.quiz_launcher.ga4_quiz_link.action.primary {
    padding: 1rem 2rem;
}

span.price-label {
    display: none;
}

.breadcrumbs {
    display: none;
}

.eyebrow {
    font-weight: bold;
    margin-bottom: 0;
}

/* Header */

span.action.nav-toggle {
    display: none;
}

.header.content .logo {
    padding-left: 0;
}

.page-header {
    border-bottom: 5px solid var(--color-branding-primary);
}

/* Top ribbon */

.top-ribbon-content {
    max-width: calc(var(--width-content-max) - 4rem);
}

/*Home page */

.hp-section {
    margin-top: 4rem;
}

.hp-section h2 {
    font-weight: var(--font-weight-normal);
    position: relative;
    margin-right: 2rem;
}

.hp-section h2 span {
    background: #fff;
    z-index: 999;
    position: relative;
    padding-right: 2rem;
    color: var(--color-branding-secondary);
}

.hp-section h2:after {
    content: '';
    width: 100%;
    border-top: 1px solid var(--color-mid-gray);
    display: inline;
    position: absolute;
    top: 50%;
    left: 0;
}

.category-lanes .card .copy {
    text-align: center;
    width: calc(100% - 2rem);
}

.category-lanes .card {
    background: unset;
}

.category-lanes .card-set {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
}

.category-lanes .card-set .card {
    width: 33%;
}



@media only screen and (min-width: 768px) {

    .category-lanes .card-set .card {
        width: 30%;
    }

}

@media only screen and (min-width: 1024px) {

    .category-lanes .card-set .card {
        width: 18%;
    }

    .page-products .products-grid .product-item, 
    .page-layout-1column .products-grid .product-item, 
    .page-layout-3columns .products-grid .product-item, 
    .page-products.page-layout-1column .products-grid .product-item, 
    .page-products.page-layout-3columns .products-grid .product-item {
        width: calc((100% - 12rem) / 3);
    }

}


/* Home page top banner */

.card.hp-top-banner {
    background: unset;
    margin-top: -2rem;
}

.hp-top-banner h1 {
    margin-bottom: var(--spacing__vertical--2);
    font-weight: var(--font-weight-bold);
}

.card.hp-top-banner {
    background: unset;
    padding: 0;
    max-width: calc(100% - 4rem);
    background-position: 61% 50%;
    background-size: auto;
}

.hp-top-banner img {
    margin-top: 2rem;
    position: relative;
    left: -2rem;
}

.card.hp-top-banner .copy {
    padding: 2rem;
    background-color: rgba(255,255,255,.9);
}

.hp-top-banner h1 {
    margin-bottom: var(--spacing__vertical--2);
    font-weight: var(--font-weight-bold);
    color: var(--color-branding-primary);
}

.hp-top-banner h1 span {
    color: var(--color-branding-primary);
}

.hp-top-banner p {
    font-size: var(--text-h3-size);
}

.hp-top-banner span {
    color: var(--color-branding-primary);
    font-weight: bold;
}

@media only screen and (min-width: 768px) {

    .hp-top-banner img {
        border-radius: 1rem;
    }

    .card.hp-top-banner {
        margin: 0 auto;
        width: 124rem;
        max-width: var(--width-content-max-calc);
    }

    .card.hp-top-banner .copy {
        padding: 2rem 2rem 2rem 0;
    }

    .card.hp-top-banner .copy {
        padding: 2rem;
        background-color: unset;
    }
    
    .card.hp-top-banner {
        margin-top: 0;
        background-position: center center;
        background-size: cover;
        width: var(--width-content-max);
    }

    .hp-top-banner img {
        position: relative;
        left: 0;
    }

    .hp-top-banner .img {
        margin-bottom: 2rem;
    }

}

/* Category top banners */

.card.category-top-banner {
    background: unset;
    margin-bottom: 2rem;
}

.card.category-top-banner h1 {
    color: var(--color-branding-primary);
    margin-bottom: 2rem;
}


/* Trust signals */



.trust-signal-inner > * {
    width: 100%;
    align-items: center;
    text-align: left;
}

.trust-signal-wrapper {
    background: unset;
    margin-top: 2rem;
    border-top: 1px solid var(--color-mid-gray);
    border-bottom: 1px solid var(--color-mid-gray);
}



@media only screen and (min-width: 768px) {

    .trust-signal-inner > * {
        width: 33.3333%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
}

/* Ribbon */

a.ribbon {
    width: 124rem;
    max-width: calc(100% - 4rem);
    box-sizing: border-box;
}

@media only screen and (min-width: 1024px) {

}

/* Footer */

.footer-content-wrapper {
    background: #fff;
    padding: 4rem 0;
}

.card.inline-img.full-width-ad {
    width: var(--width-content-max-calc);
    max-width: var(--width-content-max);
}

.page-bottom .full-width-ad .copy {
    color: var(--color-text);
}

.page-wrapper > .page-bottom .full-width-ad a.cta.alt {
    border-radius: 2rem;
    color: var(--color-branding-secondary);
}

.page-wrapper > .page-bottom .full-width-ad a.cta.alt:hover {
    color: #fff;
}

.footer .copyright, .footer .bugs {
    display: block;
    margin: 0px 0 2rem;
}

.footer.content {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
}

p.footer-note {
    padding: 0 2rem 2rem;
}

.page-bottom, .page-footer {
    background: #1d4f91;
}

.page-wrapper > .page-bottom {
    background: #0072ce;
    background: -moz-linear-gradient(top,  #0072ce 0%, #1d4f91 100%, #1d4f91 100%);
    background: -webkit-linear-gradient(top,  #0072ce 0%,#1d4f91 100%,#1d4f91 100%);
    background: linear-gradient(to bottom,  #0072ce 0%,#1d4f91 100%,#1d4f91 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0072ce', endColorstr='#1d4f91',GradientType=0 );
    color: #ffffff;
    text-align: center;
}

.page-wrapper > .page-bottom a, 
.page-wrapper > .page-bottom a:hover, 
.page-wrapper > .page-bottom a:visited, 
.page-wrapper > .page-footer a, 
.page-wrapper > .page-footer a:hover, 
.page-wrapper > .page-footer a:visited {
    color: var(--color-footer-link);
    font-weight: var(--font-weight-bold);
}


.footer-links {
    margin: 2rem auto;
    max-width: var(--width-content-max-calc);
}

/* Category page */

.products .product-items .product-item {
    text-align: center;
}

.sale-price-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.widget-product-grid.product-items, ol.products.list.items.product-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 1rem;
}

/* Product page */

button#product-addtocart-button {
    margin-top: 3px;
}

.qty button {
    height: 4.2rem;
    position: relative;
}

.product-info-main .box-tocart .input-text.qty, .product-options-bottom .box-tocart .input-text.qty {
    height: 42px;
    text-align: center;
    width: 42px;
}

.product-info-main .box-tocart .action.tocart {
    line-height: 0;
    padding: auto;
    font-size: 1.8rem;
    height: 5rem;
    position: relative;
    top: 1px;
}

.product-info-main span.normal-price .price-wrapper .price {
    font-size: var(--text-h1-size);
    color: var(--color-price);
    font-weight: var(--font-weight-bold);
}

.product-info-main .box-tocart .field.qty {
    display: none;
}

.product-info-main .box-tocart .actions {
    padding-top: 0;
}

button#product-addtocart-button,
.product-info-main .box-tocart .actions,
.product-info-main .box-tocart, 
.product-options-bottom .box-tocart {
    width: 100%;
}

.swatch-attribute-options {
    display: flex;
    gap: .5rem;
}

.swatch-attribute.size .swatch-option {
    width: 100%;
    height: 3rem;
    line-height: 3rem;
}

.price-box.price-final_price {
    display: flex;
    flex-direction: column;
}

.price-box.price-final_price:before {
    content: 'After Dominion Energy Rebate:';
    font-weight: var(--font-weight-bold);
    color: var(--color-branding-primary);
    font-size: var(--text-small-size);
}

@media only screen and (min-width: 768px) {

    .page-wrapper > .top-container {
        margin-bottom: 4rem;
    }

}

/* Success page */

.checkout-onepage-success .card.success {
    background: unset;
    padding: 0;
    max-width: 100%;
    margin-top: -2rem;
    background-position: 61% 50%;
    background-size: auto;
    min-height: 20rem;
}

.checkout-onepage-success .top-container {
    background: unset;
    margin-top: 2rem;
    margin-bottom: 2rem;
    max-width: 132rem;
}

.checkout-onepage-success .card {
    background: unset;
    border-bottom: 1px solid var(--color-light-gray);
    padding-bottom: 2rem;
}

.checkout-success {
    margin-top: 5rem;
    margin-bottom: 0rem;
}

.checkout-onepage-success a.action.primary.continue {
    display: none;
}

.success-content {
    margin: 0;
}

@media only screen and (min-width: 768px) {

    .checkout-onepage-success .card.success {
        max-width: calc(100% - 4rem);
        margin-top: 0rem;
        min-height: 30rem;
    }
    
}


/* Checkout */

.checkout-agreements-block .checkout-agreement.field {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    align-items: flex-start;
}

.checkout-agreements-block .action-show {
    text-align: left;
}

select,
input[type="text"], input[type="password"], 
input[type="url"], input[type="tel"], 
input[type="search"], 
input[type="number"], 
input[type*="date"], 
input[type="email"] {
    height: 4.5rem;
}

.opc-progress-bar-item._active:before, .opc-progress-bar-item._active > span:before {
    background: var(--color-branding-primary);
}

.opc-wrapper a {
    text-decoration: underline;
}

.shipping-overview {
    margin-top: 1rem;
}

/* Gate - closed */

.gate h3, .gate .caption, .gate a, {
    text-align: center;
    color: #fff;
    margin-bottom: 0;
}

.gate .copy {
    gap: 0;
}

.welcome-index-index header.page-header {
    border-bottom: 5px solid var(--color-branding-primary);
}

/* CMS page */

.cms-page-view ul {
    margin-left: 1rem;
}

/* PA Launcher */

div#information-modal,
.survey-product-listing {
    width: 1px;
}

.card.pa-launcher {
    display: flex;
    align-items: center;
    background-image: unset;
    background: var(--color-light-gray);
    flex-direction: column;
    margin-top: 0;
}

.pa-launcher-button {
    display: flex;
    justify-content: center;
    background: var(--color-light-gray);
}

.card.pa-launcher .copy {
    background-color: unset;
}

@media only screen and (min-width: 768px) {

    .card.pa-launcher {
        display: flex;
        flex-direction: row;
    }

    .pa-launcher-button {
        width: 25%;
    }
    
    .card.pa-launcher .copy {
        width: 75%;
    }

}

/* PA */

.answer-detail {
    display: flex;
    gap: 2rem;
    flex-direction: row;
    flex-wrap: wrap;
}

div.answer-info {
    width: calc(50% - 2rem);
}

.answer-text {
    height: 100%;
    color: #000;
}

.answer-content-wrapper {
    padding: 2rem 1rem;
}

.quiz-drawer h1 {
    margin: 2rem 0;
}

@media only screen and (min-width: 768px) {

    .answer-detail {
        display: flex;
        flex-wrap: nowrap;
    }

    div.answer-info {
        width: 100%;
    }
}

/* HPWH Trust signals */

.hpwh .trust-signal-inner {
    display: flex;
    flex-direction: column;
    border-top: unset;
    border-bottom: unset;
    gap: 0;
    padding: 0;
    margin: 3rem 0px;
    width: 100%;
    border: unset;
}

.hpwh .trust-signal-inner > *,
.hpwh .trust-signal-inner p, .hpwh .trust-signal-inner h3 {
    color: #ffffff;
}

.hpwh .trust-signal-inner > * {
    padding: 1rem 3rem;
    box-sizing: border-box;
}

.hpwh .trust-signal-inner a {
    text-decoration: underline;
    color: #ffffff
}

.hpwh .trust-signal-inner .icon svg {
    fill: #ffffff;
}

.hpwh .trust-signal-inner .left {
    background: #0072CD;
}

.hpwh .trust-signal-inner .middle {
    background: #0072CDBF;
}

.hpwh .trust-signal-inner .right {
    background: #73b1e4;
}

.trust-signal-wrapper.hpwh {
    margin-top: 0;
    background: unset;
    border: unset
}


@media only screen and (min-width: 768px) {

    .hpwh .trust-signal-inner {
        display: flex;
        flex-direction: row;
        padding: 3rem 0 0;
    }


}

/* Installation banner */

.card.hp-top-banner.installation.inline-img {
    margin-top: 0;
}

.card.hp-top-banner.installation.inline-img {
    margin-top: 0;
    max-width: unset;
    background: var(--color-light-gray);
    border: 3px solid var(--color-branding-primary);
}

.card.installation .copy {
    background-color: unset;
}

.hp-top-banner.installation img {
    margin: 0;
    left: 0;
}

.hp-top-banner.installation .img {
    margin-bottom: 0;
}


@media only screen and (min-width: 768px) {

    .card.hp-top-banner.installation.inline-img {
        margin: 4rem 0;
        max-width: 100%;
    }

}

/* Gate page */

.welcome-index-index h2 {
    color: var(--color-branding-primary);
}

.gate-content {
    text-align: center;
}

.gate-content h2,
.welcome-index-index .hp-top-banner h1 {
    margin-bottom: 0;
}

.gate-content .card {
    background: unset;
}


.gate-content .copy {
    text-align: center;
}

.gate-content p {
    margin: 1rem auto 4rem;
    max-width: 45rem;
}

.gate {
    background: #00479F;
    text-align: center;
}

.gate .copy {
    padding: 2rem;
}

.hp-top-banner a.cta {
    scroll-behavior: smooth;
    text-transform: uppercase;
    border-radius: 1rem;
}

#gate {
    scroll-behavior: smooth;
}

.gate h3 {
    color: #fff;
}

.gate p.caption, .gate p.caption a {
    color: #fff;
}

.gate p.caption {
    margin: auto;
    max-width: 50rem;
}

 .gate p.caption a {
   text-decoration: underline;
}

.gate fieldset.fieldset, .gate .fieldset:last-child {
    margin: 0;
}

.welcome-index-index .columns .column.main {
    padding-bottom: 0;
}


@media only screen and (min-width: 768px) {

    .gate {
        border-radius: 2rem;
    }

    .gate-content {
        max-width: var(--width-content-max);
        margin: 4rem auto;
    }

    .gate {
        width: var(--width-content-max);
        max-width: calc(100% - 6rem);
        margin: 0 auto 4rem;
    }

    .gate-content .card-set .card {
        display: flex;
        flex-direction: column-reverse;
        justify-content: flex-end;
    }

}