.date-text {
    margin-top: 0;
    margin-bottom: 0;
    color: #000;
    font-weight: 700;
    text-shadow:
        -1px -1px 2px #fff,
        /*1px 1px 2px #fff,*/
        1px 1px 2px #555,
        2px 2px 4px rgba(0, 0, 0, 0.4);
}

.box {
    overflow: hidden;
}

.box-img-top {
    display: block;
    width: 100%;
    height: auto;
}

/* kontener obrazu jako kotwica dla wstążki */
.box-img-wrap {
    position: relative;
}

/* wstążka */
.price-ribbon {
    position: absolute;
    right: 10px;
    bottom: 10px;
    background: #ff3b30;
    /* kolor wstążki */
    color: #fff;
    padding: 8px 18px 8px 20px;
    border-radius: 999px 0 0 999px;
    /* zaokrąglony lewy koniec */
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
    /* lepsza czytelność na zdjęciu */
}

/* prostokątny „ogon” z prawej strony */
.price-ribbon::before {
    content: "";
    position: absolute;
    right: -12px;
    top: 0;
    width: 12px;
    height: 100%;
    background: #ff3b30;
}

/* mały trójkąt u góry „ogona” (jak na podglądzie) */
.price-ribbon::after {
    content: "";
    position: absolute;
    right: -12px;
    top: -6px;
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-bottom: 6px solid #ff3b30;
}

/* (opcjonalnie) delikatne przyciemnienie dołu zdjęcia pod ceną */
.box-img-wrap::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 35%;
    background: linear-gradient(to top, rgba(0, 0, 0, .25), transparent);
    pointer-events: none;
}

