/* Global */
.action.primary:hover,
.action.primary:focus, 
.action-primary:focus, 
.action.primary:active, 
.action-primary:active {
    background: var(--color-branding-secondary);
    border:  1px solid var(--color-branding-secondary);
    color: var(--color-branding-tertiary);
}

.cms-page-view .column.main {
    margin-top: 0;
}

/* Weglot */

.top-ribbon-wrapper {
    background: #ffffff;
}

.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;
    background: unset;
    z-index: 9999;
    position: relative;
}

.top.ribbon .right {
    position: relative;
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
    margin-bottom: -2rem;
    right: -3rem;
}

@media only screen and (min-width: 768px) {
    .top.ribbon {
        flex-direction: row;
        justify-content: space-between;
        align-items: unset;
        margin-bottom: -2rem;
    }
}

/* Header */

.header.content .logo {
    max-width: 80%;
    margin: 0 0 1.5rem 0;
}

.logo img {
    max-width: 100%;
    max-height: unset;
}

.catalog-category-view header.page-header {
    margin-bottom: 0;
}

@media only screen and (min-width: 768px) {

    .header.content .logo {
        margin: 2rem 0 1.5rem 0;
    }

}


/* Category page */

.trust-signal-inner {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.catalog-category-view .trust-signal-inner {
    display: flex;
    flex-direction: row;
    gap: 0;
    align-items: flex-start;
    padding: 0;
}

.trust-signal-inner h3 {
    color: var(--color-branding-secondary);
    margin: 0 0 .5rem;
}

.trust-signal-inner p {
    color: var(--color-text)
}

.trust-signal-inner > * {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    background: var(--color-trust-signal-background);
    padding: 2rem 2rem 0rem 2rem;
}

.catalog-category-view .trust-signal-inner > * {
    background: unset;
    padding: 2rem 0;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.trust-signal-inner .right {
    padding: 2rem;
}

.trust-signal-inner a {
    text-decoration: underline;
    color: var(--color-branding-secondary)
}

.trust-signal-inner .icon svg {
    fill: var(--color-branding-primary);
}

.trust-signal-wrapper{
    margin-top: 0;
    background: unset;
}

.catalog-category-view .trust-signal-wrapper {
    border-top: 1px solid var(--color-mid-gray);
    border-bottom: 1px solid var(--color-mid-gray);
}

.product.attribute.description h2.copy-title {
    font-size: var(--text-h3-size);
    padding-top: 1.25rem;
}

.product-info-wrapper h2.copy-title {
    border-bottom: 1px solid var(--color-branding-primary);
}

.price-box.price-final_price {
    display: flex;
    flex-direction: row-reverse;
    margin-top: 1rem;
    gap: 1rem;
}

.instant-discount-wrapper-wrapper {
    margin-block-start: auto;
}

@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% - 4rem) / 2);
    }

    .trust-signal-inner {
        display: flex;
        flex-direction: row;
        gap: 1rem;
    }

    .catalog-category-view .trust-signal-inner > * {
        display: flex;
        flex-direction: row;
    }

    .gate-wrapper .trust-signal-inner > * {
        padding: 1rem;
        width: 100%;
        border: 1px solid var(--color-mid-gray);
    }

    .gate form .input-wrapper {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .catalog-category-view .trust-signal-inner .copy {
        text-align: left;
    }

    .catalog-category-view .trust-signal-inner .icon svg {
        height: 3rem;
    }

}

/* Banner */

.hp-top-banner .copy {
    background: var(--color-branding-secondary);
    color: #fff;
}

.hp-top-banner h1 {
    font-weight: var(--font-weight-bold);
    margin-bottom: 1rem;
}

.hp-top-banner h1 span {
    display: block;
    font-size: var(--text-normal-size);
    text-transform: uppercase;
}

.hp-top-banner h1 span:after {
    content: '';
    width: 5.5em;
    border-bottom: 4px solid var(--color-branding-primary);
    display: block;
    margin-bottom: .5rem;
}

.hp-top-banner h2 {
    font-weight: var(--font-weight-normal);
}

.catalog-category-view .hp-top-banner .copy {
    color: var(--color-text);
    background: unset;
}

.catalog-category-view .hp-top-banner h1,
.catalog-category-view .hp-top-banner h2 {
    color: var(--color-branding-secondary);
}

.catalog-category-view .hp-top-banner.card {
    background: unset;
}


@media only screen and (min-width: 768px) {

    .catalog-category-view .hp-top-banner.card {
        margin: 2rem auto;
        padding: 0 2rem;
        width: calc(100% - 4rem);
    }

    .hp-top-banner img {
        border-radius: 1rem;
    }

}


/* Footer */

.page-bottom {
    border-top: 1px solid var(--color-mid-gray);
    padding-top: 4rem;
}

@media only screen and (min-width: 768px) {

    .page-wrapper > .page-bottom {
        border-top: 1px solid var(--color-mid-gray);
        padding-top: 4rem;
        width: 100% !important;
        padding: 4rem 0;
        margin: 0;
        max-width: 100%;
    }

}


/* Product page */

a#tab-label-additional-title,
div#tab-label-description {
    display: none;
}

.product-info-main .widget.block.block-static-block {
    order: 5;
}

.product-info-main .widget.block.block-static-block {
    order: 5;
}

.product-info-main .widget .img {
    display: none;
}

.product-info-main .widget  .copy {
    width: 100%;
    padding: 1rem 2rem;
}

.product-info-main .widget h2.as-h1 {
    margin: 0 0 1rem;
}

.product-info-main .banner-drpe {
    padding: 1rem 0 1rem;
}

/* Success */

.checkout-onepage-success .card.inline-img {
    background: unset;
}

.checkout-onepage-success .card.inline-img {
    background: unset;
    border-bottom: 1px solid var(--color-mid-gray);
    padding-bottom: 2rem;
}




