

/* Start:/local/components/bitrix66/profile/templates/.default/style.css?17950168934747*/
/* профиль - белые карточки на сером фоне, как в фильтрах каталога (catalog.filters/templates/catalog) */
.profile-page {
    display: flex;
    flex-flow: column;
    gap: 5px;
    min-height: 100%;
    padding: 5px 6px;
    background: var(--background);
}
.profile-page .profile-card {
    display: flex;
    flex-flow: column;
    padding: 6px 12px;
    border-radius: 15px;
    background: var(--white);
}
.profile-page a.profile-link {
    display: block;
    font-size: 13px;
    line-height: 30px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--black);
}
.profile-page a.profile-link:hover {
    color: var(--darkgray);
    transition: .3s ease;
}

/* выкуп / накопления (bitrix66:line) */
.profile-page .profile-line {
    padding: 12px;
}
.profile-page .profile-line .detail-title-heading {
    justify-content: flex-start;
    gap: 4px;
    padding: 0 0 10px;
    font-size: 13px;
    font-weight: 600;
}
.profile-page .profile-line .progress-bar-sale {
    padding: 0;
}
.profile-page .profile-line .progress-bar-point-sale.procent span,
.profile-page .profile-line .progress-bar-point-sale.sum {
    font-size: 11px;
    color: var(--darkgray);
}
.profile-page .profile-line .progress-bar-point-sale.procent span:after {
    background: var(--gray);
}
.profile-page .profile-line .progress-bar-wrap-sale {
    border: none;
    border-radius: 5px;
    background: var(--lightgray);
}
.profile-page .profile-line .progress-bar-animated-sale {
    border-radius: 5px;
    background: var(--darkgray);
}

.profile-page h1 span {
    display: block;
    font-size: 12px;
    font-weight: normal;
    text-transform: none;
    color: var(--gray);
}

/* серый фон до самого низа (мобильная версия/сайдбар): профиль - flex-элемент #scrollable (section = display: contents),
   растягиваем его на оставшуюся высоту, а сам контейнер подкрашиваем на случай отступов снизу */
.profile-page {
    position: relative;
    flex: 1 0 auto;
    box-sizing: border-box;
}
body:has(.profile-page),
#scrollable:has(.profile-page) {
    background: var(--background);
}

/* обратная связь - как в карточке товара (catalog.element/bitrix66, #call-me) */
/* блок нулевой высоты, прилипает к низу и не занимает места в потоке - кнопка и меню поверх контента */
.profile-page #call-me {
    position: sticky;
    bottom: 0;
    height: 0;
    margin-top: auto;
    margin-bottom: -5px; /* компенсирует gap перед блоком - снизу отступ как сверху (5px) */
    z-index: 96;
}
.profile-page #call-me-btn {
    position: absolute;
    right: 4px;
    bottom: 10px;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    border: 2px solid var(--gray);
    background-color: var(--white);
    background-image: url(/local/img/call-me.svg);
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}
.profile-page #call-me.active #call-me-btn {
    background-image: url(/local/img/call-me-black.svg);
}
.profile-page #call-me-menu {
    display: none;
    position: absolute;
    right: 4px;
    bottom: 70px;
    width: 290px;
    max-width: calc(100vw - 30px);
    padding: 20px 25px;
    font-size: 14px;
    border-radius: 25px;
    border: 2px solid var(--gray);
    background: var(--white);
}
.profile-page #call-me.active #call-me-menu {
    display: block;
}
.profile-page #call-me-menu .call-me-title {
    padding: 0 0 10px;
    font-weight: 600;
    text-align: center;
}
.profile-page #call-me-menu a {
    position: relative;
    display: block;
    margin-left: 30px;
    padding: 10px;
    color: var(--black);
    text-decoration: none;
}
.profile-page #call-me-menu a:before {
    content: "";
    position: absolute;
    top: 0;
    left: -30px;
    display: block;
    width: 30px;
    height: 100%;
    background-repeat: no-repeat;
    background-position: left center;
}
.profile-page #call-me-menu .telegram:before {
    background-image: url(/local/img/product/callme/1.svg);
}
.profile-page #call-me-menu .whatsapp:before {
    background-image: url(/local/img/product/callme/2.svg);
}
.profile-page #call-me-menu .mail:before {
    background-image: url(/local/img/product/callme/3.svg);
}
.profile-page #call-me-menu .phone:before {
    background-image: url(/local/img/product/callme/4.svg);
}
.profile-page #call-me-menu a:not(:last-child) {
    border-bottom: 1px solid var(--background);
}

/* End */
/* /local/components/bitrix66/profile/templates/.default/style.css?17950168934747 */
