

/* Start:/local/templates/craniomed/components/bitrix/catalog/.default/style.css?17701083468360*/
.grid{}
.grid .bx_content_section{
	margin-bottom: 15px;
}
.grid .bx_sidebar{
	margin-bottom: 15px;
}

/* grid2x1 */
.grid2x1{}
.grid2x1 .bx_content_section{
	float: left;
	width: 66%;
	margin-bottom: 15px;
}
.grid2x1 .bx_sidebar{
	float: right;
	width: 33%;
	margin-bottom: 15px;
	padding-left: 5%;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
}
@media (max-width:960px){
	.grid2x1 .bx_sidebar{
		padding-left: 4%;
	}
}
@media (max-width:640px) {
	.grid2x1 .bx_content_section,
	.grid2x1 .bx_sidebar{
		width: 100%;
		float: none;
	}
	.grid2x1 .bx_sidebar{
		padding-left: 3%;
	}
}
@media (max-width:479px){
	.grid2x1 .bx_sidebar{
		padding-left: 1%;
	}

}

.catalog-block-header{
	font-size:14px;
	font-weight: bold;
	text-align: left;
	margin:5px 0;
	padding:5px 15px;
	border-bottom: 2px solid #d9dee6;
	color: #000;
}

body.bx-theme-blue .catalog-block-header{border-color:#006cc0;}
body.bx-theme-green .catalog-block-header{border-color:#63aa28;}
body.bx-theme-red .catalog-block-header{border-color:#da3737;}
body.bx-theme-yellow .catalog-block-header{border-color:#f4b236;}

/* Мобильный фильтр - кнопка */
.mobile-filter-btn-wrapper {
    margin-bottom: 15px;
    text-align: center;
}

.mobile-filter-btn {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
}

.mobile-filter-btn i {
    margin-right: 8px;
}

.mobile-filter-count {
    display: inline-block;
    width: 18px;
    height: 18px;
    background: #ff4444;
    color: white;
    border-radius: 50%;
    font-size: 12px;
    line-height: 18px;
    text-align: center;
    margin-left: 8px;
}

/* Модальное окно фильтра */
.mobile-filters-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
}

.mobile-filters-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.mobile-filters-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 90%;
    max-width: 400px;
    height: 100%;
    background: white;
    box-shadow: -2px 0 10px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
}

.mobile-filters-header {
    padding: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
}

.mobile-filters-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

.mobile-filters-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-filters-body {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}

.mobile-filters-footer {
    padding: 15px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
    background: white;
}

.mobile-filters-clear,
.mobile-filters-apply {
    flex: 1;
    padding: 12px;
    font-size: 16px;
    border-radius: 4px;
}

.mobile-filters-clear {
    background: #f8f9fa;
    border: 1px solid #ddd;
    color: #333;
}

.mobile-filters-apply {
    background: #007bff;
    border: 1px solid #007bff;
    color: white;
}

/* Адаптация фильтра для мобильной версии */
@media (max-width: 991px) {
    .mobile-filter-btn-wrapper {
        display: block !important;
    }
    
    .sidebar_small .hidden-sm {
        display: none !important;
    }
}

@media (min-width: 992px) {
    .mobile-filter-btn-wrapper {
        display: none !important;
    }
}

/* Мобильный фильтр - кнопка */
.mobile-filter-btn-wrapper {
    margin-bottom: 15px;
}

.mobile-filter-btn {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    position: relative;
}

.mobile-filter-btn i {
    margin-right: 8px;
}

.mobile-filter-count {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: #ff4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
}

/* Модальное окно */
.mobile-filters-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: rgba(0,0,0,0.5);
}

.mobile-filters-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 90%;
    max-width: 400px;
    height: 100%;
    background: white;
    display: flex;
    flex-direction: column;
}

.mobile-filters-header {
    padding: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-filters-header h3 {
    margin: 0;
    font-size: 18px;
}

.mobile-filters-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
}

.mobile-filters-body {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}

.mobile-filters-footer {
    padding: 15px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
}

.mobile-filters-clear,
.mobile-filters-apply {
    flex: 1;
    padding: 12px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.mobile-filters-apply {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

#mobileFiltersContent .bx-filter-popup-result {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    visibility: hidden;
    opacity: 0;
}
.mobile-filter-buttons{
	display: flex;
	gap: 7px;
	padding: 12px;
	border-top: 1px solid #eee;
	background: white;
	position: sticky;
	bottom: 0;
	z-index: 10;
	margin-top: auto;	
}
.btn-show-filter{
	flex: 1;
	padding: 6px;
	border: 1px solid #007bff;
	background: #007bff;
	color: white;
	border-radius: 4px;
	font-size: 14px;
	cursor: pointer;	
}
.btn-reset-filter{
	flex: 1;
	padding: 6px;
	border: 1px solid #ddd;
	background: #f8f9fa;
	border-radius: 4px;
	color: #333;
	font-size: 14px;
	cursor: pointer;
}
/* Скрываем кнопки фильтра на мобильных */
@media (max-width: 991px) {
	.bx-filter-button-box {
		display: none !important;
	}
}

/* Кнопки вместо всплывающего блока */
.mobile-filter-buttons.show {
	display: flex;
}

.btn-show-filter,
.btn-reset-filter {
	width: 100%;
	padding: 12px;
	font-size: 16px;
	border-radius: 4px;
	border: 1px solid #ddd;
}

.btn-show-filter {
	background: #007bff;
	color: white;
	border-color: #007bff;
}

.btn-reset-filter {
	background: white;
	color: #333;
}

/* Мобильное модальное окно */
.mobile-filters-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
	background: rgba(0,0,0,0.5);
}

.mobile-filters-content {
	position: absolute;
	top: 0;
	right: 0;
	width: 90%;
	max-width: 400px;
	height: 100%;
	background: white;
	display: flex;
	flex-direction: column;
}

.mobile-filters-header {
	padding: 15px;
	border-bottom: 1px solid #eee;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.mobile-filters-body {
	flex: 1;
	overflow-y: auto;
	padding: 15px;
}

.mobile-filters-footer {
	padding: 15px;
	border-top: 1px solid #eee;
	display: flex;
	gap: 10px;
}

.mobile-filters-footer .btn {
	flex: 1;
	padding: 12px;
}

/* Счетчик на мобильной кнопке */
.mobile-filter-count {
	display: inline-block;
	margin-left: 8px;
	background: #ff4444;
	color: white;
	border-radius: 50%;
	width: 20px;
	height: 20px;
	font-size: 12px;
	line-height: 20px;
	text-align: center;
}
/* Адаптация фильтра для мобильных */
@media (max-width: 991px) {
    .mobile-filter-btn-wrapper {
        display: block;
    }
    
    .mobile-filters-content .bx-filter-block {
        display: block !important;
    }
}

@media (min-width: 992px) {
    .mobile-filter-btn-wrapper {
        display: none;
    }
}
/* End */


/* Start:/local/templates/craniomed/components/bitrix/catalog.section.list/catalog/style.css?1757319225116*/
.section_heading{
    position: relative;
    text-align: center;
    font-size: 2.3rem;
    padding-bottom: 1rem;
}
/* End */
/* /local/templates/craniomed/components/bitrix/catalog/.default/style.css?17701083468360 */
/* /local/templates/craniomed/components/bitrix/catalog.section.list/catalog/style.css?1757319225116 */
