/* Global */

h1, .as-h1 {
    font-weight: var(--font-weight-bold);
}

a.store-switcher {
    color: #000;
}

div#switcher-language-nav {
    display: none;
}

ul {
    padding-left: var(--spacing__vertical--2);
}

.page-bottom .content {
    display: flex;
    flex-direction: column;
}

.product-info-main .box-tocart .field.qty, .product-options-bottom .box-tocart .field.qty {
    display: none;
}

/* CMS pages */

.cms-page-view a, 
.cms-page-view .alink, 
.cms-page-view a:visited, 
.cms-page-view .alink:visited, 
.cms-page-view a:active, 
.cms-page-view .alink:active {
    text-decoration: underline;
}

/* Header */

span.action.nav-toggle {
    display: none;
}

.header.content .logo {
    padding-left: 0;
}

.page-header {
    border-bottom: .5rem solid var(--color-branding-primary);
}

.top-ribbon-wrapper {
    background: unset;
}

.top-ribbon-content {
    padding: 1rem 2rem 0;
}

.header.content {
    padding: 0 2rem 3rem;
}

/* 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;
}




@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) / 4);
    }

}

/* Top banner */

.welcome-index-index header.page-header {
    margin-bottom: 0;
}

.gate-wrapper, .page-wrapper > .top-container {
    width: 100%;
    max-width: 100%;
    padding: 0;
    color: var(--color-text);
}

.card.hp-top-banner.inline-img {
    padding: 2rem 0;
    background: unset;
}

.hp-top-banner h1 {
    margin-bottom: var(--spacing__vertical--2);
    font-weight: var(--font-weight-bold);
    color: var(--color-branding-primary);
}

.page-wrapper > .top-container {
    margin-top: -2rem;
}

.hp-top-banner h1 span {
    display: block;
    font-size: var(--text-normal-size);
    font-weight: var(--font-weight-normal);
    color: var(--color-text);
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-family: "klavika-web", sans-serif;
    color: #716B57;
}

@media only screen and (min-width: 768px) {

    .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;
    }

    .hp-top-banner img {
        border-radius: 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: 1px solid var(--color-mid-gray);
    border-bottom: 1px solid var(--color-mid-gray);
}

@media only screen and (min-width: 1024px) {

    .trust-signal-inner .icon svg {
        height: 4.5rem;
    }

}

/* 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;
}

/* Category page */

.products .product-items .product-item {
    text-align: center;
}

.sale-price-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Product page */

.long-description-wrapper {
    display: flex;
    flex-direction: column;
}

button#product-addtocart-button {
    margin-top: 5px;
}

.product-info-main ul {
    margin-left: 1.5rem;
}

@media only screen and (min-width: 1024px) {

    .long-description-wrapper {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .long-description-item {
        width: calc((100% - 16rem) /3);
        background: var(--color-product-page-description-background);
        padding: 2rem;
    }

}


/* Success page */

.checkout-onepage-success .card {
    background: unset;
}

.checkout-onepage-success .top-container {
    background: var(--color-branding-primary);
    margin-top: 0;
    margin-bottom: 2rem;
    padding-top: 2rem;
    color: #fff;
}

.checkout-onepage-success .card {
    background: unset;
    border-bottom: 1px solid var(--color-light-gray);
    padding-bottom: 2rem;
}

.checkout-onepage-success a.action.primary.continue {
    display: none;
}

/* Gate */

.welcome-index-index main#maincontent {
    max-width: 100%;
    padding: 0;
}

.trust-signal-wrapper {
    background: unset;
    margin-top: 0;
}

.gate {
    width: calc(100% - 4rem);
    max-width: 80rem;
    margin: 5rem auto;
}

.gate .form .fieldset {
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

.gate .fieldset > * {
    width: 100%;
}

.gate h3 {
    color: #683603;
    text-align: center;
    margin-bottom: 4rem;
}

.gate form input,
.gate form select {
    height: 6rem;
    border: unset;
    background: var(--color-light-gray);
    text-align: center;
}

.gate form input#termsCheck_en {
    height: auto;
}

.gate form input.submit {
    border: unset;
    background: var(--color-branding-secondary);
    color: #fff;
    height: 6rem;
    display: block;
}

.gate form input.submit:hover {
    border: unset;
    background: var(--color-branding-primary);
    color: #fff;
    transition: all .25s ease-in-out;
}

.gate ::placeholder {
    color: #000 !important;
    opacity: 1; /* Firefox */
}

.gate input:focus::placeholder {
    color: transparent !important;
  }

.gate form select {
    border-right: solid  1rem var(--color-light-gray);
}

.gate .form.heating a {
    text-decoration: underline;
}

@media only screen and (min-width: 768px) {

    .gate .form .fieldset {
        display: flex;
        gap: 1rem;
        align-items: center;
    }

    .gate .fieldset > * {
        width: 100%;
        max-width: 60rem;
    }

    .welcome-index-index form#form-validate {
        position: relative;
    }

}

/* Promotion ended */

.cms-promotion-ended-es .breadcrumbs,
.cms-promotion-ended .breadcrumbs {
    display: none;
}


