/* Custom styles */

.animated { animation-duration: 1s; animation-fill-mode: both; }
.scrollToTop { position: fixed; bottom: 20px; right: 20px; width: 50px; height: 50px; background: #333; color: #fff; border-radius: 50%; display: none; z-index: 100; }
.scrollToTop.show { display: flex; }


/* Позиционирование родителя */
.card-contacts-messages {
    position: relative;
    display: inline-flex;
    align-items: center;
    max-width: 280px;
    min-width: 0;
}

/* Накрывка — финальная версия */
.card-contacts-messages .cover {
    position: absolute;
    inset: 0;
    z-index: 10;
    cursor: pointer;
    user-select: none;
    font-size: 14px;
    font-family: inherit;
    display: flex;
    align-items: center;
    padding-left: 40%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
    
    /* Градиент */
    background: linear-gradient(
        to right,
        transparent 0%,
        transparent 30%,
        #ececec 40%,
        #ececec 100%
    );
    
    /* Артефакты — только критичные */
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
    box-shadow: none;
}

/* Мобильные */
@media (max-width: 768px) {
    .card-contacts-messages .cover {
        display: none;
    }
}

/* При клике */
.card-contacts-messages .cover.hide {
    display: none;
}

/* ===== PRODUCT PAGE STYLES (katalog sections) ===== */

.info {
    background-image: url(/upload/media/zabory/forprice1.png);
    display: table;
    height: 85px;
    width: 120px;
    position: absolute;
    bottom: 5px;
    right: 5px;
    color: #000;
    font-size: 15px;
    font-weight: bold;
    line-height: 10px;
    text-shadow: none;
    transform: rotate(-16deg);
}

.info p {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

.forprice {
    font-size: 23px;
}