

/* Start:/local/templates/sendev_promo/components/bitrix/catalog/docs/style.css?17743468717780*/
/* ===== Documentation Layout ===== */
.docs-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    min-height: calc(100vh - 200px);
    gap: 0;
}

/* ===== Sidebar ===== */
/* ===== Sidebar ===== */
.docs-sidebar {
    position: sticky;
    top: 80px;
    height: calc(100vh - 100px);
    overflow-y: auto;
    border-right: 1px solid var(--border);
    background: var(--bg);
    padding: 32px 0;
    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: color-mix(in oklab, var(--accent) 40%, transparent) transparent;
}

/* Custom Scrollbar - Webkit (Chrome, Safari, Edge) */
.docs-sidebar::-webkit-scrollbar {
    width: 8px;
}

.docs-sidebar::-webkit-scrollbar-track {
    background: transparent;
    margin: 8px 0;
}

.docs-sidebar::-webkit-scrollbar-thumb {
    background: color-mix(in oklab, var(--muted) 30%, transparent);
    border-radius: 10px;
    transition: background 0.2s ease;
}

.docs-sidebar::-webkit-scrollbar-thumb:hover {
    background: color-mix(in oklab, var(--muted) 50%, transparent);
}

.docs-sidebar::-webkit-scrollbar-thumb:active {
    background: color-mix(in oklab, var(--accent) 60%, transparent);
}

/* Dark theme support */
html[data-theme="dark"] .docs-sidebar::-webkit-scrollbar-thumb {
    background: color-mix(in oklab, var(--nav-muted) 40%, transparent);
}

html[data-theme="dark"] .docs-sidebar::-webkit-scrollbar-thumb:hover {
    background: color-mix(in oklab, var(--nav-muted) 60%, transparent);
}

html[data-theme="dark"] .docs-sidebar::-webkit-scrollbar-thumb:active {
    background: color-mix(in oklab, var(--accent) 50%, transparent);
}

.docs-sidebar__inner {
    padding: 0 24px;
}

.docs-sidebar__title {
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
    padding-left: 4px;
}

.docs-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.docs-nav__item {
    margin-bottom: 4px;
}

.docs-nav__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 12px;
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.15s ease;
}

.docs-nav__link:hover {
    background: var(--surface);
    color: var(--accent);
}

.docs-nav__item.active > .docs-nav__link {
    background: color-mix(in oklab, var(--accent) 12%, transparent);
    color: var(--accent);
    font-weight: 600;
}

.docs-nav__submenu {
    list-style: none;
    margin: 6px 0 6px 20px;
    padding: 0;
    border-left: 2px solid var(--border);
}

.docs-nav__subitem {
    margin: 2px 0;
}

.docs-nav__sublink {
    display: block;
    padding: 10px 16px;
    color: var(--muted);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.15s ease;
}

.docs-nav__sublink:hover {
    color: var(--text);
    background: var(--surface);
}

.docs-nav__subitem.active .docs-nav__sublink {
    color: var(--accent);
    font-weight: 600;
    background: color-mix(in oklab, var(--accent) 8%, transparent);
}

/* ===== Content Area ===== */
.docs-content {
    padding: 48px 56px;
    background: var(--bg);
}

.docs-content__inner {
    max-width: 900px;
}

/* ===== Article Styles ===== */
.docs-title {
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 24px;
    color: var(--text);
}

.docs-subtitle {
    font-size: 20px;
    font-weight: 700;
    margin: 40px 0 20px;
    color: var(--text);
}

.docs-description {
    margin-bottom: 32px;
    padding: 20px;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

/* ===== Section Page Layout ===== */
.docs-section-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    padding: 48px 56px;
    min-height: calc(100vh - 200px);
}

.docs-section-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.docs-section-sidebar__title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 16px;
    color: var(--text);
}

.docs-section-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.docs-section-list__item {
    margin-bottom: 8px;
}

.docs-section-list__link {
    display: block;
    padding: 10px 14px;
    border-radius: 10px;
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.15s ease;
    border: 1px solid transparent;
}

.docs-section-list__link:hover {
    background: var(--surface);
    border-color: var(--border);
    text-decoration: none;
}

/* ===== Section Items ===== */
.docs-section-items {
    margin-top: 32px;
}

.docs-section-items .item {
    height: 100%;
}

.docs-section-items .item__body {
    padding: 20px;
}

.docs-section-items .item__title {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: var(--text);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .docs-layout {
        grid-template-columns: 280px 1fr;
    }

    .docs-content {
        padding: 40px 32px;
    }

    .docs-section-layout {
        grid-template-columns: 240px 1fr;
        padding: 40px 32px;
    }
}

