.tariffslider {
    padding: 10px 0;
    overflow: hidden;    /* darf bleiben – schneidet am Container-Rand ab */
}

/* Basis-Karte (kompletter Link) */
.tariffslider .item {
    display: block;
    margin: 5px;
    padding: 0;
    border-radius: 8px;
    border: 1px solid #eee;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tariffslider .item:hover {
    transform: translateY(-5px);
}

/* Bildbereich */
.ts-image {
    position: relative;
}

.ts-image img {
    display: block;
    width: 100%;
    height: auto;
}

/* Ribbon in der oberen Ecke */
.ts-ribbon {
    position: absolute;
    top: 20px;
    left: -4px;
    padding: 4px 14px;
    background: #000;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 0 4px 4px 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    transform: skewX(-12deg);
}

.ts-ribbon span {
    display: inline-block;
    transform: skewX(12deg); /* Text wieder gerade */
}

/* Textbereich */
.ts-description {
    padding: 10px 12px 12px;
}

.ts-name {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.ts-savings {
    font-size: 0.8rem;
    color: #1a6ec3;
    font-weight: 500;
}

.product-rating{
    display: flex;
    align-items: center;
}

.product-rating .pr-stars{
    height: 12px;
    width: 60px;
    margin-right: 5px;

    background: url('/assets/images/icons/star_grey.png');
    background-size: 12px 12px;
}

.product-rating .pr-stars .pr-stars-filled{
    height: 100%;

    background: url('/assets/images/icons/star_golden.png');
    background-size: 12px 12px;
}

.product-rating .pr-text{
    font-size: 12px;
    text-decoration: underline;
    color: #000;
}