

/* Start:/local/templates/mpack/components/bitrix/catalog/bootstrap_v4/style.css?17586649181153*/
.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%;
	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 0;
	border-bottom: 2px solid #d9dee6;
	border-bottom-color: var(--primary);
	color: #000;
}

.sec-description ul {
    display: block;
    list-style-type: disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    padding-inline-start: 40px;
    unicode-bidi: isolate;
}

.sec-description li {
    display: list-item;
    text-align: -webkit-match-parent;
    unicode-bidi: isolate;
}
/* End */


/* Start:/local/templates/mpack/components/bitrix/catalog.section.list/bootstrap_v4/style.min.css?17730802994143*/

/* === Карточка категории с полным изображением === */
.mt-40{margin-top:40px;}
.categories__card--fullimage {
    background: transparent;
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.categories__card--fullimage:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.categories__card--fullimage .categories__card--link {
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* === Обёртка изображения === */
.categories__image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1; /* Квадратное изображение */
    overflow: hidden;
    background: var(--bg-offwhite-color);
}

@media only screen and (max-width: 991px) {
    .categories__image-wrapper {
        aspect-ratio: 4 / 3;
    }
}

@media only screen and (max-width: 575px) {
    .categories__image-wrapper {
        aspect-ratio: 1 / 1;
    }
}

/* === Изображение на весь блок === */
.categories__fullimage {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Заполняет блок, обрезая лишнее */
    object-position: center;
    transition: transform 0.5s ease;
    display: block;
}

.categories__card--fullimage:hover .categories__fullimage {
    transform: scale(1.08);
}

/* === Оверлей для затемнения === */
.categories__overlay {
    position: absolute;
    inset: 0;
    opacity: 0.7;
    transition: var(--transition);
    pointer-events: none;
}

.categories__card--fullimage:hover .categories__overlay {
    opacity: 0.85;
}

/* === Контент поверх изображения === */
.categories__content-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.2rem 1rem;
    z-index: 2;
    text-align: center;
    transform: translateY(0);
    transition: var(--transition);
}

.categories__card--fullimage:hover .categories__content-overlay {
    transform: translateY(-2px);
}

.categories__content-overlay .categories__title {
    display: block;
    font-size: 1.35rem;
    font-weight: 600;
    font-family: var(--rubik-fonts);
    color: var(--text-white-color);
    margin-bottom: 0.3rem;
    line-height: 1.3;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.categories__content-overlay .categories__subtitle {
    display: none;
    font-size: 1.15rem;
    color: var(--secondary-color);
    font-family: var(--inter-fonts);
    font-weight: 500;
}

/* === Адаптивность заголовков === */
@media only screen and (max-width: 991px) {
    .categories__content-overlay .categories__title {
        font-size: 1.25rem;
    }
    .categories__content-overlay .categories__subtitle {
        font-size: 1.1rem;
    }
}

@media only screen and (max-width: 767px) {
    .categories__content-overlay {
        padding: 1rem 0.8rem;
    }
    .categories__content-overlay .categories__title {
        font-size: 1.2rem;
    }
}

@media only screen and (max-width: 479px) {
    .categories__content-overlay .categories__title {
        font-size: 1.15rem;
    }
    .categories__content-overlay .categories__subtitle {
        font-size: 1.05rem;
    }
}

/* === Сетка: 6 колонок на десктопе === */
/* col-lg-2 уже даёт 6 колонок (12 / 2 = 6) */
/* Убедитесь, что у родителя .row нет лишних отступов */

.row.mb--n30 {
    margin-left: -0.75rem;
    margin-right: -0.75rem;
}

.row.mb--n30 > * {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}
.categories__titlets{

    position: absolute;
font-size: 12px;
font-weight: bold;
width: 80%;
line-height: 15px;
top: 25px;
left: 10px;
z-index: 999999;
}
@media only screen and (min-width: 992px) {
    .row.mb--n30 {
        margin-left: -1rem;
        margin-right: -1rem;
    }
    .row.mb--n30 > * {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
/* End */
/* /local/templates/mpack/components/bitrix/catalog/bootstrap_v4/style.css?17586649181153 */
/* /local/templates/mpack/components/bitrix/catalog.section.list/bootstrap_v4/style.min.css?17730802994143 */