@media (max-width: 768px) {
    .docs-layout {
        grid-template-columns: 1fr;
    }

    .docs-sidebar {
        position: relative;
        top: 0;
        height: auto;
        border-right: 0;
        border-bottom: 1px solid var(--border);
        padding: 20px 0;
    }

    .docs-sidebar__inner {
        padding: 0 20px;
    }

    .docs-content {
        padding: 32px 20px;
    }

    .docs-nav__submenu {
        margin-left: 16px;
    }

    .docs-section-layout {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 32px 20px;
    }

    .docs-section-sidebar {
        position: relative;
        top: 0;
    }
}

@media (max-width: 480px) {
    .docs-title {
        font-size: 24px;
    }

    .docs-article__content {
        font-size: 15px;
    }

    .docs-section-list__link {
        padding: 8px 12px;
        font-size: 13px;
    }
}

/* ===== Print Styles ===== */
@media print {
    .docs-sidebar {
        display: none;
    }

    .docs-content {
        padding: 0;
    }

    .docs-section-sidebar {
        display: none;
    }

    .docs-section-layout {
        grid-template-columns: 1fr;
        padding: 0;
    }
}

/* ===== Modal (docs-modal) ===== */
.docs-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
    backdrop-filter: blur(4px);
}

.docs-modal__content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    animation: docsZoom 0.3s ease;
}

@keyframes docsZoom {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.docs-modal__caption {
    margin: 16px auto;
    display: block;
    text-align: center;
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    max-width: 80%;
}

.docs-modal__close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 1001;
}

.docs-modal__close:hover,
.docs-modal__close:focus {
    color: #bbb;
    text-decoration: none;
}
/* End */


/* Start:/local/templates/sendev_promo/components/bitrix/catalog.element/doc/style.css?17742788392177*/
/* Основные стили страницы */
.documentation-page {
	max-width: 1000px;
	margin: 0 auto;
	padding: 20px;
	font-family: Arial, sans-serif;
	line-height: 1.6;
	color: #333;
}

.doc-title {
	font-size: 2.2em;
	margin-top: 0;
	margin-bottom: 30px;
	border-bottom: 2px solid #eee;
	padding-bottom: 10px;
}

/* Контент документации */
.doc-content-text {
	font-size: 1rem;
	text-align: left;
}

/* Адаптивные изображения внутри текста */
.doc-content-text img {
	max-width: 100%;
	height: auto;
	cursor: pointer;
	transition: opacity 0.2s ease;
	margin: 15px 0;
	border-radius: 4px;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.doc-content-text img:hover {
	opacity: 0.9;
}

/* Стили для модального окна (попапа) */
.modal {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0,0,0,0.9);
	backdrop-filter: blur(2px);
	/* Центрирование контента */
	align-items: center;
	justify-content: center;
	flex-direction: column;
	padding: 20px;
}

.modal-content {
	margin: auto;
	display: block;
	max-width: 90%;
	max-height: 85vh;
	object-fit: contain;
	animation: zoom 0.3s ease;
	border-radius: 4px;
}

@keyframes zoom {
	from { transform: scale(0.9); opacity: 0; }
	to { transform: scale(1); opacity: 1; }
}

#caption {
	margin: 15px auto;
	display: block;
	text-align: center;
	color: #ccc;
	font-size: 1.1em;
	max-width: 80%;
}

.close {
	position: absolute;
	top: 20px;
	right: 35px;
	color: #f1f1f1;
	font-size: 40px;
	font-weight: bold;
	cursor: pointer;
	transition: 0.3s;
	z-index: 1001;
}

.close:hover,
.close:focus {
	color: #bbb;
	text-decoration: none;
	cursor: pointer;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
	.documentation-page {
		padding: 15px;
	}

	.doc-title {
		font-size: 1.8em;
	}

	.modal {
		padding: 10px;
	}

	.modal-content {
		max-width: 95%;
		max-height: 75vh;
	}

	.close {
		top: 10px;
		right: 20px;
		font-size: 30px;
	}

	#caption {
		font-size: 0.9em;
		max-width: 90%;
	}
}
/* End */


/* Start:/bitrix/components/bitrix/breadcrumb/templates/.default/style.min.css?1767610402467*/
.bx-breadcrumb{margin:10px 0}.bx-breadcrumb i{color:#b5bdc2;line-height:13px;font-size:12px;vertical-align:middle;margin-right:5px}.bx-breadcrumb .bx-breadcrumb-item{float:left;margin-bottom:10px;white-space:nowrap;line-height:13px;vertical-align:middle;margin-right:10px}.bx-breadcrumb .bx-breadcrumb-item span{font-family:"Open Sans",Arial,"Helvetica Neue",Helvetica,sans-serif;font-size:13px;white-space:normal}.bx-breadcrumb .bx-breadcrumb-item a{border-bottom:0}
/* End */
/* /local/templates/sendev_promo/components/bitrix/catalog/docs/style.css?17743468717780 */
/* /local/templates/sendev_promo/components/bitrix/catalog.element/doc/style.css?17742788392177 */
/* /bitrix/components/bitrix/breadcrumb/templates/.default/style.min.css?1767610402467 */
