﻿.wrap.header {
    justify-content: space-between;
    padding: 20px 0 30px;
}
#productInfo p.price {
    display: flex;
    align-items: center;
}
p.price span.vat {
    margin-left: 0.5rem;
}

/* flex */

.flexrow * {
    min-height: 0;
    min-width: 0;
}

.flexrow {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin: 0 1em 1.5rem;
    justify-content: space-between;
    transition: transform 1s cubic-bezier(0.190, 1.000, 0.220, 1.000);
    box-sizing: border-box;
} 
    .flexrow:last-child {
        margin-bottom: 0;
    }
    .flexrow .flexrow,
    .columns .flexrow {
        margin-left: 0;
        margin-right: 0;
    }

.flexitem {
    display: flex;
    flex: 0 1 calc(50% - 1.5vw);
    transition: transform 1s cubic-bezier(0.190, 1.000, 0.220, 1.000);
    position: relative;
    box-sizing: border-box;
}
    .flexitem:first-child {
        flex: 0 1 calc(50% - 1.5vw);
    }

    .flexitem:last-child {
        flex: 0 1 calc(50% - 1.5vw);
    }
    .flexitem .text {
        padding: 3rem;
        align-self: center;
    }
    .flexitem.image * {
        line-height: 0;
    }
    .flexitem.image img {
        align-self: center;
        overflow: hidden;
        margin-bottom: 0;
    }
    .flexitem.image figure {
        position: relative;
        width: 100%;
        height: 100%;
        transition: filter 1s cubic-bezier(0.190, 1.000, 0.220, 1.000), opacity 1s cubic-bezier(0.190, 1.000, 0.220, 1.000), transform 1s cubic-bezier(0.190, 1.000, 0.220, 1.000)
    }

/* split box */

.content .flexrow.half:last-child {
    margin-bottom: 2rem;
}
.flexrow.half {
    margin-bottom: 3rem
}
.flexrow.reverse {
    flex-direction: row-reverse;
}
.flexrow.half .flexitem .text {
    padding: 0;
}
.flexrow.half figure,
.flexrow.half figure img {
    position: relative;
    /*aspect-ratio: 3 / 2;*/
    object-fit: cover;
}
    .flexrow.half figure img {
        overflow: hidden;
    }

@media only screen and (max-width: 1279px) {
    .flexitem:first-child {
        flex: 0 1 calc(50% - 1.5vw);
    }
    .flexitem:last-child {
        flex: 0 1 calc(50% - 1.5vw);
    }
}

@media only screen and (max-width: 959px) {
    .flexrow {
        margin-left: 15px;
        margin-right: 15px;
        flex-wrap: wrap;
    }
        .flexitem,
        .flexitem:first-child,
        .flexitem:last-child,
        .flexitem.image {
            flex: 0 1 100%;
            margin-bottom: 2rem;
        }
    .flexrow.half .flexitem.text-with-image {
        margin-bottom: 0;
    }
    .flexrow.half .flexitem .text {
        text-wrap: pretty;
        margin-bottom: 0;
    }
}