/* Global */

.title-font {
    font-family: var(--font-family-secondary);
}

.gate input.submit,
.action.primary:focus, .action-primary:focus, 
.action.primary:active, .action-primary:active,
.action.primary, .action-primary {
    padding: 1rem 2rem;
}

.card-set .cta,
a.cta.alt {
    border: 1px solid var(--color-branding-primary);
    color: #fff;
    background: var(--color-branding-primary);
    border-radius: 0;
    transition: all 0.25s ease;
}

.card-set .cta:hover,
a.cta.alt:hover {
    border: 1px solid var(--color-branding-primary);
    color: var(--color-branding-primary);
    background: #fff;
    border-radius: 0;
    text-decoration: none;
}

.card-set p.cta {
    padding: .7rem 1.5rem;
    text-align: center;
    text-decoration: unset;
    max-width: 25rem;
    margin: auto;
}


/* Header */

.header.content {
    display: grid;
    grid-template-columns: [nav] minmax(3rem, 3rem) [logo] minmax(auto, auto) [minicart] minmax(9rem, 9rem) [line-end];
    max-width: 100%;
    width: 100%;
    align-items: center;
    gap: 0;
    margin-top: 0;
    padding: 0;
}

.header.content .nav-toggle {
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 1;
    grid-row-end: 2;
    justify-self: start;
    height: 100%;
}

.header.content .logo {
    display: flex;
    align-items: center;
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 2;
    justify-self: start;
}

.header.content .minicart-wrapper {
    display: flex;
    float: none;
    grid-column-start: 3;
    grid-column-end: 4;
    grid-row-start: 1;
    grid-row-end: 2;
    justify-self: end;
    height: 100%;
    width: calc(100% - 1rem);
    padding-left: 1rem;
}


span.action.nav-toggle {
    top: 15%;
}

.logo img {
    padding: 1rem;
}

.header.content .header-custom-button {
    display: none;
}

.navigation {
    background: unset;
}

.navigation ul > a.header-custom-button-inner {
    margin: 1rem;
}

@media only screen and (min-width: 768px) {

    .header.content .header-custom-button {
        display: block;
    }    

    .header.content {
        display: grid;
        grid-template-columns: [logo] minmax(18.7rem, auto) [search] minmax(16.1rem, 65.3rem) [custom-button] minmax(15rem, 34rem) [minicart] minmax(9rem, auto) [line-end];
        max-width: 100%;
        width: 100%;
        align-items: center;
        gap: 0;
        margin-top: 0;
        padding: 0;
        margin-bottom: 2rem;
    }

    .header.content .logo {
        display: flex;
        align-items: center;
        grid-column-start: 1;
        grid-column-end: 2;
        grid-row-start: 1;
        grid-row-end: 2;
        justify-self: end;
        margin: .5rem 0;
        padding-left: 1rem;
    }

    .amsearch-wrapper-block {
        float: none;
        display: flex;
        grid-column-start: 2;
        grid-column-end: 3;
        grid-row-start: 1;
        grid-row-end: 2;
        justify-self: end;
        flex-direction: row;
        justify-self: start;
    }

    .header-custom-button {
        display: flex;
        grid-column-start: 3;
        grid-column-end: 4;
        grid-row-start: 1;
        grid-row-end: 2;
        padding: 1.5rem 1.5rem 1.5rem 0;
        justify-self: end;
    }

    .header.content .minicart-wrapper {
        grid-column-start: 4;
        grid-column-end: 5;
        grid-row-start: 1;
        grid-row-end: 2;
        justify-self: start;
    }

    .header .sections.nav-sections {
        display: flex;
        grid-column-start: 1;
        grid-column-end: 5;
        grid-row-start: 2;
        grid-row-end: 3;
        border-top: unset;
        border-bottom: unset;
        background: var(--color-branding-primary);
    }


    .navigation .level0 > .level-top {
        line-height: calc(2 * (var(--spacing__vertical--2)));
        color: #fff;
        font-weight: var(--font-weight-normal);
        background: unset;
        transition: all 0.25s ease;
    }

    .navigation .level0 > .level-top:hover {
        color: #fff;
        background: var(--color-branding-secondary);
    }

    .navigation .level0.active > .level-top {
        background: var(--color-branding-secondary);
        color: #fff;
    }

    .gate input.submit,
    .action.primary:focus, .action-primary:focus, 
    .action.primary:active, .action-primary:active,
    .action.primary, .action-primary {
        padding: 1.5rem 2.5rem;
    }

    .navigation a.alt.cta.header-custom-button-inner {
        display: none;
    }

    ul.ui-menu {
        background: unset;
    }

    ul.ui-menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly;
    }

}



/* Footer */



