/* 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);
}

/* Header */

span.action.nav-toggle {
    display: none;
}

.header.content .logo {
    padding-left: 0;
}

.page-header {
    -webkit-box-shadow: unset;
    -moz-box-shadow: unset;
    box-shadow: unset;
    border-bottom: .5rem solid var(--color-branding-secondary);
}


/* 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: var(--color-branding-secondary);
    margin-top: -2rem;
    color: #fff;
}

.hp-top-banner h1 {
    margin-bottom: var(--spacing__vertical--2);
    font-weight: var(--font-weight-bold);
}

.hp-top-banner h1 span {
    color: var(--color-branding-primary);
}


@media only screen and (min-width: 768px) {

    .card.hp-top-banner {
        margin: 0 auto;
        width: 124rem;
        max-width: 100%;
        background: var(--color-branding-secondary);
        color: #fff;
        border-radius: .5rem;
    }

    .card.hp-top-banner .copy {
        padding: 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 {
    border-top: unset;
    border-bottom: unset;
}

.trust-signal-inner h3 {
    color: var(--color-branding-primary);
}

/* 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 .content {
    display: flex;
    flex-direction: column;
}

/* 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: 4.2rem;
    position: relative;
    top: 1px;
}

.description h3 {
    color: var(--color-branding-primary);
    margin-top: 0;
}

@media only screen and (min-width: 768px) {

    .long-description-item {
        flex: 1 1 0;
        background: var(--color-product-page-description-background);
        padding: 2rem;
    }

    .long-description-wrapper {
        display: flex;
        flex-wrap: wrap;
    }

}

/* Success page */

.checkout-success {
    margin-top: 2rem;
}

.checkout-onepage-success .card {
    background: unset;
}

.checkout-onepage-success .top-container {
    background: unset;
}

.checkout-onepage-success .card {
    background: unset;
    border-bottom: 1px solid var(--color-light-gray);
    padding-bottom: 2rem;
}

.checkout-onepage-success .card .copy {
    padding: 2rem 2rem 0;
}

.checkout-onepage-success .card .copy h1 {
    margin-bottom: 0;
}



@media only screen and (min-width: 768px) {

    .checkout-success {
        margin-top: 5rem;
    }

    .checkout-onepage-success .top-container {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .checkout-onepage-success img {
        border-radius: .5rem;
    }

    .checkout-onepage-success .card .copy {
        padding: 2rem;
    }


}

/* Gate - closed */

.gate h2 {
    text-align: center;
    margin-bottom: 0;
}

.gate h3 {
    color: var(--color-branding-primary);
    margin-bottom: 1rem;
}

.gate .trust-signal-inner h3 {
    color: var(--color-branding-primary);
}

.gate .copy {
    gap: 0;
}

.welcome-index-index header.page-header {
    -webkit-box-shadow: unset;
    -moz-box-shadow: unset;
    box-shadow: unset;
    border-bottom: .5rem solid var(--color-branding-secondary);
}

.gate input {
    height: 4.5rem;
    width: 100%;
    border-radius: .5rem;
    text-align: center;
}

.gate-wrapper > .left {
    background: unset;
    padding-top: unset;
}


@media only screen and (min-width: 768px) {

    .gate-wrapper {
        display: flex;
        flex-direction: row;
        width: var(--width-content-max);
        max-width: var(--width-content-max-calc);
        margin: auto;
        gap: 5rem;
    }

    .gate-wrapper .hp-top-banner .img img {
        border-radius: .5rem .5rem 0 0;
        max-height: unset;
    }

}

/* Cross sell */

.crosssell .product-item-info {
    max-width: 45rem;
    width: auto;
    display: flex;
    align-items: center;
    border: 1px solid var(--color-mid-gray);
    padding-right: 2rem;
}

.crosssell .product.details.product-item-details {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    width: auto;
}

.crosssell .products .product-items .product-item {
    text-align: left;
    width: auto;
}

.product-item-actions .actions-secondary > a.action.tocompare {
    display: none;
}

.block.crosssell {
    margin-top: 0;
}


@media only screen and (min-width: 768px) {

    .crosssell .products .product-items .product-item {
        text-align: left;
        flex: 1 1 0;
    }
}

/* Installation page */

.installation-index-index legend.legend {
    margin: 0;
}

.installation-index-index div#gate_wrapper form {
    max-width: 60rem;
}

.installation-index-index div#gate_wrapper {
    background: #f5f5f5;
    padding: 2.4rem 2.72rem;
    border: .1rem solid #ddd;
    width: fit-content;
}

.installation-index-index .gate input,
.installation-index-index .gate select {
    height: 4.5rem;
    width: 100%;
    border-radius: .5rem;
    text-align: left;
}

.installation-index-index label.label {
    margin-top: 1rem;
    display: block;
}

.installation-index-index .gate .action.primary {
    width: auto;
}


/* CMS */

.cms-page-view .column.main ul {
    margin-left: 1rem;
}

/* Promotion ended */

.cms-sold_out .breadcrumbs {
    display: none;
}

.cms-sold_out .card.hp-top-banner.inline-img {
    background: unset;
    color: var(--color-text);
}

.cms-sold_out img {
    border-radius: 1rem;
}

.cms-sold_out h1, .cms-sold_out h2 {
    color: var(--color-branding-primary);
}

.cms-sold_out h2 {
    margin: 1rem 0 0;
}

.cms-sold_out .promotion-ended a {
    color: var(--color-branding-secondary);
    font-weight: var(--font-weight-bold);
}

.cms-sold_out .ad {
    background: #E8E7F0;
    padding: 1rem 5rem;
    margin-top: 5rem;
    border-left: .5rem solid var(--color-branding-secondary);
}

/* Checkout */

.checkout-index-index  input, 
.checkout-index-index  select {
    height: 4.5rem;
    width: 100%;
    border-radius: .5rem;
    text-align: left;
}

.checkout-index-index input[type="checkbox"] {
    width: 2rem;
}

.checkout-index-index .form-shipping-address .choice.field {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
}

.tausps-address-validation-popup ul {
    list-style: none;
}

.checkout-index-index [type="radio"] {
    width: auto;
    height: 1.5rem;
}

.table-checkout-shipping-method input.radio {
    height: 1.75rem;
    margin: .25rem;
}

/* Cross sell qty selector */

.crosssell form {
    display: flex;
    gap: 1rem;
}

.crosssell-qty label {
    padding-right: 1rem;
}

.field.qty.crosssell-qty {
    margin-bottom: 0 !important;
    position: relative;
    top: 1px;
}

/* Temp */

.block.filter {
    display: none;
}