﻿h4 {
    font-size: calc(1.275rem + .3vw);
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

.product-data h1, h2, h3, h4, h5, h6 {
    margin: 0px;
    font-weight: 500;
    line-height: 1.2;
}

.product-data p {
    margin-bottom: 0px;
}

.product-data {
    width: 100%;
    height: 100%;
    padding: 0.5em;
    display: flex;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
}

.product-data .main-info-and-images-container {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(60%, 83.333%) minmax(16.667%, max-content);
    grid-template-rows: auto auto;
}

.product-data .name-column {
    display: flex;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
    margin-bottom: 3em;
}

.product-data .main-info-and-download-buttons-container {
    display: flex;
    flex-direction: row;
}

.product-data .main-info-container {
    display: flex;
    justify-content: start;
}

.product-data .name-and-partnumber-container {
    margin-right: 0.5em;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    max-width: max-content;
}

.product-data .main-product-info-text {
    margin-bottom: 0.5em;
}

.product-data .invalid-ean-code {
    color: red;
}

.product-data .download-buttons-layout-container {
    flex: 1 1 auto;
    -ms-align-content: start;
    -webkit-align-content: start;
    align-content: start;
}

.product-data .download-buttons-container {
    width: 100%;
    height: min-content;
    display: flex;
    flex-direction: row;
    -webkit-justify-content: center;
    justify-content: center;
}

.product-data .download-button {
    background-color: gray;
    color: white;
}

.product-data .download-product-xml-button {
    margin-right: 0.5rem;
}

.product-data .copy-link-button {
}

.product-data .copy-link-button-text.link-copied {
    height: 0px;
    visibility: hidden;
}

.product-data .copy-link-button-checkmark  {
    display: none;
}

    .product-data .copy-link-button-checkmark.link-copied {
        width: 1.4rem;
        height: 1.4rem;
        margin: 0px auto;
        display: block;
    }

    .product-data .copy-link-button-checkmark.link-copied > path {
        stroke-dasharray: 40;
        stroke-dashoffset: 40;
        animation: draw-checkmark 0.35s ease-out forwards;
    }

@keyframes draw-checkmark {
    to {
        stroke-dashoffset: 0;
    }
}

@media (min-width: 992px) {
    .product-data .main-info-container {
        flex: 0 0 auto;
        width: 58.33333333%;
    }

    .product-data .download-buttons-layout-container {
        flex: 0 0 auto;
        width: 41.6666667%;
    }

    .product-data .download-buttons-container {
        -webkit-justify-content: start;
        justify-content: start;
    }
}

.product-data .images-column {
    display: flex;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.product-data .carousel-container {
    min-width: 35%;
    max-width: 45%;
    min-height: 15em;
    max-height: 18em;
}

.product-data .image-carousel {
    -webkit-align-items: center;
    align-items: center;
}

.product-data .carousel-item {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-data .carousel-item-image {
    max-width: 100%;
    max-height: 100%;
}

.product-data .carousel-indicators-list-container {
    width: calc(45% + 30vw);
}

.product-data .carousel-indicator {
    width: 6em;
    min-width: fit-content;
    height: 4em;
    padding: 0.5em 1em;
    margin: 0.25rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .product-data .carousel-indicator:hover {
        box-shadow: 0 0 0 0.1rem white, 0 0 0 0.15rem #0E0D0D;
    }

    .product-data .carousel-indicator:focus {
        box-shadow: none;
    }

    .product-data .carousel-indicator.active-carousel-indicator {
        box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #BD1105;
    }

.product-data .carousel-indicator-image {
    max-width: 100%;
    max-height: 100%;
}

.product-data .price-and-promotion-container {
    grid-column: 2;
    grid-row: 1 / span 2;
    display: flex;
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
    flex-direction: row;
    align-items: start;
}

.product-data .price-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    line-height: 1.5;
    flex-direction: column;
    align-items: flex-end;
}

.product-data .price {
    width: 100%;
    flex-shrink: 0;
    display: inline-flex;
    justify-content: center;
    text-align: right;
    height: fit-content;
    padding: 0.5em;
    font-size: 1.1em;
    margin-top: 0px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.product-data .promotion-picture-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding-bottom: 0.25em;
}

.product-data .promotion-picture {
    max-width: 100%;
    height: auto;
}

.product-data .promotions {
    width: 100%;
    height: fit-content;
    display: flex;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
    padding: 0.5em;
    font-size: 0.9em;
    margin-top: 0px;
}

.product-data .promotion {
    width: 100%;
    height: fit-content;
    margin-top: 0.25rem;
    display: flex;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
}

.product-data .promotion-period {
    width: 100%;
    height: fit-content;
    display: flex;
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
    flex-direction: row;
    flex-wrap: wrap;
}

.product-data .promotion-type-text {
    margin-right: 0.25em;
}

.product-data .price-display-span {
    margin-left: 15px;
    margin-right: 0px;
}

.product-data .secondary-price-display-span {
    white-space: nowrap;
    font-size: 14px;
}

@media (max-width: 992px) {
    .product-data .price-wrapper {
        align-items: flex-start !important;
        padding-left: 2rem;
    }
}

@media (max-width: 685px) {
    .product-data .main-info-and-images-container {
        grid-template-columns: 100%;
        grid-template-rows: auto auto auto;
    }

    .product-data .name-column {
        grid-row: 1;
    }

    .product-data .main-info-and-download-buttons-container {
        flex-direction: column-reverse;
    }

    .product-data .main-info-container {
        justify-content: center;
    }

    .product-data .name-and-partnumber-container {
        width: 100%;
    }

    .product-data .download-buttons-container {
        margin-bottom: 0.5em;
        justify-content: center;
    }

    .product-data .images-column {
        grid-row: 3;
        margin-bottom: 1em;
    }

    .product-data .carousel-container {
        max-width: 100%
    }

    .product-data .image-carousel {
        -webkit-align-items: unset;
        align-items: unset;
    }

    .product-data .carousel-indicators-list-container {
        width: 100%;
    }

    .product-data .price-and-promotion-container {
        grid-column: initial;
        grid-row: 2;
        margin-bottom: 1em;
    }

    .product-data .price-wrapper {
        padding-left: 0rem;
    }
}

.search-string-text-container {
    margin-bottom: 0.5em;
}

.search-string-container {
    margin-bottom: 0.5em;
}

.search-string-table-container {
    padding-top: 1.5rem;
    padding-bottom: 3rem;
}

.search-string-table {
    width: 100%;
    line-height: 1.5;
}

.table-with-all-borders {
    border: 1px solid black;
    border-collapse: collapse;
}

    .table-with-all-borders td, .table-with-all-borders th {
        border: 1px solid black;
        border-collapse: collapse;
    }

.table-with-small-horizontal-padding-on-cells td, .table-with-small-horizontal-padding-on-cells th {
    padding-left: 0.25em;
    padding-right: 0.25em;
}

.search-string-table-head {
    text-align: left;
}

.search-string-part {
    border-width: 0px;
}

.product-data .props-section-container {
    width: 100%;
    padding: 1.5em 0em 3em 0em;
}

.product-data .props-section {
    -webkit-column-count: 4;
    -moz-column-count: 4;
    column-count: 4;
    -webkit-column-gap: 40px;
    -moz-column-gap: 40px;
    column-gap: 40px;
    -webkit-column-rule-style: solid;
    -moz-column-rule-style: solid;
    column-rule-style: solid;
    -webkit-column-rule-width: 1px;
    -moz-column-rule-width: 1px;
    column-rule-width: 1px;
}

@media (max-width: 1600px) {
    .product-data .props-section {
        -webkit-column-count: 3;
        -moz-column-count: 3;
        column-count: 3;
    }
}

@media (max-width: 1200px) {
    .product-data .props-section {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }
}

@media (max-width: 650px) {
    .product-data .props-section {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }
}

.product-data .props-section-item {
    white-space: normal;
    padding: 0px 0px 0px 20px;
    text-indent: -1em;
    break-inside: avoid;
}

.product-data .props-section-item-value-text {
    overflow-wrap: break-word;
    text-indent: -0px !important;
}

.product-data .links-section-container {
    width: 100%;
    padding-top: 1.5em;
    padding-bottom: 1em;
}

.product-data .links-section {
    width: 100%;
    padding: 0px;
    margin: 0px;
    display: flex;
    flex-direction: column;
    list-style-type: none;
}

.product-data .links-section-item {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.product-data .related-link {
    min-width: 0px;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-decoration: none;
}

@media (min-width: 576px) {
    .product-data .links-section-item {
        flex-wrap: wrap;
    }
}