/* Pasek postępu – BEZ NUMERÓW */
.progress {
    height: 5px;
    background-color: #ccc;
    border-radius: 3px;
    overflow: hidden;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%; /* Rozciąga pasek na całą szerokość */
    margin-top: 5px;
}

.progress-bar {
    background-color: #ff4c4c;
    height: 100%;
    transition: width 0.3s ease;
    font-size: 12px;
    color: #fff;
    text-align: center;
    line-height: 10px;
}

/* Podstawowy styl elementu */
.product__item__pic {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

/* Efekt powiększenia na hover */
.product__item__pic:hover {
    transform: scale(1.05);
}

/* Overlay dla ikony play */
.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 45px;
    height: 45px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Ikona play */
.play-overlay i {
    font-size: 32px;
}

/* Efekt pojawiania się ikony play po najechaniu */
.product__item__pic:hover .play-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Czas wyświetlany pod play */
.time-info {
    position: absolute;
    top: 48px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Pokazanie czasu po najechaniu */
.product__item__pic:hover .time-info {
    opacity: 1;
}