/* Global */

a.cta-button {
    border-radius: 2rem;
}


/* Top ribbon */

.top-ribbon-wrapper {
    background: var(--color-branding-secondary);
    color: #fff;
}

.top-ribbon-wrapper a,
.top-ribbon-wrapper a:hover,
.top-ribbon-wrapper a:visited {
    color: #fff;
}

.top-ribbon-content {
    position: relative;
    max-width: calc(var(--width-content-max) - 2rem);
    padding: 0;
}

.top-ribbon-content .right {
    display: block;
    position: absolute;
    right: .5rem;
    top: .5rem;
    z-index: 9;
}

/*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%;
    }

}

/* Header */

.page-header {
    border-bottom: unset;
}

.header.content {
    padding: 2rem;
}

.header.content .minicart-wrapper {
    margin-top: .5rem;
}

span.action.nav-toggle {
    display: none;
}

.header.content .logo {
    padding-left: 0;
}

@media only screen and (min-width: 1270px) {

    .header.content {
        padding: 2rem 0rem;
    }

}


/* Home page top banner */

.card.hp-top-banner {
    background: unset;
    margin-top: -2rem;
}

.hp-top-banner h1 {
    color: var(--color-branding-primary);
    margin-bottom: var(--spacing__vertical--1);
    font-weight: var(--font-weight-bold);
}

.hp-top-banner p.pre-h1 {
    text-transform: uppercase;
    font-weight: var(--font-weight-bold);
    margin-bottom: 0;
}

@media only screen and (min-width: 768px) {

    .hp-top-banner img {
        border-radius: 1rem;
    }

    .card.hp-top-banner {
        margin-top: 0;
        width: 124rem;
        max-width: var(--width-content-max-calc);
    }

    .card.hp-top-banner .copy {
        padding: 2rem 2rem 2rem 0;
    }

}

/* 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;
}

/* Category page */

.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% - 2rem) / 2);
}

.products {
    margin: 4rem 0;
}

.catalog-category-view  .products .product-items .product-item {
    text-align: center;
}

.catalog-category-view .sale-price-wrapper {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
}

.product.details.product-item-details {
    height: 100%;
}

.product.description.product-item-description {
    text-align: left;
    background: var(--color-light-gray);
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-item-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.catalog-category-view .hide-category-page {
    display: none;
}

.price-box.price-final_price {
    margin-block-start: inherit;
}

.product-item-inner ul {
    margin-left: 1rem;
}

a.action.more {
    text-align: center;
    display: block;
    font-size: var(--text-normal-size);
    font-weight: 600;
    text-decoration: underline;
    margin-block-start: auto;
}

.product-item-inner p > strong {
    color: var(--color-branding-secondary);
}

@media only screen and (min-width: 768px) {
    .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) / 4);
    }
}

/* Trust signals */

.trust-signal-inner {
    border-top: .1rem solid var(--color-mid-gray);
    border-bottom: .1rem solid var(--color-mid-gray);
}


/* 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.content {
    display: flex;
    justify-content: center;
    flex-direction: row-reverse;
    margin-bottom: 2rem;
}

main#maincontent {
    border-bottom: 1px solid var(--color-mid-gray);
    margin-bottom: 2rem;
}

/* Product Page */

.product-info-main .page-title-wrapper .page-title {
    font-weight: var(--font-weight-bold);
    color: var(--color-branding-secondary);
}

.product.description h2 {
    font-size: var(--text-h3-size);
    line-height: var(--text-h3-line-height);
    color: var(--color-branding-secondary);s
}



@media only screen and (min-width: 768px) {

    .long-description-wrapper {
        display: flex;
        flex-direction: row;
        gap: 2rem;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .long-description-item {
        width: calc(33.333% - 6rem);
    }
}

/* Gate */

.gate {
    max-width: 60rem;
    margin-top: 5rem;
    text-align: center;
}

.gate h3 {
    font-weight: 400;
}

.gate form {
    max-width: unset;
    margin: auto;
}

.gate form fieldset {
    display: flex;
    flex-direction: column;
}

.gate input.submit {
    width: fit-content;
    max-width: 30rem;
    margin: auto;
}

.gate input#zip {
    text-align: center;
    border: unset;
    background: var(--color-light-gray);
    height: 6rem;
    font-size: var(--text-h3-size);
    color: var(--color-mid-gray);
}

@media only screen and (min-width: 768px) {

    .gate form fieldset {
        display: flex;
        flex-direction: row;
    }

}

/* CMS */

.cms-page-view h2 {
    font-weight: 400;
}

.cms-page-view .column.main ul {
    margin-left: .5rem;
    margin-bottom: 2rem;
    margin-top: .5rem;
}

.cms-page-view a {
    text-decoration: underline;
}

/* Success */ 

.checkout-onepage-success .top-container,
.checkout-onepage-success .card.inline-img {
    background: unset;
}

.checkout-onepage-success .top-container {
    margin-top: 4rem;
}

.checkout-onepage-success .card.inline-img {
    border-bottom: 1px solid var(--color-light-gray);
    padding-bottom: 2rem;
}

/* Checkout */
[name="shippingAddress.bss_custom_field[ri_attestation_es]"] > label.label:after,
[name="shippingAddress.bss_custom_field[ri_attestation_es]"] > label.label > span,
[name="shippingAddress.bss_custom_field[ri_attestation]"] > label.label:after,
[name="shippingAddress.bss_custom_field[ri_attestation]"] > label.label > span {
    display: none;
}

[name="shippingAddress.bss_custom_field[ri_attestation_es]"] .control label.label:after,
[name="shippingAddress.bss_custom_field[ri_attestation]"] .control label.label:after {
    content: '*';
    color: #e02b27;
    font-size: 1.2rem;
    margin: 0 0 0 5px;
}

/* Remove quantity selector and continue shopping */

.checkout-success a.action.primary.continue,
.cart-container .form-cart .action.continue,
.product-info-main .box-tocart .field.qty {
    display: none;
}

