/* Подсказки к свойствам инфоблока (поле «Подсказка» / HINT).
   Используется в карточке товара и в умном фильтре. Внешний вид — как у подсказки в корзине (delivery.plashka). */

/* Последнее слово названия + «?» — не разрываются, иконка не уходит на отдельную строку */
.prop-hint-nowrap{
    white-space: nowrap;
}
.prop-hint{
    display: inline-block;
    vertical-align: middle;
    margin-left: 6px;
    margin-top: -3px;
    line-height: 0;
    white-space: normal;
}
/* Иконка «висит» за краем колонки и не учитывается в ширине строки,
   поэтому не выталкивает последнее слово на новую строку.
   Фильтр: справа свободное место. Карточка: выносим ровно на отступ до колонки значения (12px). */
.bx_filter_parameters_box_title .prop-hint{
    margin-right: -24px;
}
.prop-product__title .prop-hint{
    margin-right: -12px;
}
.prop-hint__icon{
      display: inline-block;
    width: 14px;
    height: 14px;
    min-width: 12px;
    border: 1px solid #000000;
    border-radius: 50%;
    box-sizing: content-box;
    text-align: center;
    line-height: 16px;
    font-size: 10px;
    font-weight: 400;
    font-style: normal;
    color: #000000;
    background: transparent;
    cursor: pointer;
    outline: none;
    -webkit-user-select: none;
    user-select: none;
}
.prop-hint__text{
    display: none !important;
}

.prop-hint-popup{
    display: none;
    position: fixed;
    z-index: 100001;
    padding: 20px;
    max-width: 290px;
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
    color: #000000;
    text-align: left;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 1px 1px 14px 0px #00000029;
    box-sizing: border-box;
}
.prop-hint-popup.active{
    display: block;
}
.prop-hint-popup__close{
    display: none;
}
.prop-hint-overlay{
    display: none;
}

@media screen and (max-width:768px){
    .prop-hint-popup.active{
        left: 0 !important;
        right: 0;
        top: auto !important;
        bottom: 0;
        max-width: none;
        width: 100%;
        min-height: 100px;
        border-radius: 10px 10px 0 0;
        padding-top: 50px;
        font-size: 17px;
        line-height: 23px;
    }
    .prop-hint-popup.active .prop-hint-popup__close{
        display: block;
        position: absolute;
        right: 20px;
        top: 20px;
        width: 18px;
        height: 18px;
        background: url("/local/templates/masla2023/images/icons/close-icon.svg");
        background-size: contain;
        cursor: pointer;
    }
    .prop-hint-overlay.active{
        display: block;
        position: fixed;
        z-index: 100000;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(43, 43, 43, 0.78);
    }
}