/* Sidebar */

.sidebar.sidebar-main {
    border-radius: unset;
    border: unset;
}

.page-layout-2columns-left .sidebar-additional, .page-layout-2columns-left .sidebar-main {
    width: 20%;
    margin-bottom: 2rem;
    margin-top: 0;
}

.page-layout-2columns-left .sidebar-additional {
    width: 20%;
    margin-bottom: 2rem;
    padding: 0;
}

/* Top banner */

.card.hp-top-banner h1 {
    font-weight: var(--font-weight-bold);
    color: var(--color-branding-primary);
    margin-bottom: var(--spacing__vertical--2);
    font-family: var(--font-family-secondary);
}

.hp-top-banner a {
    font-weight: var(--font-weight-black);
}



/* Breadcrumb */

.catalog-product-view .breadcrumbs {
    margin: 1rem auto;
    padding: 0 1.2rem;
}

/* Trust signals */


.trust-signal-inner {
    border-top: 1px solid var(--color-mid-gray);
    border-bottom: 1px solid var(--color-mid-gray);
    width: var(--width-content-max);
    max-width: var(--width-content-max-calc);
}

@media only screen and (min-width: 768px) {

    .trust-signal-wrapper {
        border-top: unset;
    }

}

/* Banner grid */

.banner-grid-wrapper {
    background: unset;
    padding: 2rem;
}

.banner-grid-wrapper .card-set {
    gap: 2rem;
}

.banner-grid-wrapper .card-set > a {
    flex: 1 1 0;
    min-width: 0;
}

.banner-grid .copy {
    display: flex;
    align-items: center;
    flex-direction: column;
    background: var(--color-light-gray);
}

.card-set a h4 {
    color: var(--color-text);
}

.card-set a .lto h4 {
    color: #fff;
}

.banner-grid .lto .copy {
    background: var(--color-branding-secondary);
    color: #fff;
}

.banner-grid .lto .cta {
    background: #fff;
    border: #fff;
    color: var(--color-branding-primary);
    border-radius: 0;
    transition: all 0.25s ease;
}

.banner-grid .lto .cta:hover {
    background: var(--color-branding-secondary);
    border: 1px solid #fff;
    color: #fff;
}

@media only screen and (min-width: 768px) {
    
    .banner-grid-wrapper {
        padding: 0;
    }

    .banner-grid {
        margin: 0 auto;
        padding: 4rem 0;
        width: var(--width-content-max);
        max-width: var(--width-content-max-calc);
    }
    
    .banner-grid-wrapper .card-set {
        gap: 2rem;
    } 

    .banner-grid .row-3 .card {
        padding: 0;
    }

    .banner-grid .row-3 .img {
        padding: 2rem;
    }

    .banner-grid .row-3 .copy {
        padding-bottom: 2rem;
    }

}

.banner-grid .card4 {
    display: flex;
    flex-direction: column;
}

.banner-grid .row-2 .right {
    width: 100%;
    margin-top: 2rem;
}

.banner-grid .row-2 .left {
    width: 100%;
    display: flex;
    flex-direction: column;
}

 .banner-grid .row-2 .right strong {
     font-weight: var(--font-weight-black);
 }
 

@media only screen and (min-width: 768px) {

    .banner-grid .row-2 {
        margin: 2rem 0;
        padding: 2rem 6rem;
    }

    .banner-grid .card4 {
        display: flex;
        flex-direction: row;
        gap: 4rem;
    }

    .banner-grid .row-2 .left {
        width: fit-content;
    }
     
     .banner-grid .row-2 .right {
         width: 100%;
         margin-top: 0;
     }
    
     .banner-grid .row-2 .card.inline-img.card4 {
        display: flex;
        flex-direction: row;
    }

}

/* Category page */

ol.products.list.items.product-items li {
    padding-top: 4rem;
}

/* Top ribbon */

.top.ribbon {
    display: flex;
    width: calc(var(--width-content-max) - 2rem);
    max-width: var(--width-content-max-calc);
    margin: auto;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
}

.top-ribbon-wrapper {
    background: var(--color-dark-gray);
}

.top.ribbon .right a, .top.ribbon .right a:visited, .top.ribbon .right a:focus {
    color: #fff;
    line-height: 2.7rem;
}

.top.ribbon .right {
    position: relative;
    display: flex;
    gap: 2rem;
}

.top.ribbon .left p {
    line-height: 1.7;
}

@media only screen and (min-width: 768px) {

    .top.ribbon {
        flex-direction: row;
        justify-content: space-between;
        align-items: unset;
    }

}

/* Modal */

.modal-popup.modal-slide .modal-inner-wrap[class] {
    background-color: #ffffff;
}

