.offer-block {
    margin-bottom: 1.81rem;
    width: 100%;
    opacity: 0;
}
.offer-block .h5 {
    margin-bottom: 10px;
}
.offer-block li {
    display: flex;
    position: relative;
    transition: color .2s ease;
    column-gap: 10px;
}
.offer-block li a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.offer-block li:has(a):hover {
    color: #fd5b12;
}
.offer-block li a {
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.offer-block li .icon.stock {
    display: inline-block;
    width: 5px;
    height: 5px;
    background: #5fa800;
    border-radius: 100%;
}
.offer-block li span {
    color: #5fa800;
    font-weight: 400;
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 5px;
}
@media (max-width: 1500px) and (min-width: 960px) {
    .offer-block li {
        flex-direction: column;
    }
    .offer-block li span {
        margin-bottom: 7px;
        margin-left: 0;
    }
} 
@media screen and (max-width: 500px) {
    .offer-block li {
        flex-direction: column;
    }
    .offer-block li span {
        margin-bottom: 7px;
        margin-left: 0;
    }
    
    /* Новый код для сворачивания */
    .offer-block-list {
        position: relative;
        max-height: 265px;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .offer-block-list.expanded {
        max-height: none;
    }
    
    .offer-block-list > li:nth-child(n+6) {
        display: flex !important;
    }
    
    .offer-block-list__toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 20px 0 0;
        margin-top: 10px;
        background: linear-gradient(to bottom, rgba(255,255,255,0), rgb(251 251 251) 40%, rgb(251 251 251));
        border: none;
        cursor: pointer;
        font-size: 14px;
        font-weight: 600;
        color: #333;
        width: 100%;
        position: absolute;
        bottom: 0;
        left: 0;
    }
    
    .offer-block-list:not(.expanded) .offer-block-list__toggle {
        display: flex;
    }
    
    .offer-block-list.expanded .offer-block-list__toggle {
        display: none;
    }
    
    .offer-block-list__toggle::after {
        content: '';
        display: inline-block;
        display: none;
        width: 8px;
        height: 8px;
        border-right: 2px solid #333;
        border-bottom: 2px solid #333;
        transform: rotate(45deg);
        transition: transform 0.3s;
    }
}