

/* Start:/local/templates/main/components/bitrix/news/pro-dementsiya/style.css?17871152382180*/
/**
 * Виджет чата на лендинге /pro-dementsiya/.
 * Вне .pro-demencia-landing: overflow-x:hidden на узких экранах иначе клипует position:fixed.
 */
.pro-dementsiya-chat {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 9999;
}

.pro-dementsiya-chat__frame {
	display: block;
	width: 380px;
	height: 600px;
	border: none;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 8px 32px rgba(39, 49, 74, 0.18);
}

.pro-dementsiya-chat__close {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: #fff;
	color: #27314a;
	box-shadow: 0 2px 10px rgba(39, 49, 74, 0.18);
	cursor: pointer;
}

.pro-dementsiya-chat__close:hover,
.pro-dementsiya-chat__close:focus-visible {
	color: #d1416b;
}

.pro-dementsiya-chat__close:focus-visible {
	outline: 2px solid #d1416b;
	outline-offset: 2px;
}

.pro-dementsiya-chat__open {
	display: none;
	align-items: center;
	gap: 0.4rem;
	min-height: 48px;
	padding: 0.65rem 1rem 0.65rem 0.85rem;
	border: none;
	border-radius: 2rem;
	background: #d1416b;
	color: #fff;
	font-family: Onest, Montserrat, system-ui, sans-serif;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1;
	box-shadow: 0 8px 24px rgba(209, 65, 107, 0.28);
	cursor: pointer;
}

.pro-dementsiya-chat__open:hover,
.pro-dementsiya-chat__open:focus-visible {
	background: #b4232a;
}

.pro-dementsiya-chat__open:focus-visible {
	outline: 2px solid #e7c9c1;
	outline-offset: 2px;
}

.pro-dementsiya-chat--closed .pro-dementsiya-chat__frame,
.pro-dementsiya-chat--closed .pro-dementsiya-chat__close {
	display: none;
}

.pro-dementsiya-chat--closed .pro-dementsiya-chat__open {
	display: inline-flex;
}

.pro-dementsiya-chat__open[hidden] {
	display: none !important;
}

@media (max-width: 81.25em) {
	.pro-dementsiya-chat {
		right: 12px;
		bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
	}

	.pro-dementsiya-chat__frame {
		width: min(380px, calc(100vw - 24px));
		height: min(600px, calc(100vh - 8rem - env(safe-area-inset-bottom, 0px)));
	}
}

/* End */


/* Start:/local/templates/main/components/bitrix/catalog.element/video-banner/style.css?17871336342159*/
.video-banner {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
    background: #000;
    line-height: 0;
}

.video-banner video {
    width: 100%;
    height: 540px;
    display: block;
    object-fit: cover;
}

.video-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 118, 110, 0.06) 0%, rgba(15, 23, 42, 0.28) 100%);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.video-banner.is-playing::after {
    opacity: 0;
}

.video-banner__watch {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 146px;
    min-height: 54px;
    padding: 14px 24px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: #27314a;
    font-family: Onest, sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
    z-index: 2;
    animation: video-banner-watch-pulse 1.6s ease-in-out infinite;
    transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.video-banner__watch:hover {
    transform: translateX(-50%) translateY(-1px);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.22);
}

.video-banner.is-playing .video-banner__watch {
    opacity: 0;
    pointer-events: none;
    animation: none;
}

@keyframes video-banner-watch-pulse {
    0% {
        box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18), 0 0 0 0 rgba(15, 118, 110, 0.34);
    }
    70% {
        box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18), 0 0 0 14px rgba(15, 118, 110, 0);
    }
    100% {
        box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18), 0 0 0 0 rgba(15, 118, 110, 0);
    }
}

@media (max-width: 768px) {
    .video-banner video {
        height: 250px;
    }

    .video-banner__watch {
        min-width: 128px;
        min-height: 46px;
        padding: 12px 18px;
        bottom: 16px;
        font-size: 15px;
    }
}
/* End */
/* /local/templates/main/components/bitrix/news/pro-dementsiya/style.css?17871152382180 */
/* /local/templates/main/components/bitrix/catalog.element/video-banner/style.css?17871336342159 */
