/**
 * Show products from category
 */

.mod-webshop--overview .article__title {
    margin-bottom: 1em;
    text-align: left;
}

.webshop-breadcrumbs,
.wci-category-title,
.webshop-category-introduction img,
.mod-webshop--allProducts .webshop-category-introduction {
    display: none;
}

.webshop-category-introduction {
    position: absolute;
    top: 0;
    right: 20px;
}

.product-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    overflow-y: hidden;
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
}

.product-list li {
    -ms-flex-preferred-size: 110px;
    flex-basis: 110px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    overflow: hidden;
}

.product-list li:hover {
    opacity: .7;
}

.product-list li + li {
    margin-left: 1em;
}

.productList__item {
    display: block;
    padding-bottom: 1em;
    overflow: hidden;
    text-decoration: none;
}

.productList__link {
    display: block;
}

.productList__downloadLink a {
    font-size: 0.8em;
}

.productList__downloadLink a::after {
    text-decoration: none;
    color: #000;
    display: inline-block;
    margin-left: 0.5em;
    font-family: 'icons';
    content: '\e808';
    font-size: 0.9em;
}

.productList__title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: .8em;
    color: #000;
}

@media (min-width: 375px) {
    .product-list li {
        -ms-flex-preferred-size: 130px;
        flex-basis: 130px;
    }
}

@media (min-width: 600px) {
    .product-list li {
        -ms-flex-preferred-size: 200px;
        flex-basis: 200px;
    }

    .productList__title {
        font-size: 1em;
    }
}

@media (min-width: 768px) {
    .product-list {
        margin-left: -1em;
        overflow-x: hidden;
    }

    .product-list li {
        -ms-flex-preferred-size: calc(20% - 2em);
        flex-basis: calc(20% - 2em);
        margin-left: 1em;
    }

    .product-list li + li {
        margin-left: 2.2em;
    }
}

/**
 * All products
 */

.mod-webshop--allProducts .webshop-category-introduction {
    display: none;
}

.mod-webshop--allProducts .product-list {
    overflow: visible;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-left: -1em;
}

.mod-webshop--allProducts .product-list li {
    -ms-flex-preferred-size: calc(50% - 1em);
    flex-basis: calc(50% - 1em);
    margin-left: 1em;
}

@media (min-width: 500px) {
    .mod-webshop--allProducts .product-list li {
        -ms-flex-preferred-size: calc(33% - 1em);
        flex-basis: calc(33% - 1em);
    }
}

@media (min-width: 768px) {
    .mod-webshop--allProducts .product-list li {
        -ms-flex-preferred-size: calc(20% - 1em);
        flex-basis: calc(20% - 1em);
    }
}

/**
 * Webshop detailpage
 */

.webshop-back-link {
    display: none;
}

dt {
    font-weight: bold;
}

dd {
    margin: 0;
}

/** page top */
.webshopDetailpage__titleWrapper {
    margin-bottom: 2em;
    z-index: 1;
}

.webshopDetailpage__top {
    margin-bottom: 3em;
}

@media (min-width: 768px) {
    .webshopDetailpage__top {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        margin-bottom: 4em;
    }

    .webshopDetailpage__titleWrapper {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        flex-direction: column;
        justify-content: center;
        -ms-flex-preferred-size: 58%;
        flex-basis: 58%;
        margin: 0;
    }

    p.webshopDetailpage__intro {
        margin: 0 0 .3em;
    }

    .webshopDetailpage__imageWrapper {
        -ms-flex-preferred-size: 30%;
        flex-basis: 30%;
        margin: 0;
        text-align: right;
    }

    .webshopDetailpage__image {
        width: 100%;
    }
}

/** Page bottom */
.webshopDetailpage__contentWrapper {
    max-width: 960px;
    margin: 0 -20px;
}

.webshopDetailpage__content {
    -ms-flex-preferred-size: 60%;
    flex-basis: 60%;
    margin-right: auto;
    margin-bottom: 3em;
}

.webshopDetailpage__price {
    font-family: 'alwyn-new-rounded-web', sans-serif;
    font-size: 1.1em;
    font-weight: bold;
    color: #6d4362;
}

.webshopDetailpage__shoppingcartButton .product-quantity {
    display: none;
}

.webshopDetailpage__ebook {
    display: inline-block;
    margin: 1em 0;
    line-height: 1;
    font-size: 0.9em;
    text-transform: lowercase;
}

.webshopDetailpage__ebook a::after {
    display: inline-block;
    content: '\e808';
    margin-left: 0.5em;
    text-decoration: none;
    font-family: 'icons';
    font-size: 0.9em;
    color: #000;
}

.webshopDetailpage__sidebar {
    -ms-flex-preferred-size: 20%;
    flex-basis: 20%;
    font-size: .7em;
}

@media (min-width: 640px) {
    .webshopDetailpage__contentWrapper {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }

    .webshopDetailpage__order {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }

    .webshopDetailpage__price {
        margin-right: 2em;
    }
}

@media (min-width: 768px) {
    .webshopDetailpage__content {
        -ms-flex-preferred-size: 63%;
        flex-basis: 63%;
        margin-right: auto;
        margin-left: 5%;
    }

    .webshopDetailpage__sidebar {
        -ms-flex-preferred-size: 22%;
        flex-basis: 22%;
    }
}
