/* Produktübersicht */

.mtg-product-filter {
    display: flex;
    margin: 0 0 70px 0;
    color: #093A7E;
    font-weight: 700;
    font-size: 20px;
    justify-content: space-between;
    align-items: baseline;
    column-gap: 40px;
    row-gap: 20px;
}

.mtg-filter-wrapper select {
    width: 100%;
    background-color: #;
    padding: 15px 25px;
    color: #093A7E;
    border-radius: 10px;
    font-size: 16px;
    line-height: 20px;
    font-family: inherit;
    height: auto;
    font-weight: 700;
    border: 1px solid #E8EDF3;
    -moz-appearance: none;
    /* Firefox */
    -webkit-appearance: none;
    /* Safari and Chrome */
    appearance: none;
    position: relative;
    background: no-repeat #E8EDF3 url('/wp-content/uploads/2024/01/arrow.svg') center right 15px / 16px 24px !important;
}

.mtg-filter-wrapper option {
    color: #093A7E;
    font-family: 'Source Sans 3', sans-serif;
}

.mtg-product {
    background-color: #fff;
    box-shadow: 0px 6px 10px #00000029;
    padding: 24px;
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
    border-radius: 15px;
    position: relative;
    z-index: 0;
}

.mtg-product img {
    position: absolute;
    z-index: -2;
    height: auto;
    max-height: 75%;
    width: auto;
    height: auto;
    top: 48px;
    left: 0;
    right: 0;
    bottom: 48px;
    margin: 0 auto;
}

.mtg-product-image {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
}

.mtg-product-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 48px;
    bottom: 48px;
    height: calc(100% - 48px);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 1) 75%);
    z-index: -1;
    border-radius: 15px;
}

.mtg-product-button-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    flex-wrap: wrap;
}

.mtg-product-button-wrapper button.mtg-product-button,
.mtg-product-button-wrapper a.mtg-product-button {
    flex: 1 0 0;
}

a.mtg-view-product,
.mtg-product-button {
    background-color: rgb(9, 58, 126);
    color: #ffffff;
    font-size: 16px;
    border-radius: 8px;
    padding: 11px 16px;
    font-weight: 700;
    font-family: 'Source Sans 3', sans-serif !important;
    display: flex;
    justify-content: space-between !important;
    text-align: center;
}

a.mtg-view-product {
    justify-content: center !important
}

.mtg-product-button-wrapper .mtg-product-button.fusion-button-medium {
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
}

.mtg-product-button-wrapper .mtg-product-button.mtg-product-brochure.fusion-button-medium {
    background-color: #E8EDF3;
    color: #093A7E !important;
}

.mtg-product-button-wrapper .mtg-product-button.mtg-product-brochure:hover,
.mtg-product-button-wrapper .mtg-product-button.mtg-product-brochure:focus,
.mtg-product-button-wrapper .mtg-product-button.mtg-product-brochure:active {
    background-color: #C7D7EB
}

.mtg-product-button-wrapper .mtg-product-button.mtg-product-video.fusion-button-medium {
    border: 1px solid #093A7E;
    color: #093A7E !important;
    background-color: #fff;
}

.mtg-product-button-wrapper .mtg-product-button.mtg-product-video:hover,
.mtg-product-button-wrapper .mtg-product-button.mtg-product-video:focus,
.mtg-product-button-wrapper .mtg-product-button.mtg-product-video:active {
    background-color: #E8EDF3;
}

.mtg-product-button-wrapper .mtg-product-button.mtg-product-video i,
.mtg-product-button-wrapper .mtg-product-button.mtg-product-brochure i {
    color: #093A7E !important;
}

.mtg-product-button-wrapper .mtg-product-button.mtg-inquiry {
    background-color: #093A7E;
}

.mtg-cta-area.mtg-product-button-wrapper .mtg-product-button.mtg-cart-action {
    background-color: #FF0006;
}

a.mtg-view-product:hover,
a.mtg-view-product:active,
a.mtg-view-product:focus {
    background-color: #05224A;
}

.mtg-badge-container .mtg-product-badge {
    margin-top: 300px;
    height: 0px;
    margin-bottom: 15px;
}

