.products-block .products__holder {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.products-block .products__more {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: auto;
    margin-top: var(--min-40);
    cursor: pointer;
    font-size: clamp(0.875rem, 0.787rem + 0.44vw, 1.25rem);
    line-height: 150%;
    text-transform: uppercase;
    font-weight: 500;
    transition: var(--transition);
}

.products-block .products__more .arrow {
    animation-duration: 1.5s;
    animation-name: slide;
    animation-iteration-count: infinite;
    animation-delay: .5s;
    transition: var(--transition);
    transform: translateY(5px);
}

.products-block .product__holder.hidden {
    display: none;
}

.products-block .products__more.hidden {
    display: none;
}

.product-card {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.product-card .product__info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.product-card .product__value {
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    text-align: right;
    color: var(--primary);
    text-align: right;
}

.product-card .product__name {
    max-width: 310px;
}

.product-card .product__img {
    position: relative;
    height: 550px;
}

.product-card .product__btn {
    position: absolute;
    bottom: var(--min-30);
    left: 50%;
    transform: translateX(-50%);
    box-sizing: border-box;
    white-space: nowrap;
}

.product-card .compound__toggler {
    position: absolute;
    top: var(--min-20);
    right: var(--min-20);
    z-index: 100;
    cursor: pointer;
}

.product-card .compound__holder {
    position: absolute;
    top: 10px;
    right: 10px;
    left: 10px;
    transition: var(--transition);

    padding: var(--min-20);
    background: var(--background-primary);
    border: 1px solid var(--main-text-primary);
    opacity: 0;
}

.product-card .compound__holder.active {
    opacity: 1;
    z-index: 10;
}

.product-card .compound__title {
    margin-bottom: 10px;
}

.product-card .compound__text {
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
    color: var(--primary);
    margin-top: 10px;
}

.product-card .compound {
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
    color: var(--main-text-primary);
    max-height: 280px;
    overflow-y: auto;
    padding-right: 10px;
}

.product-card .compound::-webkit-scrollbar {
    width: 2px;
}

@keyframes slide {
    0% {
        transform: translateY(5px);
    }

    50% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(5px);
    }
}

@media(any-hover:hover) {
    .products-block .products__more:hover {
        color: var(--primary);
    }

    .products-block .products__more:hover .arrow {
        animation-name: unset;
        transform: translateY(5px);
    }

    .products-block .products__more:hover .arrow path {
        fill: var(--primary);
    }

    .product-card .product__btn {
        transform: translate(-50%, 200%);
    }

    .product-card:hover .product__btn {
        transform: translate(-50%, 0);
    }

    /*  .product-card .compound__toggler:hover + .compound__holder {
        opacity: 1;
    } */
}

@media(max-width:1300px) {
    .products-block .products__holder {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:700px) {
    .product-card .product__img {
        height: 350px;
    }

    .product-card .compound {
        max-height: 100px;
    }

    .product-card .compound__text,
    .product-card .compound {
        font-size: 12px;
    }
}

@media(max-width:580px)  {
    .products-block .products__holder {
        display: flex;
        flex-direction: column;
    }
}

@media(max-width:400px) {
    .product-card .product__btn {
        width: calc(100% - 30px);
    }
}