.gate h1, .gate h2 {
    font-weight: var(--font-weight-bold);
}

.gate h2 {
    font-size: var(--text-h2-size);
    color: var(--color-branding-primary);
}

.gate input, .gate select {
    border-radius: .5rem;
}

.gate h1 {
    margin-bottom: .5rem;
}

.gate h2 {
    margin-top: 0;
}

.modal-popup .modal-inner-wrap {
    border-top: 1rem solid var(--color-branding-primary);
}

.gate input.submit {
    line-height: var(--text-normal-size);
}

.modal-footer button.action,
.modal-footer button.action:focus {
    border-radius: 5rem;
    padding: 2rem 3rem;
    line-height: var(--text-normal-size);
    font-weight: var(--font-weight-bold);
}

.security-privacy-panel .trigger-wrapper {
    margin-top: 1rem;
}

.popup-custom-error {
    color: #EA2F2F;
    border: 1px solid #EA2F2F;
    padding: 1rem 1rem 0 1rem;
    border-radius: .5rem;
}

.modal-popup .radio-button-wrapper {
    display: flex;
    align-items: center;
    margin: 2rem 0 0;
}

div#smart_tstat_radio_group {
    display: flex;
}

.radio-button-wrapper input {
    height: auto;
    margin-top: 0;
}

.radio-button-wrapper p {
    margin-bottom: 0;
    padding-right: 1rem;
}

.radio-button-wrapper .input-box {
    margin-right: 2rem;
    display: flex;
}

p.modal-note {
    font-size: var(--text-small-size);
    font-style: italic;
    margin: 1rem 1rem 0;
}

.gate .right input.submit {
    margin-top: 2rem;
    color: #ffffff;
    font-weight: var(--font-weight-bold);
    background: var(--color-branding-secondary);
    border: 1px solid var(--color-branding-secondary);
    transition: all 0.25s ease;
    border-radius: 0;
}


/* CMS page */

.cms-page-view h1, .cms-page-view h2 {
    font-weight: var(--font-weight-normal);
    margin-bottom: 1rem;
}

/* In-Store page */ 

.step-wrapper {
    display: flex;
    flex-direction: column-reverse;
}

.step-wrapper .right .copy {
    background: var(--color-light-gray);
}

.step-1-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}


.step-1-wrapper .icon {
    width: 7.5rem;
}

.product-type {
    display: flex;
    align-items: center;
    gap: 2rem;
    border: 1px solid var(--color-mid-gray);
    padding: 1rem 1rem;
}

.product-type p {
    margin: 0;
}

p.light-upppercase {
    text-transform: uppercase;
    font-size: 80%;
    color: var(--color-mid-gray);
}

.in-store-page h1.title-font {
    text-align: center;
    color: var(--color-branding-primary);
}

.in-store-page h2.copy-title {
    margin-top: 0;
    font-weight: var(--font-weight-normal);
}

.in-store-page .right h2.as-h2 {
    color: var(--color-branding-primary);
}

.step-wrapper {
    margin-bottom: 4rem;
}

.step-wrapper h3.as-h4 {
    margin: 0;
}

.icon-copy-wrapper {
    display: flex;
    gap: 1rem;
    align-items: center;
}

div#selected_product_type_content, #selected_store_option_content {
    display: flex;
    align-items: center;
    border: 1px solid var(--color-mid-gray);
    padding: 1rem;
    margin-bottom: 2rem;
    position: relative;
    max-width: 30rem;
    background: var(--color-light-gray);
}

#selected_product_type_content::after, #selected_store_option_content::after {
    content: "\2611";
    position: absolute;
    top: .5rem;
    right: .5rem;
    color: var(--color-branding-secondary);
    font-size: 2rem;
    line-height: 0.9;
    background: white;
}

#selected_product_type_content .icon {
    width: 7.5rem;
}

#email_phone_wrapper .checkbox-wrapper {
    display: flex;
    margin: 2rem 0;
}

div#email_phone_wrapper {
    max-width: 55rem;
}

.store-options {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.store-option {
    flex: 1 1 300px;
}

button#coupon_issue_btn {
    box-shadow: unset;
    background: var(--color-branding-secondary);
    color: #fff;
    border: unset;
    border-radius: 0;
    padding: 1rem 6rem;
    margin: 2rem auto;
    display: block;
}

/* Hide default radio */
.store-option input[type="radio"] {
    display: none;
}

/* Clickable label */
.store-option label {
    position: relative;
    display: block;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
}

/* Image styling */
.store-option img {
    width: 100%;
    display: block;
    border: 3px solid transparent;
    border-radius: 8px;
    transition: all 0.25s ease;
}

/* Hover effect */
.store-option label:hover img {
    transform: scale(1.02);
    opacity: 0.95;
}