.mtg-badge-container .mtg-product-badge img {
    position: static;
    max-height: 100%;
    width: auto;
    display: none;
    height: 0px;
    margin: 0 0 0px;
    background: #e8edf3;
    padding: 10px;
    border-radius: 8px;
}

.mtg-symbols {
    margin: 0px 0 15px 0;
}

.mtg-symbols i {
    font-size: 16px;
    color: #6D84B3;
    margin: 0 5px 0 0;
}

h2.mtg-product-title,
h3.mtg-product-title {
    color: #093a7e !important;
    line-height: 1.35em !important;
    margin: 0 0 15px 0;
    font-size: 24px !important;
}

div.mtg-product-content {
    margin-bottom: 20px;
    color: #093a7e;
}

div.mtg-product-content p {
    font-size: 22px;
}

.mtg-no-products {
    display: none;
    flex-basis: 100%;
    padding: 33px 0;
    text-align: center;
}

.mtg-product {
    width: calc(33% - 14px);
}

.mtg-products {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 24px;
}

@media screen and (max-width: 1200px) {
    .mtg-product {
        width: calc(50% - 12px);
    }
}

@media screen and (max-width: 800px) {
    .mtg-product {
        width: 100%;
        max-width: 380px;
        margin: 0 auto;
    }

    .mtg-products {
        row-gap: 24px;
        column-gap: 24px;
    }
}

@media screen and (min-width: 1200px) {
    .mtg-filter-wrapper {
        flex: 1 1 0;
    }

    .mtg-filter-wrapper.filter-label {
        flex: 0;
    }

    .mtg-product:nth-child(3n+1) {
        margin-right: 0;
    }

    #wrapper .post-content .mtg-product h2.mtg-product-title,
    #wrapper .post-content .mtg-product h3.mtg-product-title {
        font-size: 20px;
    }

    .mtg-product .mtg-product-content {
        font-size: 17px;
    }

    .mtg-product a {
        margin-top: auto;
        align-self: bottom;
    }
}


/* Produkt-Einzelseite */
.single-mtg_product #main,
.single-mtg_product #main>.fusion-row {
    min-width: 100%;
    max-width: initial;
    padding: 0 !important;
}

.mtg-title-container {
    padding: 60px 30px 40px 30px;
    background-color: #E8EDF3;
}

