.container hgroup h2 {
    margin-bottom: 0;
}

/* SECTION offers list */
#offers td.price,
#offers td.ppw,
#offers th.price,
#offers th.ppw {
    text-wrap: nowrap;
}

#offers td.product-name,
#offers-mobile .product-name {
    max-width: 30rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (min-width: 992px) {
    #offers td.product-name {
        max-width: 20rem;
    }
}

@media (min-width: 768px) {
    #offers td.product-name {
        max-width: 13rem;
    }
}

#offers tr.avg-marker td,
#offers-mobile .product.avg-marker {
    padding: 0;
    height: 1px;
    background-color: var(--ins-color);
    font-size: 0.6rem;
    border-bottom: 0;
}

#offers .avg-marker-symbol,
#offers-mobile .avg-marker-symbol {
    position: absolute;
    height: 0px;
    border-style: solid;
    border-width: 5px 0 5px 10px;
    border-color: transparent transparent transparent var(--ins-color);
    transform: rotate(0deg);
    margin-top: -5px;
    background-color: var(--card-background-color);
    line-height: 0rem;
}

#offers-mobile .product {
    border-bottom: 1px solid var(--muted-border-color);
    padding: var(--spacing) 0;
}

#offers-mobile .product-name {
    display: grid;
    max-width: 100%;
    margin-bottom: calc(var(--spacing)/2);
    grid-template-columns: auto 1fr auto;
    column-gap: 0.2rem;
    align-items: center;
}

#offers-mobile .product-name span {
    text-overflow: ellipsis;
    text-wrap: nowrap;
    overflow: hidden;
}

#offers-mobile .product-info {
    text-align: right;
}

#offers-mobile .controls {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    column-gap: 0.5rem;
}

#offers-mobile select {
    margin: 0;
}

#offers thead svg {
    opacity: 0;
    width: 0.8rem;
    height: 0.8rem;
}

#offers thead a.sorted-by svg {
    opacity: 1;
}

.filter-products-is-swiss #offers tbody tr:not(.is-swiss),
.filter-products-is-swiss .product:not(.is-swiss) {
    display: none;
}

.filter-products-is-bio #offers tbody tr:not(.is-bio),
.filter-products-is-bio .product:not(.is-bio) {
    display: none;
}

.filter-products-is-swiss-bio #offers tbody tr:not(.is-swiss.is-bio),
.filter-products-is-swiss-bio .product:not(.is-swiss.is-bio) {
    display: none;
}

.price-trend-up {
    color: var(--del-color);
}

.price-trend-down {
    color: var(--ins-color);
}

#offers *[data-tooltip],
#offers-mobile *[data-tooltip] {
    border-bottom: 0;
}

.highlighted-product {
    background-color: var(--mark-background-color);
    animation: highlightFadeout 2s ease-out;
    animation-delay: 1s;
    animation-fill-mode: forwards;
}

@keyframes highlightFadeout {
    0% {
        background-color: var(--mark-background-color);
    }

    100% {
        background-color: var(--card-background-color);
    }
}

article section:last-of-type {
    margin-bottom: 0;
}

/* SECTION related recipes  */
figure.related-recipes {
    margin-bottom: 0;
    padding: 2px;
    display: flex;
}

.related-recipes .recipe-preview {
    display: inline-block;
    width: 180px;
    margin: 0 1rem 0 0;

    border-radius: var(--border-radius);
    border: 1px solid var(--muted-border-color);
    background: var(--card-background-color);
    box-shadow: 0px 0px 4px rgba(27, 40, 50, 0.1);
}

.related-recipes .recipe-preview img {
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
}

.related-recipes .recipe-preview span {
    display: block;
    padding: calc(var(--typography-spacing-vertical)/2);
}

@media (max-width: 768px) {
    figure.related-recipes {
        display: block;
    }

    .related-recipes .recipe-preview {
        display: grid;
        grid-template-columns: auto 1fr;
        align-items: center;
        width: auto;
        margin-bottom: var(--spacing);
    }

    .related-recipes .recipe-preview img {
        width: 64px;
        border-top-right-radius: 0;
        border-bottom-left-radius: var(--border-radius);
    }

    .related-recipes .recipe-preview span {
        display: inline;
        overflow: hidden;
        text-overflow: ellipsis;
        text-wrap: nowrap;
    }
}

.icon-tabler-plus {
    width: 1rem;
    height: 1rem;
    vertical-align: top;
    margin-top: 4px;
}

.icon-tabler-trending-down,
.icon-tabler-trending-up {
    width: 1rem;
    height: 1rem;
}