/* Selected state */
.store-option input[type="radio"]:checked + img {
    border: 3px solid #0071ce;
    transform: scale(1.03);
}

.store-option .checkmark {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #0071ce;
    color: white;
    font-size: 18px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.25s ease;
}

.store-option input[type="radio"]:checked + label .checkmark {
    opacity: 1;
    transform: scale(1);
}

/* Show checkmark when selected */
.store-option input[type="radio"]:checked + img + * {
    /* this ensures no layout shift */
}

.store-option input[type="radio"]:checked ~ ::after {
    opacity: 1;
    transform: scale(1);
}

/* Because pseudo elements can't use ~ like that,
   we instead trigger using label when input is checked */
.store-option input[type="radio"]:checked + img {
    border: 3px solid #0071ce;
}

.store-option input[type="radio"]:checked + img {
    box-shadow: 0 0 12px rgba(0, 113, 206, 0.4);
}

.store-option input[type="radio"]:checked + img {
    position: relative;
}

/* Cleaner checkmark method */
.store-option input[type="radio"]:checked + img::after {
    content: "✓";
}


@media only screen and (min-width: 768px) {

    .step-wrapper {
        display: flex;
        flex-direction: row;
        gap: 4rem;
    }

    .step-1-wrapper {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .step-1-wrapper .product-type {
        box-sizing: border-box;
        width: calc(50% - 2rem);
    }

    .step-wrapper > .right {
        max-width: 40rem;
    }

    .step-wrapper > .left {
        flex: 1 1 0;
    }

    .icon-copy-wrapper {
        display: flex;
        align-items: center;
        flex-direction: column;
    }


}

@media only screen and (min-width: 1024px) {

    .icon-copy-wrapper {
        display: flex;
        align-items: center;
        flex-direction: row;
    }
}



/* Product Page */

.product-info-main .page-title-wrapper .page-title {
    color: var(--color-branding-primary);
    font-weight: var(--font-weight-bold);
}

.long-description-item h2 {
    margin-top: 0;
    color: var(--color-branding-primary);
    font-weight: var(--font-weight-bold);
    font-size: var(--text-h3-size);
    margin-bottom: 1rem;
}

.description h3 {
    color: var(--color-branding-primary);
    margin-top: 0;
}

.product ul {
    margin-left: 1rem;
}

@media only screen and (min-width: 768px) {

    .long-description-item {
        width: calc(33% - 5rem);
        background: var(--color-product-page-description-background);
        padding: 2rem;
        -webkit-box-shadow: 0px 3px 8px 1px rgba(0, 0, 0, 0.15);
        -moz-box-shadow: 0px 3px 8px 1px rgba(0, 0, 0, 0.15);
        box-shadow: 0px 3px 8px 1px rgba(0, 0, 0, 0.15);
    }
}

/* LTO page */

.category-limited-time-offer .breadcrumbs {
    margin-top: 2rem;
}

/* Success page */

.checkout-onepage-success header.page-header {
    margin-bottom: 0;
    border-bottom: unset;
}

.checkout-onepage-success .top-container {
    margin-bottom: 2rem;
}

.checkout-onepage-success .card.inline-img {
    border-bottom: 1px solid var(--color-mid-gray);
    padding-bottom: 2rem;
}

/* Kits Banner */

.card.inline-img.kits {
    display: flex;
    flex-direction: column-reverse;
}

.card.kits .copy {
    align-self: center;
    padding: 0;
    width: unset;
}

/* Promo Banner */

.card.promo-banner.inline-img {
    margin-bottom: 2rem;
}

.promo-banner h1 {
    color: #1359a8;
    font-weight: var(--font-weight-bold);
    margin-bottom: 0rem;
}

.promo-banner .copy h2 {
    color: #1359a8;
    font-weight: var(--font-weight-normal);
    margin: .5rem 0 2rem 0;
}

.promo-banner.card-set p.cta {
    color: #ffffff;
    font-weight: var(--font-weight-bold);
    background: var(--color-branding-secondary);
    border: 1px solid var(--color-branding-secondary);
    margin: 2rem auto;
}

.promo-banner .disclaimer {
    font-size: var(--text-small-size)
}

.promo-banner.card-set p.cta:hover {
    background: var(--color-branding-primary);
    border: 1px solid var(--color-branding-primary);
}

.promo-banner .img {
    width: calc(100% - 4rem);
    margin: auto;
}

.card.promo-banner .copy {
    text-align: center;
}


@media only screen and (min-width: 768px) {

    .card.promo-banner .copy {
        text-align: left;
    }

    .promo-banner.card-set p.cta {
        margin: 2rem 0 2rem 0;
    }

}