.mtg-title-container .mtg-product-title {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.mtg-title-container .mtg-product-title::before,
.mtg-title-container .mtg-product-title::after {
    display: none;
}

.mtg-title-container .mtgr-new-product {
    background-color: #093A7E;
    position: relative;
    border-radius: 5px;
    display: inline-block;
    left: initial;
    top: initial;
    margin-bottom: 25px;
    font-family: 'Source Sans 3', sans-serif;
    line-height: 26px;
    padding: 5px 10px;
    letter-spacing: 1.6px;
}

.mtg-title-container h1 {
    margin-bottom: 0;
}

.mtg-product-heading {
    color: #FF0006;
    font-size: 32px;
    font-weight: 700;
    line-height: 42px;
    margin: 20px 0 5px 0;
    font-family: 'Source Sans 3', sans-serif;
}

.mtg-product-excerpt {
    color: #093A7E;
    margin: 0 0 10px 0;
}

.mtg-product-excerpt p {
    display: block;
    margin-bottom: 0 !important;
}

.mtg-product-price {
    margin: 20px 0 36px 0;
    font-size: 24px;
    font-weight: 700;
    color: #093A7E;
}

.mtg-product-page-container {
    padding: 110px 30px 80px 30px;
    width: 100%;
}

.mtg-product-inquiry {
    background: url(/wp-content/uploads/2024/01/kontaktform-section.png), linear-gradient(180deg, #FFFFFF 0%, #E8EDF3 100%);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 108px 30px 150px 30px;
}

.mtg-product-gallery {
    padding: 0 30px 40px 30px;
}

.mtg-product-video {
    background-color: #05224A;
    padding: 120px 30px 120px 30px;
}

.mtg-product-video h2 {
    color: #fff;
    margin-bottom: 75px;
}

.mtg-product-video iframe {
    display: block;
    margin: 0 auto;
    width: 800px;
    max-width: 100%;
    height: 400px;
}

.mtg-related-products {
    padding: 150px 30px 150px 30px;
}

@media screen and (max-width: 1200px) {
    .mtg-product-page-container {
        padding: 100px 30px 50px 30px;
    }

    .mtg-product-inquiry,
    .mtg-product-gallery,
    .mtg-product-video,
    .mtg-related-products {
        padding: 50px 30px;
    }
}

.mtg-related-products .fusion-row.mtg-back-to-products {
    margin: 80px auto 0 auto;
    text-align: center;
}

.mtg-product-page-container.mtg-related-products h2.mtg-related-products-heading {
    color: #093A7E;
    margin-bottom: 80px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 700px;
}

.mtg-cta-area .mtg-product-button.mtg-inquiry:hover,
.mtg-cta-area .mtg-product-button.mtg-inquiry:active,
.mtg-cta-area .mtg-product-button.mtg-inquiry:focus {
    background-color: #05224A;
}

.mtg-cta-area button.button-default.mtg-add-to-cart,
.mtg-cta-area button.button-default.mtg-remove-from-cart {
    position: initial;
}

.mtg-cta-area button.button-default.mtg-add-to-cart.mtg-product-button.mtg-cart-action:hover,
.mtg-cta-area button.button-default.mtg-remove-from-cart.mtg-product-button.mtg-cart-action:hover,
.mtg-cta-area button.button-default.mtg-add-to-cart.mtg-product-button.mtg-cart-action:active,
.mtg-cta-area button.button-default.mtg-remove-from-cart.mtg-product-button.mtg-cart-action:active,
.mtg-cta-area button.button-default.mtg-add-to-cart.mtg-product-button.mtg-cart-action:focus,
.mtg-cta-area button.button-default.mtg-remove-from-cart.mtg-product-button.mtg-cart-action:focus {
    background-color: #CC0005;
}

.mtg-cta-area button.button-default.mtg-add-to-cart i,
.mtg-cta-area button.button-default.mtg-remove-from-cart i {
    background-color: transparent;
}

.mtg-product-form-container {
    background-color: linear-gradient(180deg, #FFFFFF 0%, #E8EDF3 100%);
    background-image: url("/wp-content/uploads/2024/01/kontaktform-section-01.png");
    background-position: right bottom;
    background-repeat: no-repeat;
    background-size: cover;
}

.mtg-product-details>div {
    margin-bottom: 33px;
}

.mtg-detail-label {
    color: #093A7E;
    font-size: 20px;
    font-family: 'Source Sans 3', sans-serif;
    margin: 48px 0 24px 0;
    display: block;
    font-weight: 700;
}

.mtg-product-image-wrapper {
    min-height: 0;
    min-width: 0;
}

@media screen and (max-width: 1023px) {
    .mtg-product-description a.mtg-form-cta-desktop.fusion-button {
        display: none;
    }
}

@media screen and (min-width: 1024px) {
    a.mtg-form-cta-mobile.fusion-button {
        display: none;
    }

    .mtg-product-description a.mtg-form-cta-desktop.fusion-button {
        display: inline-block;
        min-width: initial;
        margin-top: 5px;
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 480px) {

    .mtg-product-image-wrapper a.mtg-product-button,
    .mtg-product-image-wrapper button.mtg-product-button {
        width: 250px;
        margin: 0 auto 10px auto;
        display: block;
    }
}

.mtgr-new-product {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 25px;
    background-color: #ff0006;
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2.1px;
    line-height: 1.33em;
    font-size: 21px;
    padding: 6px 8px;
    border-radius: 0 0 6px 6px;
    font-family: 'Source Sans 3', sans-serif;
}

.mtg-product-images {
    border: 1px solid #E8EDF3;
}

.mtg-product-images .slick-track {
    display: flex;
    align-items: center;
}

.mtg-product-images .slick-arrow.slick-next::before,
.mtg-product-images .slick-arrow.slick-prev::before {
    width: 16px;
    height: 32px;
    background-image: url(/wp-content/uploads/2024/01/arrow-slider.svg);
    background-size: contain;
    background-repeat: no-repeat;
    content: '';
    display: block;
    right: 24px;
}

.mtg-product-images .slick-arrow.slick-next,
.mtg-product-images .slick-arrow.slick-prev {
    line-height: 32px;
    right: 24px;
}

.mtg-product-images .slick-arrow.slick-prev {
    right: 0;
    left: 24px;
}

.mtg-product-images .slick-arrow.slick-prev::before {
    scale: -1;
}

.mtg-product-images .slick-dots {
    bottom: -36px;
}

.mtg-product-images .slick-dots li button::before {
    font-size: 10px;
    color: #6D84B3;
    opacity: 1;
}

.mtg-product-images .slick-dots li.slick-active button::before {
    font-size: 10px;
    color: #093A7E;
    opacity: 1;
}

.mtg-product-images .slick-arrow:before {
    color: #333;
}

.mtg-product-images .slick-next {
    right: 0;
    z-index: 2;
}

.mtg-product-images.slick-dotted.slick-slider {
    margin-bottom: 96px;
}

.mtg-product-images .slick-prev {
    z-index: 2;
    left: 0;
}

.slick-slide img {
    display: block;
    margin: 0 auto;
}

.mtg-product-page-container h1 {
    text-align: center;
    margin-bottom: 33px;
}

.mtg-description-wrapper>div {
    margin-bottom: 33px;
}

.mtg-product-details-wrapper strong {
    font-family: 'Source Sans 3', sans-serif;
}

.mtg-additional-details {
    margin-top: 40px;
}

.mtg-product-details-wrapper .mtg-additional-details .mtg-toggle-heading {
    font-family: 'Source Sans 3', sans-serif;
    color: #093A7E;
    font-weight: 700;
    cursor: pointer;
    -webkit-user-select: none;
    /* Safari */
    -ms-user-select: none;
    /* IE 10 and IE 11 */
    user-select: none;
    /* Standard syntax */
}


.mtg-product-details-wrapper .mtg-additional-details .mtg-toggle-heading i {
    margin-right: 10px;
}

.mtg-product-details-wrapper .mtg-additional-details .mtg-toggle-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: all 200ms ease-in-out;
}


.mtg-product-details-wrapper .mtg-additional-details .mtg-toggle-content .mtg-toggle-content-wrapper {
    overflow: hidden;
}

.mtg-product-details-wrapper .mtg-additional-details .mtg-toggle-content.active {
    grid-template-rows: 1fr;
}

.post-content p.mtg-product-meta {
    margin-bottom: 30px;
}

.mtg-product-meta strong {
    color: #020F21;
}

.mtg-product-meta .mtg-symbols {
    margin: 0;
}

.mtg-additional-file {
    margin-bottom: 24px;
    position: relative;
}

.mtg-hover-plus {
    position: absolute;
    z-index: 0;
    opacity: 0;
    background-color: #000;
    color: #fff;
    font-size: 32px;
    width: 100%;
    height: 100%;
    transition: opacity, 0.2s;
    top: 0;
    left: 0;
    cursor: pointer;
    border-radius: 20px;
}

.mtg-hover-plus i {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 32px;
    height: 32px;
}

.mtg-additional-file:hover .mtg-hover-plus {
    opacity: 0.7;
}

.mtg-additional-file img {
    border-radius: 20px;
    width: 100%;
    object-fit: contain;
}


@media screen and (max-width: 1200px) {
    .mtg-product-filter {
        display: flex;
        flex-direction: column;
        column-gap: 40px;
        row-gap: 15px;
    }

    .mtg-product-button-wrapper {
        gap: 20px;
    }

    .mtg-title-container .mtg-product-title {
        flex-wrap: wrap;
    }

    .mtg-product-badge {
        flex-basis: 100%;
    }
}


@media screen and (min-width: 1200px) {
    .mtg-product-details {
        display: flex;
        flex-wrap: no-wrap;
    }

    .mtg-product-details>div {
        margin-right: 120px;
        flex: 1 0 0;
    }

    .fusion-row.mtg-product-details::before,
    .fusion-row.mtg-product-details::after {
        display: none;
    }

    .mtg-product-details>h1 {
        flex-basis: 100%;
    }

    .mtg-additional-files {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-around;
        width: 100%;
        gap: 24px;
    }

    .mtg-additional-file {
        flex-grow: 1;
        flex-shrink: 0;
        text-align: center;
    }

    .mtg-product-button-wrapper .mtg-product-button {
        max-width: 50%;
    }
}

.mtg-product-description a {
    min-width: 100%;
    display: block;
}

a.mtg-product-cta {
    background-color: #ff0006 !important;
    margin-top: 20px;
}

a.mtg-product-cta:hover {
    background-color: #ff4d51 !important;
}

@media screen and (min-width: 1024px) {
    .mtg-product-image {
        flex-basis: 21%;
        margin-right: 4%;
    }

    .mtg-product-description {
        flex-basis: 75%;
    }

    .mtg-additional-images {
        flex-wrap: nowrap;
    }
}

/* Merkliste */
.mtg-loading {
    text-align: center;
    font-size: 52px;
}

#cartContent {
    min-height: 250px;
}

.mtg-no-cart-products {
    text-align: center;
}

button.button-default.mtg-add-to-cart,
button.button-default.mtg-remove-from-cart {
    color: #fff;
    position: absolute;
    top: 12px;
    right: 25px;
    padding: 4px 10px;
    line-height: 20px;
    border-radius: 6px;
    font-size: 16px;
    z-index: 1;
}

button.button-default.mtg-add-to-cart i,
button.button-default.mtg-remove-from-cart i {
    color: #fff;
    width: 20px;
    height: 20px;
    line-height: 20px;
    border-radius: 50%;
    margin-left: 5px;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
}

button.button-default.mtg-add-to-cart i {
    background-color: #90A2C5;
}

button.button-default.mtg-remove-from-cart i {
    background-color: #CC0005;
}

button.button-default.mtg-add-to-cart {
    background-color: rgb(109, 132, 179);
}

button.button-default.mtg-add-to-cart:hover {
    background-color: #05224A;
}

button.button-default.mtg-remove-from-cart {
    background-color: #FF0006;
}

button.button-default.mtg-remove-from-cart:hover {
    background-color: #CC0005;
}


.button-default {
    margin-bottom: 10px;
}

.single-mtg_product .fusion-button::before {
    display: initial;
}

#mtg-cart-form {
    display: none;
}

#mtg-cart-product-field {
    visibility: hidden;
    position: absolute;
}

.mtg-clear-cart {
    display: inline-block;
    margin: 25px auto 0 auto;
    cursor: pointer;
    color: #ff0006;
    text-align: center;
    width: 100%;
}

.mtg-footer-spacing {
    height: 150px;
}

@media screen and (max-width: 1200px) {
    .mtg-footer-spacing {
        height: 100px;
    }
}

.mtg-product-options {}

.option-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 5px;
}

.option-checklist-item {
    margin-bottom: 7px;
}

.option-checklist-label {
    cursor: pointer;
    position: relative !important;
    margin: 0px;
    padding-left: 35px;
}

.option-checklist input {
    margin-top: 0;
    position: absolute;
    visibility: hidden;
    width: 26px;
    height: 26px;
    top: 0;
    left: 0;
}

.option-checklist-text::before {
    display: block;
    position: absolute;
    content: "";
    border-radius: 0;
    height: 20px;
    width: 20px;
    top: 1px;
    left: 0px;
    border: 1px solid #093a7e;
    border-radius: 6px;
}

.option-checklist-text::after {
    display: block;
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    background: #093a7e;
    top: 4px;
    left: 3px;
    visibility: hidden;
    font-size: 14px;
    text-align: center;
    line-height: 20px;
    border-radius: 4px;
}

.option-checklist-text {
    display: inline-block;
    font-size: 20px;
}

.option-checklist input[type="checkbox"]:checked+span:after {
    visibility: visible;
}

#preis-gesamt {
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
    font-size: 22px;
    font-weight: 700;
    color: #093A7E;
    margin-top:15px;
}

#preis-gesamt.is-visible {
    opacity: 1;
    pointer-events: auto;
}