/*NOTE: This file is intended for programmers. Aspro technical support is not advised to work with him.*/

.catalog_item .rating,
.catalog_item .item-stock,
.catalog_item .wrapp_stockers .rating,
.catalog_item .wrapp_stockers .item-stock,
.display_list .rating,
.display_list .item-stock,
.display_list .wrapp_stockers .rating,
.display_list .wrapp_stockers .item-stock,
.catalog_block .rating,
.catalog_block .item-stock,
.catalog_block .item_info > .item-stock,
.catalog_block .item_info > .rating,
.module_products_list .rating,
.module_products_list .item-stock,
.list_item .rating,
.list_item .item-stock,
.wrapp_stockers .rating,
.wrapp_stockers .item-stock,
.catalog_detail .rating,
.catalog_detail .item-stock,
.catalog_detail .quantity_block,
.catalog_detail .prices_block .item-stock,
#fast_view_item .rating,
#fast_view_item .item-stock,
#fast_view_item .quantity_block {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
}

/* Плитка: одинаковая высота карточек, кнопка внизу */
.catalog_block.items .catalog_item_wrapp {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.catalog_block.items .catalog_item_wrapp .catalog_item,
.catalog_block.items .catalog_item_wrapp .catalog_item .inner_wrap {
	display: flex;
	flex-direction: column;
	flex: 1;
	height: 100%;
}

.catalog_block.items .catalog_item .item_info {
	display: flex !important;
	flex-direction: column !important;
	flex: 1 !important;
	height: auto !important;
	min-height: 0;
	overflow: visible !important;
	text-align: center;
}

.catalog_block.items .catalog_item .item_info .item-title {
	flex: 0 0 auto;
}

.catalog_block.items .catalog_item .item_info .cost.prices {
	flex: 1 1 auto;
}

.catalog_block.items .catalog_item .item_info .kp_button_block {
	margin-top: auto !important;
	padding-top: 12px !important;
	flex: 0 0 auto;
}

.kp_button_block {
	display: block !important;
	margin: 8px 0 0 !important;
	font-size: 13px !important;
	line-height: normal !important;
	text-align: center;
	opacity: 1 !important;
	visibility: visible !important;
	overflow: visible !important;
	-webkit-line-clamp: unset !important;
}

.display_list .kp_button_block,
.module_products_list .kp_button_block {
	text-align: left;
}

.kp_button_block .get-kp-btn {
	display: inline-block !important;
	cursor: pointer;
	font-size: 13px !important;
	line-height: 16px !important;
	opacity: 1 !important;
	visibility: visible !important;
	position: relative;
	z-index: 2;
	min-width: 120px;
	padding: 7px 14px !important;
	box-sizing: border-box;
	border: none !important;
}

.kp_button_block .get-kp-btn.colored_theme_bg {
	color: #fff !important;
}

.kp_button_block .get-kp-btn.colored_theme_bg_hovered_hover:hover {
	color: #fff !important;
}

.catalog_detail .prices_block .kp_button_block,
#fast_view_item .kp_button_block {
	display: inline-block !important;
	margin: 0 15px 0 0 !important;
	vertical-align: middle;
	text-align: left;
}

/* Popup «Получить КП» */
.popup .form.get_kp .form_head h2 {
	font-size: 20px;
	font-weight: 500;
	line-height: 1.3;
}

.popup .form.get_kp.get_kp--success {
	min-width: 320px;
}

.popup .form.get_kp .kp_request_result_success {
	align-items: flex-start;
	border: none;
	border-radius: 0;
	display: flex;
	margin: 0;
	padding: 36px 35px 10px;
}

.popup .form.get_kp .kp_request_result_success .form_result__icon {
	background-color: rgba(55, 172, 9, 0.15);
	height: 48px;
	margin-right: 18px;
	min-width: 48px;
	width: 48px;
}

.popup .form.get_kp .kp_request_result_success .form_result__icon::before {
	height: 14px;
	width: 18px;
}

.popup .form.get_kp .kp_request_result_content {
	flex: 1;
}

.popup .form.get_kp .kp_request_result_title {
	color: #1d2029;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.35;
	margin: 0 0 8px;
}

.popup .form.get_kp .kp_request_result_desc {
	color: #666;
	font-size: 14px;
	line-height: 1.5;
	margin: 0;
}

.popup .form.get_kp .kp_request_result_fail {
	border-radius: 3px;
	display: block;
	margin: 20px 35px 0;
	padding: 16px 18px;
}

.popup .form.get_kp .kp_request_result_fail .kp_request_result_title {
	color: #e62222;
	font-size: 15px;
	font-weight: 500;
	margin: 0 0 6px;
}

.popup .form.get_kp .kp_request_result_fail .kp_request_result_desc {
	color: #666;
	font-size: 13px;
	line-height: 1.45;
	margin: 0;
}

.popup .form.get_kp .kp_request_result_footer {
	padding-bottom: 28px;
	padding-top: 8px;
	text-align: center;
}

.popup .form.get_kp .kp_request_result_footer .button,
.popup .form.get_kp .form_footer .button.colored_theme_bg {
	color: #fff !important;
	min-width: 140px;
}

/* ===== Карточка товара (детальная страница) ===== */
body:has(.catalog_detail--modern) h1 {
	margin-bottom: 20px;
	font-size: 26px;
	font-weight: 600;
	line-height: 1.3;
	color: #1d2029;
}

.catalog_detail--modern .item_main_info {
	border: 1px solid #e6e6e6;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
	background: #fff;
}

.catalog_detail--modern .item_main_info .item_slider {
	background: #fafafa;
	padding: 32px 40px;
}

.catalog_detail--modern .item_main_info .item_slider .slides li {
	line-height: 1;
}

.catalog_detail--modern .item_main_info .item_slider .slides img {
	max-height: 420px;
}

.catalog_detail--modern .wrapp_thumbs {
	margin-top: 18px;
}

.catalog_detail--modern .wrapp_thumbs .slides_block li span {
	display: block;
	border-radius: 8px;
	overflow: hidden;
	border: 2px solid transparent;
	transition: border-color 0.15s ease;
}

.catalog_detail--modern .wrapp_thumbs .slides_block li.current span {
	border-color: #e85c0d;
}

.catalog_detail--modern .right_info .info_item {
	padding: 28px 28px 8px 12px;
}

.catalog_detail--modern .top_info {
	padding: 0 0 18px;
	border-bottom: 1px solid #f0f0f0;
}

.catalog_detail--modern .top_info .rows_block {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.catalog_detail--modern .top_info .item_block {
	width: auto;
	line-height: normal;
}

.catalog_detail--modern .top_info .article,
.catalog_detail--modern .top_info .brand {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px;
	float: none;
	padding: 7px 12px;
	border-radius: 8px;
	background: #f5f5f5;
	font-size: 13px;
	line-height: 1.3;
}

.catalog_detail--modern .top_info .article .value {
	font-weight: 600;
	color: #222;
}

.catalog_detail--modern .top_info .brand a {
	font-weight: 600;
	color: #e85c0d;
	text-decoration: none;
}

.catalog_detail--modern .top_info .brand a:hover {
	text-decoration: underline;
}

.catalog_detail--modern .preview_text {
	max-height: none;
	overflow: visible;
	text-overflow: unset;
	display: block;
	-webkit-line-clamp: unset;
	margin-top: 14px;
	font-size: 14px;
	line-height: 1.65;
	color: #555;
}

.catalog_detail--modern .top_info .more_block {
	margin-top: 8px;
	color: #e85c0d;
	font-weight: 500;
}

.catalog_detail--modern .middle_info .prices_block {
	padding: 20px 0 16px !important;
	border-top: 1px solid #f0f0f0;
}

.catalog_detail--modern .middle_info .prices_block .cost.prices:not(:has(.price .values_wrapper, .price_matrix_block, .price_value_block .values_wrapper)) {
	display: none;
	margin: 0;
	padding: 0;
}

.catalog_detail--modern .middle_info .prices_block .kp_button_block {
	display: block !important;
	margin: 0 0 14px !important;
	width: 100%;
	text-align: left;
}

.catalog_detail--modern .middle_info .prices_block .kp_button_block .get-kp-btn {
	display: inline-block !important;
	min-width: 220px;
	max-width: 300px;
	width: 100%;
	padding: 14px 28px !important;
	border-radius: 8px;
	font-size: 15px !important;
	font-weight: 600;
	line-height: 1.2 !important;
	text-align: center;
	box-sizing: border-box;
}

.catalog_detail--modern .cheaper_form {
	display: block;
	margin: 0 0 10px;
	font-size: 13px;
}

.catalog_detail--modern .element_detail_text {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 14px;
	padding: 0 0 24px;
	float: none;
	width: 100%;
}

.catalog_detail--modern .element_detail_text .sh {
	float: none;
	width: auto;
}

.catalog_detail .element_detail_text .price_txt {
	display: none !important;
}

.catalog_detail--modern .share_wrapp .text.button {
	border-radius: 8px;
	border-color: #ddd;
	padding: 8px 14px 8px 34px;
}

.catalog_detail--modern .tabs_section {
	margin-top: 12px;
}

.catalog_detail--modern .tabs_section .tabs-head {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	margin: 0;
	padding: 0;
	border-bottom: 2px solid #f0f0f0;
	list-style: none;
}

.catalog_detail--modern .tabs_section .tabs-head li {
	margin: 0 !important;
	border: none !important;
	background: transparent !important;
}

.catalog_detail--modern .tabs_section .tabs-head li span {
	display: block;
	padding: 14px 22px;
	font-size: 15px;
	font-weight: 500;
	color: #666;
	border-bottom: 2px solid transparent;
	margin-bottom: -2px;
	transition: color 0.15s ease, border-color 0.15s ease;
}

.catalog_detail--modern .tabs_section .tabs-head li.current span,
.catalog_detail--modern .tabs_section .tabs-head li:hover span {
	color: #e85c0d;
	border-bottom-color: #e85c0d;
}

.catalog_detail--modern .tabs_section .tabs_content {
	padding: 28px 4px;
}

.catalog_detail--modern .tabs_section .tabs_content .detail_text,
.catalog_detail--modern .tabs_section .tabs_content .descr_div,
.catalog_detail--modern .tabs_section .tabs_content .form_result {
	font-size: 15px;
	line-height: 1.7;
	color: #444;
}

.catalog_detail--modern .tabs_section > .drag_block {
	border-top-color: #f0f0f0;
	padding-top: 28px;
}

.catalog_detail--modern .props_list td {
	background-image: none;
	padding: 6px 0;
	vertical-align: top;
}

.catalog_detail--modern .props_list td.char_name span {
	padding-right: 12px;
	color: #888;
}

.catalog_detail--modern .props_list td.char_value span {
	padding-left: 0;
	color: #222;
	font-weight: 500;
}

/* ===== Плитка каталога ===== */
.catalog_block .catalog_item_wrapp .catalog_item {
	border-radius: 10px;
	overflow: hidden;
	border-color: #ebebeb !important;
	transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.catalog_block .catalog_item_wrapp:hover .catalog_item {
	border-color: #fff !important;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}

.catalog_block .catalog_item .image_wrapper_block,
.catalog_block .catalog_item .image {
	background: #fafafa;
}

.catalog_block .catalog_item .item_info .item-title a {
	font-size: 14px;
	line-height: 1.4;
}

.catalog_block .catalog_item .item_info .kp_button_block .get-kp-btn {
	border-radius: 6px;
}

/* ===== Каталог: список и плитка как у подборок ===== */
.catalog-products-list {
	margin-top: 0;
	padding: 0;
	border: 1px solid #e6e6e6;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.catalog-products-list .catalog-product-row {
	width: 100%;
	margin: 0;
	padding: 14px 18px;
	border-bottom: 1px solid #f2f2f2;
	transition: background-color 0.15s ease;
	box-sizing: border-box;
}

.catalog-products-list .catalog-product-row:last-child {
	border-bottom: none;
}

.catalog-products-list .catalog-product-row:hover {
	background: #fafafa;
}

.catalog-products-list .list_item,
.catalog-products-list .list_item tbody {
	display: block !important;
	width: 100%;
	min-height: 0 !important;
	white-space: normal;
}

.catalog-products-list .list_item tr.adaptive_name {
	display: none !important;
}

.catalog-products-list .list_item > tr:not(.adaptive_name) {
	display: flex !important;
	flex-wrap: nowrap;
	align-items: flex-start;
	gap: 16px 20px;
	width: 100%;
}

.catalog-products-list .list_item td {
	display: block !important;
	padding: 0 !important;
	border: none !important;
	vertical-align: top !important;
	position: static !important;
	float: none !important;
	box-sizing: border-box;
}

.catalog-products-list .catalog-product-row__image-cell {
	flex: 0 0 72px;
	width: 72px;
	max-width: 72px;
}

.catalog-products-list .catalog-product-row__image {
	width: 72px;
	height: 72px;
	min-height: 0 !important;
	padding: 0 !important;
	border: 1px solid #f0f0f0;
	border-radius: 8px;
	background: #fff;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
}

.catalog-products-list .catalog-product-row__image .thumb,
.catalog-products-list .catalog-product-row__image .image {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	margin: 0;
}

.catalog-products-list .catalog-product-row__image img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.catalog-products-list .catalog-product-row__info-cell {
	flex: 1 1 0;
	min-width: 0;
	width: auto !important;
	max-width: none !important;
}

.catalog-products-list .catalog-product-row__info {
	padding: 0 !important;
	min-width: 0;
}

.catalog-products-list .item-title {
	margin: 0 0 4px;
	min-width: 0;
}

.catalog-products-list .catalog-product-row__name {
	display: block;
	overflow: hidden;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.4;
	color: #222 !important;
	text-decoration: none;
}

.catalog-products-list .catalog-product-row__name span {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	color: inherit !important;
}

.catalog-products-list .catalog-product-row__name:hover,
.catalog-products-list .catalog-product-row__name:hover span {
	color: #e85c0d !important;
}

.catalog-products-list .catalog-product-row__meta,
.catalog-products-list .article_block {
	margin-top: 4px;
	font-size: 12px;
	line-height: 1.3;
	color: #999;
}

.catalog-products-list .preview_text {
	display: none;
}

.catalog-products-list .props_list_wrapp {
	margin-top: 8px;
}

.catalog-products-list .show_props {
	margin-top: 6px;
	font-size: 13px;
}

.catalog-products-list .like_icons {
	position: static;
	margin-top: 10px;
}

.catalog-products-list .catalog-product-row__price-cell {
	flex: 0 0 150px;
	width: 150px;
	max-width: 150px;
	min-width: 120px;
}

.catalog-products-list .catalog-product-row__price {
	margin: 0;
	text-align: right;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	color: #222;
}

.catalog-products-list .catalog-product-row__price .measure {
	font-size: 12px;
	font-weight: 400;
	color: #888;
}

.catalog-products-list .information_wrapp .information {
	padding: 0 !important;
}

.catalog-products-list .information .counter_wrapp,
.catalog-products-list .information .offer_buy_block {
	margin-top: 10px;
}

.with_fast_view .catalog-products-list .catalog-product-row__image-cell {
	padding-bottom: 0 !important;
}

.catalog-products-list .catalog-product-row__action {
	flex: 0 0 130px;
	width: 130px;
	max-width: 130px;
	text-align: right;
}

.catalog-products-list .catalog-product-row__action .kp_button_block {
	margin: 0 !important;
	text-align: right;
}

.catalog-products-list .catalog-product-row__action .button.small {
	padding: 8px 14px;
	font-size: 12px;
	line-height: 1.2;
	white-space: nowrap;
}

.catalog-products-list .fast_view_block {
	font-size: 11px;
}

.display_list.catalog-products-list .list_item td.image_block {
	width: 72px !important;
	min-height: 0 !important;
}

.display_list.catalog-products-list .list_item td.description_wrapp {
	width: auto !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.display_list.catalog-products-list .list_item td.information_wrapp {
	width: 150px !important;
	min-width: 120px !important;
	max-width: 150px !important;
	padding: 0 !important;
}

.display_list.catalog-products-list .description_wrapp .description {
	padding: 0 !important;
}

.display_list.catalog-products-list .information_wrapp .information {
	padding: 0 !important;
}

.display_list.catalog-products-list .description_wrapp .like_icons {
	position: static;
	margin-top: 8px;
}

.catalog_block .catalog-product-card {
	display: flex;
	flex-direction: column;
	min-height: 100%;
	border: 1px solid #e8e8e8 !important;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.catalog_block .catalog-product-card:hover,
.catalog_block .catalog_item_wrapp:hover .catalog-product-card {
	border-color: #f0f0f0 !important;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
	transform: translateY(-2px);
}

.catalog_block .catalog-product-card .catalog-product-card__image {
	height: 150px;
	padding: 12px;
	background: #fafafa;
	border-bottom: 1px solid #f2f2f2;
	display: flex;
	align-items: center;
	justify-content: center;
}

.catalog_block .catalog-product-card .catalog-product-card__image .wrapper_fw,
.catalog_block .catalog-product-card .catalog-product-card__image .thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.catalog_block .catalog-product-card .catalog-product-card__image img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.catalog_block .catalog-product-card .catalog-product-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 12px 14px 14px !important;
	text-align: left !important;
}

.catalog_block .catalog-product-card .catalog-product-card__name,
.catalog_block .catalog-product-card .catalog-product-card__name span {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
	color: #222 !important;
	text-decoration: none;
}

.catalog_block .catalog-product-card .catalog-product-card__name:hover,
.catalog_block .catalog-product-card .catalog-product-card__name:hover span {
	color: #e85c0d !important;
}

.catalog_block .catalog-product-card .catalog-product-card__meta,
.catalog_block .catalog-product-card .article_block {
	margin-top: 6px;
	font-size: 11px;
	line-height: 1.3;
	color: #999;
	text-align: left;
}

.catalog_block .catalog-product-card .cost.prices {
	flex: 0 0 auto;
	margin-top: 8px;
	text-align: left;
	font-size: 14px;
	font-weight: 600;
}

.catalog_block .catalog-product-card .catalog-product-card__action {
	margin-top: auto;
	padding-top: 12px;
}

.catalog_block .catalog-product-card .catalog-product-card__action .kp_button_block {
	margin: 0 !important;
	text-align: center;
}

.catalog_block .catalog-product-card .catalog-product-card__action .get-kp-btn {
	display: block !important;
	width: 100%;
	box-sizing: border-box;
	border-radius: 6px;
}

.catalog_block .catalog-product-card .footer_button {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid #f2f2f2;
}

@media (max-width: 991px) {
	.catalog-products-list .list_item > tr:not(.adaptive_name) {
		flex-wrap: wrap;
		gap: 10px 14px;
	}

	.catalog-products-list .catalog-product-row__image-cell {
		flex: 0 0 64px;
		width: 64px;
		max-width: 64px;
	}

	.catalog-products-list .catalog-product-row__image {
		width: 64px;
		height: 64px;
	}

	.catalog-products-list .catalog-product-row__info-cell {
		flex: 1 1 calc(100% - 78px);
	}

	.catalog-products-list .catalog-product-row__price-cell {
		flex: 1 1 auto;
		width: auto;
		max-width: none;
		min-width: 0;
		order: 3;
	}

	.catalog-products-list .catalog-product-row__price {
		text-align: left;
	}

	.catalog-products-list .catalog-product-row__action {
		flex: 0 0 auto;
		width: auto;
		max-width: none;
		order: 4;
		text-align: left;
	}

	.catalog-products-list .catalog-product-row__action .kp_button_block {
		text-align: left;
	}
}

@media (max-width: 575px) {
	.catalog_block .catalog-product-card .catalog-product-card__image {
		height: 120px;
	}
}

/* Липкая кнопка КП на мобильных */
.kp-sticky-bar {
	display: none;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1000;
	padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
	background: rgba(255, 255, 255, 0.98);
	box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
	border-top: 1px solid #eee;
}

.kp-sticky-bar .get-kp-btn {
	display: block !important;
	width: 100%;
	max-width: none;
	padding: 14px 20px !important;
	border-radius: 8px;
	font-size: 15px !important;
	font-weight: 600;
	text-align: center;
	box-sizing: border-box;
}

@media (max-width: 991px) {
	.kp-sticky-bar.kp-sticky-bar--visible {
		display: block;
	}

	body.detail_page {
		padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
	}
}

/* ===== Страница подборок /collections/ ===== */
.collections-page {
	scroll-behavior: smooth;
}

.collections-page .collection-section,
.collections-page .collection-category {
	scroll-margin-top: 88px;
}

.collections-page-nav {
	margin: 0 0 32px;
	padding: 18px 20px;
	border: 1px solid #e6e6e6;
	border-radius: 10px;
	background: #fafafa;
}

.collections-page-nav__title {
	margin: 0 0 12px;
	font-size: 16px;
	font-weight: 600;
	color: #222;
}

.collections-page-nav__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.collections-page-nav__list li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.collections-page-nav__list li::before {
	display: none !important;
	content: none !important;
}

.collections-page-nav__list a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: 8px;
	background: #fff;
	border: 1px solid #e8e8e8;
	color: #333 !important;
	text-decoration: none;
	font-size: 14px;
	transition: border-color 0.15s ease, color 0.15s ease;
}

.collections-page-nav__list a:hover {
	border-color: #e85c0d;
	color: #e85c0d !important;
}

.collections-page-nav__count {
	font-size: 12px;
	color: #888;
}

.collections-page .collection-category {
	margin: 28px 0 36px;
}

.collections-page .collection-category__title h3 {
	margin: 0 0 14px;
	padding-bottom: 10px;
	font-size: 18px;
	font-weight: 600;
	text-transform: none;
	border-bottom: 2px solid #f0f0f0;
}

.collection-category__count {
	font-size: 14px;
	font-weight: 400;
	color: #888;
}

.collections-page .collection-section > .section-title h2 {
	margin-bottom: 24px;
}

.collections-page .collection-category .catalog-section {
	margin: 0;
}

.collections-page .collections-products-list {
	display: flex;
	flex-direction: column;
	border: 1px solid #e6e6e6;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.collections-page .collections-product-row {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr) 120px auto;
	gap: 16px 20px;
	align-items: center;
	padding: 14px 18px;
	border-bottom: 1px solid #f2f2f2;
	transition: background-color 0.15s ease;
}

.collections-page .collections-product-row:last-child {
	border-bottom: none;
}

.collections-page .collections-product-row:hover {
	background: #fafafa;
}

.collections-page .collections-product-row__image {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	flex-shrink: 0;
	background: #fff;
	border: 1px solid #f0f0f0;
	border-radius: 8px;
	overflow: hidden;
}

.collections-page .collections-product-row__image img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.collections-page .collections-product-row__info {
	min-width: 0;
}

.collections-page .collections-product-row__name {
	display: block;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.4;
	color: #222 !important;
	text-decoration: none;
	transition: color 0.15s ease;
}

.collections-page .collections-product-row__name:hover {
	color: #e85c0d !important;
}

.collections-page .collections-product-row__meta {
	margin-top: 4px;
	font-size: 12px;
	line-height: 1.3;
	color: #999;
}

.collections-page .collections-product-row__price {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	color: #222;
	text-align: right;
	white-space: nowrap;
}

.collections-page .collections-product-row__price .measure {
	font-size: 12px;
	font-weight: 400;
	color: #888;
}

.collections-page .collections-product-row__action {
	flex-shrink: 0;
}

.collections-page .collections-product-row__action .kp_button_block {
	margin: 0;
}

.collections-page .collections-product-row__action .button.small {
	padding: 8px 14px;
	font-size: 12px;
	line-height: 1.2;
	white-space: nowrap;
}

.collections-products-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
	gap: 16px;
}

.collections-product-card {
	display: flex;
	flex-direction: column;
	min-height: 100%;
	border: 1px solid #e8e8e8;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.collections-product-card:hover {
	border-color: #f0f0f0;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
	transform: translateY(-2px);
}

.collections-product-card__image {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 150px;
	padding: 12px;
	background: #fafafa;
	border-bottom: 1px solid #f2f2f2;
}

.collections-product-card__image img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.collections-product-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 12px 14px 14px;
}

.collections-product-card__name {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
	color: #222 !important;
	text-decoration: none;
}

.collections-product-card__name:hover {
	color: #e85c0d !important;
}

.collections-product-card__meta {
	margin-top: 6px;
	font-size: 11px;
	line-height: 1.3;
	color: #999;
}

.collections-product-card__action {
	margin-top: auto;
	padding-top: 12px;
}

.collections-product-card__action .kp_button_block {
	margin: 0 !important;
	text-align: center;
}

.collections-product-card__action .get-kp-btn {
	display: block !important;
	width: 100%;
	box-sizing: border-box;
	border-radius: 6px;
}

@media (max-width: 991px) {
	.collections-page .collections-product-row {
		grid-template-columns: 64px minmax(0, 1fr);
		grid-template-rows: auto auto;
		gap: 10px 14px;
	}

	.collections-page .collections-product-row__image {
		width: 64px;
		height: 64px;
		grid-row: 1 / 3;
	}

	.collections-page .collections-product-row__price {
		grid-column: 2;
		text-align: left;
	}

	.collections-page .collections-product-row__action {
		grid-column: 2;
		justify-self: start;
	}
}

@media (max-width: 575px) {
	.collections-products-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.collections-product-card__image {
		height: 120px;
	}
}

/* Блок «Из этой подборки» */
.product-podborka-related {
	margin: 32px auto 40px;
}

.product-podborka-related .catalog-section {
	margin: 0;
	padding: 0;
	border: none;
	background: transparent;
}

.product-podborka-related .collections-product-card__name {
	color: #222 !important;
}

.product-podborka-related__section {
	margin-bottom: 24px;
	padding: 20px;
	border: 1px solid #e6e6e6;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.product-podborka-related .collections-products-cards {
	margin-top: 4px;
}

.product-podborka-related__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 14px;
}

.product-podborka-related__title {
	margin: 0;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.3;
}

.product-podborka-related__link {
	font-size: 14px;
	font-weight: 500;
	color: #e85c0d;
	text-decoration: none;
}

.product-podborka-related__link:hover {
	text-decoration: underline;
}

/* Быстрый просмотр — те же стили, что у карточки */
#fast_view_item .catalog_detail--modern .item_main_info,
.fast_view_frame .catalog_detail--modern .item_main_info {
	border: 1px solid #e6e6e6;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
}

#fast_view_item .catalog_detail--modern .top_info .article,
#fast_view_item .catalog_detail--modern .top_info .brand,
.fast_view_frame .catalog_detail--modern .top_info .article,
.fast_view_frame .catalog_detail--modern .top_info .brand {
	display: inline-flex;
	align-items: center;
	float: none;
	padding: 7px 12px;
	border-radius: 8px;
	background: #f5f5f5;
}

#fast_view_item .catalog_detail--modern .middle_info .prices_block .kp_button_block .get-kp-btn,
.fast_view_frame .catalog_detail--modern .middle_info .prices_block .kp_button_block .get-kp-btn {
	border-radius: 8px;
	font-weight: 600;
}

#fast_view_item .catalog_detail--modern .element_detail_text .price_txt,
.fast_view_frame .catalog_detail--modern .element_detail_text .price_txt {
	display: none !important;
}

@media (max-width: 991px) {
	body:has(.catalog_detail--modern) h1 {
		font-size: 22px;
	}

	.catalog_detail--modern .item_main_info .item_slider {
		padding: 20px 16px;
	}

	.catalog_detail--modern .right_info .info_item {
		padding: 20px 16px 8px;
	}

	.catalog_detail--modern .middle_info .prices_block .kp_button_block .get-kp-btn {
		max-width: none;
	}

	.catalog_detail--modern .tabs_section .tabs-head li span {
		padding: 12px 14px;
		font-size: 14px;
	}
}

/* ===== Главная: верхний слайдер-баннер ===== */
.top-banner-showcase {
	margin: 0 0 36px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.wrapper_inner.front .top-banner-showcase--home {
	position: relative;
	margin: 40px 0 44px;
	padding: 36px 20px 28px;
	background: #f2f3f6;
	border: 1px solid #dde1e7;
	border-radius: 16px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
	overflow: hidden;
	clear: both;
}

.wrapper_inner.front .top-banner-showcase--home::before {
	display: none;
}

.wrapper_inner.front .top-banner-showcase--home::after {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 96px;
	height: 4px;
	transform: translateX(-50%);
	border-radius: 0 0 6px 6px;
	background: var(--theme-base-color, #e63333);
	pointer-events: none;
	z-index: 2;
}

.wrapper_inner.front .top-banner-showcase--home .top_slider_wrapp {
	position: relative;
	z-index: 1;
	margin: 0;
}

.wrapper_inner.front .top-banner-showcase--home .flexslider {
	margin: 0;
	border: none;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(29, 32, 41, 0.04);
}

.wrapper_inner.front .top-banner-showcase--home .flexslider .slides > li {
	border-radius: 12px;
	overflow: hidden;
}

.wrapper_inner.front .top-banner-showcase--home .flexslider .slides > li::after {
	display: none !important;
}

.wrapper_inner.front .top-banner-showcase--home .flex-control-nav {
	bottom: 14px;
}

.wrapper_inner.front .top-banner-showcase--home .flex-direction-nav li:first-child {
	left: 12px;
}

.wrapper_inner.front .top-banner-showcase--home .flex-direction-nav li {
	right: 12px;
}

@media (max-width: 767px) {
	.wrapper_inner.front .top-banner-showcase--home {
		margin: 28px 0 32px;
		padding: 28px 14px 22px;
		border-radius: 12px;
	}

	.wrapper_inner.front .top-banner-showcase--home .flexslider,
	.wrapper_inner.front .top-banner-showcase--home .flexslider .slides > li {
		border-radius: 10px;
	}
}

/* ===== Главная: тизеры — отдельные карточки с подложкой ===== */
.tizers-showcase {
	margin: 0 0 36px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.wrapper_inner.front .tizers-showcase--home {
	margin: 40px 0 44px;
	clear: both;
}

.wrapper_inner.front .tizers-showcase__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin: 0 !important;
	padding: 0;
	text-align: left;
	font-size: 14px;
}

.wrapper_inner.front .tizers-showcase__card {
	position: relative;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	gap: 14px;
	width: auto !important;
	min-height: 100%;
	margin: 0 !important;
	padding: 18px 16px;
	white-space: normal !important;
	box-sizing: border-box;
	background: #f2f3f6;
	border: 1px solid #dde1e7;
	border-radius: 16px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.wrapper_inner.front .tizers-showcase__card::after {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 56px;
	height: 3px;
	transform: translateX(-50%);
	border-radius: 0 0 6px 6px;
	background: var(--theme-base-color, #e63333);
	pointer-events: none;
}

.wrapper_inner.front .tizers-showcase__card:hover {
	transform: translateY(-3px);
	border-color: #d2d7df;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.95),
		0 12px 28px rgba(29, 32, 41, 0.08);
}

.wrapper_inner.front .tizers-showcase__link {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 14px;
	width: 100%;
	height: 100%;
	color: inherit;
	text-decoration: none !important;
}

.wrapper_inner.front .tizers-showcase__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 52px;
	width: 52px;
	height: 52px;
	margin: 0 !important;
	padding: 10px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.82);
	border: 1px solid rgba(255, 255, 255, 0.95);
	box-shadow: 0 6px 16px rgba(29, 32, 41, 0.05);
	box-sizing: border-box;
}

.wrapper_inner.front .tizers-showcase__icon img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
}

.wrapper_inner.front .tizers-showcase__title,
.wrapper_inner.front .tizers-showcase__card .title {
	flex: 1 1 auto;
	min-width: 0;
	width: auto !important;
	margin: 0 !important;
	font-size: 13px;
	line-height: 1.4;
	font-weight: 500;
	color: #1d2029;
	text-align: left;
	white-space: normal;
}

.wrapper_inner.front .tizers-showcase__card .tizers-showcase__link:hover .tizers-showcase__title {
	color: var(--theme-base-color, #e63333);
}

@media (max-width: 991px) {
	.wrapper_inner.front .tizers-showcase__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 575px) {
	.wrapper_inner.front .tizers-showcase--home {
		margin: 28px 0 32px;
	}

	.wrapper_inner.front .tizers-showcase__grid {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.wrapper_inner.front .tizers-showcase__card {
		border-radius: 12px;
	}
}

/* ===== Главная: баннер и подборки — подложка как у «Статьи» ===== */
.wrapper_inner.front .start_promo {
	position: relative;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	margin: 40px 0 44px;
	padding: 36px 20px 28px;
	background: #f2f3f6;
	border: 1px solid #dde1e7;
	border-radius: 16px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
	clear: both;
	overflow: hidden;
	--promo-gap: 10px;
}

.wrapper_inner.front .start_promo::after {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 96px;
	height: 4px;
	transform: translateX(-50%);
	border-radius: 0 0 6px 6px;
	background: var(--theme-base-color, #e63333);
	pointer-events: none;
}

.wrapper_inner.front .start_promo .item {
	border: none !important;
	border-radius: 12px;
	margin: calc(var(--promo-gap) / 2);
	box-sizing: border-box;
	width: calc(25% - var(--promo-gap)) !important;
	padding-bottom: calc(22% - var(--promo-gap)) !important;
}

.wrapper_inner.front .start_promo .item.wide50 {
	width: calc(50% - var(--promo-gap)) !important;
}

.wrapper_inner.front .start_promo .item.wide100 {
	width: calc(100% - var(--promo-gap)) !important;
	border-radius: 16px;
}

@media (max-width: 991px) {
	.wrapper_inner.front .start_promo .item,
	.wrapper_inner.front .start_promo .item.wide50 {
		width: calc(33.333% - var(--promo-gap)) !important;
	}
}

@media (max-width: 767px) {
	.wrapper_inner.front .start_promo {
		margin: 28px 0 32px;
		padding: 28px 14px 22px;
		border-radius: 12px;
		--promo-gap: 8px;
	}

	.wrapper_inner.front .start_promo .item,
	.wrapper_inner.front .start_promo .item.wide50 {
		width: calc(50% - var(--promo-gap)) !important;
		padding-bottom: calc(45% - var(--promo-gap)) !important;
	}

	.wrapper_inner.front .start_promo .item.wide100 {
		width: calc(100% - var(--promo-gap)) !important;
	}
}

/* ===== Главная: блок «О компании» ===== */
.company-showcase {
	margin: 0 0 36px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.company-showcase--home {
	position: relative;
	margin: 40px 0 44px;
	padding: 32px 28px;
	background: #f2f3f6;
	border: 1px solid #dde1e7;
	border-radius: 16px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
	overflow: hidden;
	clear: both;
}

.company-showcase--home::before {
	display: none;
}

.company-showcase--home::after {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 96px;
	height: 4px;
	transform: translateX(-50%);
	border-radius: 0 0 6px 6px;
	background: var(--theme-base-color, #e63333);
	pointer-events: none;
}

.company-showcase__inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	margin: 0 !important;
	font-size: 13px;
}

.company-showcase__media {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 25%;
	max-width: 25%;
	width: 25% !important;
	padding: 0;
	background: transparent;
	border: none;
	box-shadow: none;
}

.company-showcase__media img {
	display: block;
	max-width: 100%;
	height: auto;
}

.company-showcase__body.big {
	flex: 1 1 75%;
	max-width: 75%;
	width: 75% !important;
	padding: 0 0 0 28px !important;
	color: #636363;
}

.company-showcase__body .title_block {
	display: block;
	margin: 0 0 10px;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.3;
	color: #1d2029;
}

.company-showcase__body p {
	margin: 0 0 12px;
	font-size: 14px;
	line-height: 1.6;
	color: #636363;
}

.company-showcase__body p:empty {
	display: none;
	margin: 0;
}

.company-showcase__body p:last-of-type {
	margin-bottom: 16px;
}

.company-showcase__body .button.transparent,
.company-showcase__body a.button.transparent {
	display: inline-block;
	margin-top: 0;
	padding: 10px 18px;
	border-radius: 6px;
	border: 1px solid var(--theme-base-color, #e63333);
	background: transparent;
	color: var(--theme-base-color, #e63333) !important;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none !important;
	box-shadow: none;
	transition: background 0.2s ease, color 0.2s ease;
}

.company-showcase__body .button.transparent:hover,
.company-showcase__body a.button.transparent:hover {
	background: var(--theme-base-color, #e63333);
	color: #fff !important;
}

@media (max-width: 767px) {
	.company-showcase--home {
		margin: 28px 0 32px;
		padding: 24px 18px;
		border-radius: 12px;
	}

	.company-showcase__inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 18px;
	}

	.company-showcase__media,
	.company-showcase__body.big {
		flex: none;
		width: 100% !important;
		max-width: 100%;
	}

	.company-showcase__body.big {
		padding: 0 !important;
	}

	.company-showcase__body .title_block {
		font-size: 18px;
	}
}

/* ===== Блок статей на главной ===== */
.articles-showcase {
	margin: 0 0 36px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.wrapper_inner.front .start_promo + .articles-showcase--home {
	margin-top: 32px;
}

.articles-showcase--home {
	position: relative;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	margin: 40px 0 44px;
	padding: 36px 20px 28px;
	background: #f2f3f6;
	border: 1px solid #dde1e7;
	border-radius: 16px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
	clear: both;
	overflow: hidden;
}

.articles-showcase--home::before {
	display: none;
}

.articles-showcase--home::after {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 96px;
	height: 4px;
	transform: translateX(-50%);
	border-radius: 0 0 6px 6px;
	background: var(--theme-base-color, #e63333);
	pointer-events: none;
}

.articles-showcase--home > .articles-showcase__head,
.articles-showcase--home > .articles-showcase__grid,
.articles-showcase--home > .articles-showcase__grid--magazine {
	position: relative;
}

.articles-showcase--home .articles-showcase__head {
	padding-top: 4px;
	padding-bottom: 20px;
	margin-bottom: 4px;
	border-bottom: 1px solid #dde1e7;
}

.articles-showcase--home .articles-showcase__head .title_block {
	font-size: 22px;
	font-weight: 600;
	letter-spacing: -0.02em;
}

.articles-showcase--home .articles-showcase__all {
	font-size: 14px;
	font-weight: 600;
}

@media (max-width: 767px) {
	.articles-showcase--home {
		margin: 28px 0 32px;
		padding: 28px 14px 22px;
		border-radius: 12px;
	}

	.articles-showcase--home .articles-showcase__head {
		padding-bottom: 16px;
	}

	.articles-showcase--home .articles-showcase__head .title_block {
		font-size: 20px;
	}
}

.articles-showcase__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 0 0 18px;
	margin: 0;
	font-size: 14px;
}

.articles-showcase__head .title_block {
	display: block;
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	font-size: 20px;
	line-height: 1.3;
}

.articles-showcase__all {
	flex: 0 0 auto;
	margin-left: auto;
	font-size: 13px;
	font-weight: 500;
	text-decoration: none !important;
	white-space: nowrap;
}

.articles-showcase__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: auto;
	align-items: start;
	gap: 20px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.articles-showcase__grid--uniform {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.articles-showcase__grid--magazine {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 16px;
	align-items: stretch;
}

.articles-showcase__side {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-rows: repeat(2, minmax(0, 1fr));
	gap: 16px;
	align-items: stretch;
	align-self: stretch;
	min-width: 0;
	height: 100%;
}

.articles-showcase__card--main {
	display: flex;
	height: 100%;
	min-height: 0;
}

.articles-showcase__card--main .articles-showcase__link {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.articles-showcase__card--main .articles-showcase__media {
	flex: 0 0 auto;
	aspect-ratio: 16 / 10;
	min-height: 0;
	max-height: none;
}

.articles-showcase__card--main .articles-showcase__body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	padding: 16px 18px 18px;
	min-height: 0;
}

.articles-showcase__card--main .articles-showcase__title {
	font-size: 18px;
	line-height: 1.35;
	-webkit-line-clamp: 2;
}

.articles-showcase__card--main .articles-showcase__excerpt {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	margin: 0;
	font-size: 13px;
	line-height: 1.55;
	color: #6b7280;
}

.articles-showcase__card--main .articles-showcase__more {
	opacity: 1;
	transform: none;
	margin-top: auto;
	padding-top: 10px;
}

.articles-showcase__card--compact {
	display: flex;
	height: 100%;
	min-height: 0;
}

.articles-showcase__card--compact .articles-showcase__link {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.articles-showcase__card--compact .articles-showcase__media {
	flex: 0 0 auto;
	aspect-ratio: 16 / 10;
	max-height: none;
}

.articles-showcase__card--compact .articles-showcase__body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	padding: 10px 12px 12px;
	gap: 4px;
	min-height: 0;
}

.articles-showcase__card--compact .articles-showcase__title {
	font-size: 13px;
	line-height: 1.35;
	font-weight: 600;
	margin: 0;
	-webkit-line-clamp: 2;
}

.articles-showcase__card--compact .articles-showcase__more {
	display: none;
}

@media (max-width: 991px) {
	.articles-showcase__grid--magazine {
		grid-template-columns: 1fr;
	}

	.articles-showcase__side {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-rows: auto;
		height: auto;
	}

	.articles-showcase__card--main,
	.articles-showcase__card--compact {
		height: auto;
	}
}

@media (max-width: 575px) {
	.articles-showcase__side {
		grid-template-columns: 1fr;
	}
}

.articles-showcase__card {
	position: relative;
	min-width: 0;
	max-width: 100%;
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	border: 1px solid #e8eaee;
	box-shadow: 0 2px 8px rgba(29, 32, 41, 0.04);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.articles-showcase__card:hover {
	transform: translateY(-4px);
	border-color: rgba(0, 0, 0, 0.06);
	box-shadow: 0 14px 32px rgba(29, 32, 41, 0.12);
}

.articles-showcase__card--featured {
	grid-column: span 2;
	grid-row: span 1;
}

.articles-showcase__link {
	display: flex;
	flex-direction: column;
	height: auto;
	color: inherit;
	text-decoration: none !important;
}

.articles-showcase__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	max-height: 180px;
	background: #f3f4f6;
}

.articles-showcase__card--featured .articles-showcase__media {
	aspect-ratio: 16 / 10;
	flex: none;
	min-height: 0;
}

.articles-showcase__card--featured .articles-showcase__overlay {
	opacity: 0;
}

.articles-showcase__card--featured:hover .articles-showcase__overlay {
	opacity: 1;
}

.articles-showcase__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s ease;
}

.articles-showcase__image--placeholder {
	object-fit: contain;
	padding: 24px;
	box-sizing: border-box;
	background: #f7f7f9;
}

.articles-showcase__card:hover .articles-showcase__image {
	transform: scale(1.06);
}

.articles-showcase__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(17, 24, 39, 0) 35%, rgba(17, 24, 39, 0.55) 100%);
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
}

.articles-showcase__card--featured .articles-showcase__overlay {
	opacity: 0;
}

.articles-showcase__card--featured:hover .articles-showcase__overlay {
	opacity: 1;
}

.articles-showcase__card:hover .articles-showcase__overlay {
	opacity: 1;
}

.articles-showcase__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 14px 16px 16px;
}

.articles-showcase__title {
	margin: 0;
	font-size: 14px;
	line-height: 1.4;
	font-weight: 500;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	transition: color 0.2s ease;
}

.articles-showcase__card--featured .articles-showcase__body {
	position: static;
	padding: 18px 20px 20px;
	color: inherit;
	background: #fff;
}

.articles-showcase__card--featured .articles-showcase__date {
	color: #8b8f98;
}

.articles-showcase__card--featured .articles-showcase__title {
	font-size: 18px;
	line-height: 1.35;
	color: inherit !important;
}

.articles-showcase__card--featured .articles-showcase__excerpt {
	color: #6b7280;
	-webkit-line-clamp: 2;
}

.articles-showcase__card--featured .articles-showcase__more {
	color: inherit;
}

.articles-showcase__excerpt {
	margin: 0;
	font-size: 13px;
	line-height: 1.55;
	color: #6b7280;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}

.articles-showcase__date {
	font-size: 12px;
	line-height: 1.3;
	color: #8b8f98;
}

.articles-showcase__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 4px;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	opacity: 0;
	transform: translateY(4px);
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.articles-showcase__more::after {
	content: "→";
	font-size: 14px;
	line-height: 1;
}

.articles-showcase__card:hover .articles-showcase__more {
	opacity: 1;
	transform: translateY(0);
}

.articles-showcase__card--featured .articles-showcase__more {
	opacity: 1;
	transform: none;
}

.articles-showcase--promo .articles-showcase__card--featured {
	grid-column: auto;
	grid-row: auto;
}

.articles-showcase--promo .articles-showcase__card--featured .articles-showcase__media {
	aspect-ratio: 16 / 10;
	min-height: 0;
	flex: none;
}

.articles-showcase--promo .articles-showcase__card--featured .articles-showcase__body {
	position: static;
	color: inherit;
	background: none;
}

.articles-showcase--promo .articles-showcase__card--featured .articles-showcase__date {
	color: #8b8f98;
}

.articles-showcase--promo .articles-showcase__card--featured .articles-showcase__title {
	font-size: 15px;
	color: inherit !important;
}

.articles-showcase--promo .articles-showcase__card--featured .articles-showcase__overlay {
	opacity: 0;
}

.articles-showcase--promo .articles-showcase__card--featured .articles-showcase__more {
	opacity: 0;
	color: inherit;
}

.articles-showcase--promo .articles-showcase__card:hover .articles-showcase__more {
	opacity: 1;
}

@media (max-width: 991px) {
	.articles-showcase__grid,
	.articles-showcase__grid--uniform {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.articles-showcase__card--featured {
		grid-column: span 2;
		grid-row: span 1;
	}
}

@media (max-width: 575px) {
	.articles-showcase__head {
		flex-direction: column;
		align-items: flex-start;
	}

	.articles-showcase__grid,
	.articles-showcase__grid--uniform {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.articles-showcase__card--featured {
		grid-column: auto;
	}

	.articles-showcase__card--featured .articles-showcase__body {
		position: static;
		color: inherit;
		background: none;
	}

	.articles-showcase__card--featured .articles-showcase__date,
	.articles-showcase__card--featured .articles-showcase__title,
	.articles-showcase__card--featured .articles-showcase__excerpt,
	.articles-showcase__card--featured .articles-showcase__more {
		color: inherit !important;
	}

	.articles-showcase__card--featured .articles-showcase__date {
		color: #8b8f98 !important;
	}

	.articles-showcase__card--featured .articles-showcase__overlay {
		opacity: 0;
	}

	.articles-showcase__more {
		opacity: 1;
		transform: none;
	}
}

/* ===== Список статей (раздел) — карточки вместо простой сетки ===== */
.articles-list.articles-list--cards.vertical .item {
	width: 25%;
	margin-bottom: 24px;
	padding: 0 12px;
	box-sizing: border-box;
	vertical-align: top;
}

.articles-list.articles-list--cards.vertical .item_block.item {
	padding: 0;
}

.articles-list.articles-list--cards.vertical .wrapper_inner_block {
	display: flex;
	flex-direction: column;
	height: 100%;
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	border: 1px solid #e8eaee;
	box-shadow: 0 2px 8px rgba(29, 32, 41, 0.04);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.articles-list.articles-list--cards.vertical .item:hover .wrapper_inner_block {
	transform: translateY(-4px);
	box-shadow: 0 14px 32px rgba(29, 32, 41, 0.12);
}

.articles-list.articles-list--cards.vertical .item .left-data {
	float: none;
	width: 100%;
	max-width: none;
	margin: 0;
}

.articles-list.articles-list--cards.vertical .item .left-data a {
	display: block;
	height: auto !important;
	line-height: 0 !important;
	margin: 0 !important;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.articles-list.articles-list--cards.vertical .item .left-data img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	max-width: none;
	max-height: none;
	transition: transform 0.45s ease;
}

.articles-list.articles-list--cards.vertical .item:hover .left-data img {
	transform: scale(1.05);
}

.articles-list.articles-list--cards.vertical .item .right-data {
	float: none;
	width: 100%;
	margin: 0;
	padding: 16px 18px 18px;
	box-sizing: border-box;
}

.articles-list.articles-list--cards.vertical .item .date_small {
	font-size: 12px;
	color: #8b8f98;
	margin-bottom: 8px;
}

.articles-list.articles-list--cards.vertical .item .item-title {
	margin-bottom: 0;
}

.articles-list.articles-list--cards.vertical .item .item-title a span {
	font-size: 15px;
	line-height: 1.45;
	font-weight: 500;
}

@media (max-width: 991px) {
	.articles-list.articles-list--cards.vertical .item {
		width: 50%;
	}
}

@media (max-width: 575px) {
	.articles-list.articles-list--cards.vertical .item {
		width: 100%;
		padding: 0 15px;
	}
}

/* ===== Раздел статей (шаблон articles) ===== */
.articles-page-wrap {
	margin: 0 0 40px;
}

.articles-page__filters {
	margin: 0 0 28px;
}

.articles-page__filters-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.articles-page__filters-item {
	margin: 0;
	padding: 0;
}

.articles-page__filters-item::before {
	display: none !important;
}

.articles-page__filter {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 8px 18px;
	border-radius: 999px;
	border: 1px solid #e3e6eb;
	background: #fff;
	font-size: 14px;
	line-height: 1.2;
	font-weight: 500;
	color: #4b5563;
	text-decoration: none !important;
	transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.articles-page__filters-item.is-active .articles-page__filter {
	border-color: transparent;
	background: var(--theme-base-color, #e63333);
	color: #fff !important;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.articles-page__filters-item:not(.is-active) .articles-page__filter:hover {
	border-color: rgba(0, 0, 0, 0.08);
	box-shadow: 0 4px 14px rgba(29, 32, 41, 0.08);
}

.articles-page__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: start;
	gap: 24px;
}

.articles-page__grid--featured {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.articles-page__card {
	min-width: 0;
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
	border: 1px solid #e8eaee;
	box-shadow: 0 2px 10px rgba(29, 32, 41, 0.04);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.articles-page__card:hover {
	transform: translateY(-4px);
	border-color: rgba(0, 0, 0, 0.06);
	box-shadow: 0 16px 36px rgba(29, 32, 41, 0.12);
}

.articles-page__grid--featured .articles-page__card--featured {
	grid-column: span 2;
	grid-row: span 1;
	min-height: 0;
}

.articles-page__grid--featured .articles-page__card--featured .articles-page__media {
	aspect-ratio: 16 / 10;
	flex: none;
	min-height: 0;
}

.articles-page__grid--featured .articles-page__card--featured .articles-page__overlay {
	opacity: 0;
}

.articles-page__grid--featured .articles-page__card--featured:hover .articles-page__overlay {
	opacity: 1;
}

.articles-page__grid--featured .articles-page__card--featured .articles-page__body {
	position: static;
	padding: 18px 20px 20px;
	color: inherit;
	background: #fff;
}

.articles-page__grid--featured .articles-page__card--featured .articles-page__date {
	color: #8b8f98;
}

.articles-page__grid--featured .articles-page__card--featured .articles-page__title {
	font-size: 20px;
	line-height: 1.3;
	color: inherit !important;
}

.articles-page__grid--featured .articles-page__card--featured .articles-page__excerpt {
	color: #6b7280;
}

.articles-page__grid--featured .articles-page__card--featured .articles-page__more {
	color: inherit;
	opacity: 1;
	transform: none;
}

.articles-page__link {
	display: flex;
	flex-direction: column;
	height: auto;
	color: inherit;
	text-decoration: none !important;
}

.articles-page__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	max-height: 200px;
	background: #f3f4f6;
}

.articles-page__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s ease;
}

.articles-page__image--placeholder {
	object-fit: contain;
	padding: 28px;
	box-sizing: border-box;
	background: #f7f7f9;
}

.articles-page__card:hover .articles-page__image {
	transform: scale(1.05);
}

.articles-page__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(17, 24, 39, 0) 40%, rgba(17, 24, 39, 0.72) 100%);
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
}

.articles-page__card:hover .articles-page__overlay {
	opacity: 1;
}

.articles-page__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	gap: 10px;
	padding: 18px 20px 20px;
}

.articles-page__date {
	font-size: 12px;
	line-height: 1.3;
	color: #8b8f98;
}

.articles-page__title {
	margin: 0;
	font-size: 17px;
	line-height: 1.45;
	font-weight: 600;
	transition: color 0.2s ease;
}

.articles-page__excerpt {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: #6b7280;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}

.articles-page__grid--featured .articles-page__card--featured .articles-page__excerpt {
	color: rgba(255, 255, 255, 0.88);
	-webkit-line-clamp: 4;
}

.articles-page__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.articles-page__more::after {
	content: "→";
	font-size: 14px;
	line-height: 1;
}

.articles-page__card:hover .articles-page__more {
	opacity: 1;
	transform: translateY(0);
}

.articles-page__grid--featured .articles-page__card--featured .articles-page__more {
	opacity: 1;
	transform: none;
}

.articles-page__pager {
	margin-top: 32px;
}

.articles-page__pager .module-pagination,
.articles-page__pager .bx-pagination {
	margin-top: 0;
}

@media (max-width: 1199px) {
	.articles-page__grid,
	.articles-page__grid--featured {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.articles-page__grid--featured .articles-page__card--featured {
		grid-column: span 2;
		grid-row: span 1;
	}

	.articles-page__grid--featured .articles-page__card--featured .articles-page__media {
		min-height: 240px;
	}
}

@media (max-width: 767px) {
	.articles-page__grid,
	.articles-page__grid--featured {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.articles-page__grid--featured .articles-page__card--featured {
		grid-column: auto;
	}

	.articles-page__grid--featured .articles-page__card--featured .articles-page__body {
		position: static;
		color: inherit;
		background: none;
	}

	.articles-page__grid--featured .articles-page__card--featured .articles-page__date {
		color: #8b8f98 !important;
	}

	.articles-page__grid--featured .articles-page__card--featured .articles-page__title {
		font-size: 20px;
		color: inherit !important;
	}

	.articles-page__grid--featured .articles-page__card--featured .articles-page__excerpt {
		color: #6b7280;
	}

	.articles-page__grid--featured .articles-page__card--featured .articles-page__overlay {
		opacity: 0;
	}

	.articles-page__grid--featured .articles-page__card--featured .articles-page__more {
		color: inherit;
	}

	.articles-page__more {
		opacity: 1;
		transform: none;
	}
}

/* ===== Детальная страница статьи ===== */
.middle:has(.article-detail) #pagetitle {
	display: none;
}

.article-detail-page {
	margin-bottom: 40px;
}

.article-detail {
	max-width: 860px;
	margin: 0 auto;
}

.article-detail__hero {
	margin-bottom: 32px;
}

.article-detail__media {
	border-radius: 16px;
	overflow: hidden;
	margin-bottom: 24px;
	background: #f3f4f6;
	border: 1px solid #e8eaee;
	box-shadow: 0 8px 28px rgba(29, 32, 41, 0.08);
}

.article-detail__media-link {
	display: block;
	line-height: 0;
}

.article-detail__image {
	display: block;
	width: 100%;
	height: auto;
	max-height: 480px;
	object-fit: cover;
}

.article-detail__intro {
	padding: 0 4px;
}

.article-detail__date {
	display: inline-block;
	margin-bottom: 12px;
	font-size: 13px;
	line-height: 1.3;
	color: #8b8f98;
}

.article-detail__title {
	margin: 0 0 16px;
	font-size: clamp(26px, 4vw, 36px);
	line-height: 1.25;
	font-weight: 700;
	color: #1d2029;
	letter-spacing: -0.02em;
}

.article-detail__lead {
	margin: 0;
	font-size: 18px;
	line-height: 1.65;
	color: #4b5563;
}

.article-detail__content {
	padding: 28px 32px;
	border-radius: 16px;
	background: #fff;
	border: 1px solid #e8eaee;
	box-shadow: 0 2px 12px rgba(29, 32, 41, 0.04);
	font-size: 16px;
	line-height: 1.75;
	color: #383838;
}

.article-detail__content p {
	margin: 0 0 16px;
}

.article-detail__content p:last-child {
	margin-bottom: 0;
}

.article-detail__content img {
	max-width: 100%;
	height: auto;
	border-radius: 10px;
}

.article-detail__content h2,
.article-detail__content h3,
.article-detail__content h4 {
	margin: 28px 0 14px;
	line-height: 1.35;
	color: #1d2029;
}

.article-detail__content ul,
.article-detail__content ol {
	margin: 0 0 16px;
	padding-left: 24px;
}

.article-detail__gallery {
	margin-top: 32px;
}

.article-detail-page .back {
	margin-top: 32px;
}

.article-detail-page .back a.back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	border-radius: 999px;
	border: 1px solid #e3e6eb;
	background: #fff;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none !important;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.article-detail-page .back a.back:hover {
	border-color: rgba(0, 0, 0, 0.08);
	box-shadow: 0 4px 14px rgba(29, 32, 41, 0.08);
}

@media (max-width: 767px) {
	.article-detail__content {
		padding: 20px 18px;
		font-size: 15px;
	}

	.article-detail__lead {
		font-size: 16px;
	}
}

/* ===== Вакансии: структурированное описание ===== */
.job-vacancy {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.job-vacancy--with-image {
	gap: 20px;
}

.job-vacancy__image-wrap {
	width: 100%;
	overflow: hidden;
	border-radius: 12px;
	border: 1px solid #e8eaee;
	background: #f5f6f8;
	line-height: 0;
}

.job-vacancy__image {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
	object-fit: contain;
	object-position: center;
	vertical-align: top;
}

.job-vacancy__content {
	display: flex;
	flex-direction: column;
	gap: 24px;
	min-width: 0;
	width: 100%;
}

.job-vacancy__meta {
	padding: 18px 20px;
	border: 1px solid #e8eaee;
	border-radius: 12px;
	background: #fafbfc;
}

.job-vacancy__meta-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px 28px;
}

.job-vacancy__meta-row + .job-vacancy__meta-row {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid #eceff3;
}

.job-vacancy__meta-label {
	margin-bottom: 4px;
	font-size: 12px;
	line-height: 1.4;
	color: #8b8f98;
}

.job-vacancy__meta-value {
	font-size: 14px;
	line-height: 1.45;
	font-weight: 600;
	color: #1d2029;
}

.job-vacancy__section-title {
	margin-bottom: 12px;
	padding-bottom: 10px;
	border-bottom: 1px solid #e8eaee;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #1d2029;
}

.job-vacancy__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.job-vacancy__tag {
	display: inline-flex;
	align-items: center;
	padding: 7px 12px;
	border-radius: 999px;
	background: #eef2f7;
	font-size: 13px;
	line-height: 1.35;
	color: #334155;
}

.job-vacancy__block + .job-vacancy__block {
	margin-top: 18px;
}

.job-vacancy__block-title {
	margin-bottom: 8px;
	font-size: 15px;
	line-height: 1.4;
	font-weight: 700;
	color: #1d2029;
}

.job-vacancy__block-text,
.job-vacancy__description--legacy .description {
	font-size: 14px;
	line-height: 1.65;
	color: #4b5563;
}

.job-vacancy__block-text p,
.job-vacancy__description--legacy .description p {
	margin: 0 0 10px;
}

.job-vacancy__block-text ul,
.job-vacancy__description--legacy .description ul {
	margin: 0 0 10px;
	padding-left: 18px;
}

.job-vacancy__empty {
	font-size: 14px;
	line-height: 1.5;
	color: #8b8f98;
}

.jobs_wrapp .item .description_wrapp .job-vacancy {
	margin-bottom: 8px;
}

@media (max-width: 767px) {
	.job-vacancy__meta-row {
		grid-template-columns: 1fr;
		gap: 12px;
	}
}

.job-vacancy-anchor {
	display: block;
	height: 0;
	overflow: hidden;
}

/* ===== Страница вакансии ===== */
.job-detail-page {
	margin: 0 0 40px;
}

.job-detail-page__head {
	margin: 0 0 24px;
	padding: 0 0 20px;
	border-bottom: 1px solid #e5e5e5;
}

.job-detail-page__back {
	display: inline-block;
	margin: 0 0 16px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none !important;
}

.job-detail-page__title {
	margin: 0 0 12px;
	font-size: 28px;
	line-height: 1.25;
	font-weight: 600;
	color: #1d2029;
}

.job-detail-page__salary {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.job-detail-page__salary-label {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #8b919b;
}

.job-detail-page__salary-value {
	font-size: 20px;
	font-weight: 600;
	color: #1d2029;
}

.job-detail-page__salary--muted .job-detail-page__salary-value {
	font-size: 16px;
	font-weight: 500;
	color: #666;
}

.job-detail-page .job-vacancy {
	margin: 0;
	padding: 0;
	border: none;
	background: transparent;
}

.job-detail-page__actions {
	margin: 28px 0 0;
	padding: 24px 0 0;
	border-top: 1px solid #e5e5e5;
}

.jobs_wrapp .item .description_wrapp .job-detail-link {
	margin: 0 0 12px;
}

/* ===== Блок вакансий на главной ===== */
.jobs-showcase {
	margin: 0 0 36px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.jobs-showcase--home {
	position: relative;
	margin: 40px 0 44px;
	padding: 36px 20px 28px;
	border: 1px solid #dde1e7;
	border-radius: 16px;
	background: #f2f3f6;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
	overflow: hidden;
	clear: both;
}

.jobs-showcase--home::after {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 96px;
	height: 4px;
	transform: translateX(-50%);
	border-radius: 0 0 6px 6px;
	background: var(--theme-base-color, #e63333);
	pointer-events: none;
}

.wrapper_inner.front .articles-showcase--home + .jobs-showcase--home,
.wrapper_inner.front .start_promo + .jobs-showcase--home {
	margin-top: 32px;
}

.jobs-showcase__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 0 0 20px;
	margin: 0 0 4px;
	border-bottom: 1px solid #dde1e7;
	font-size: 14px;
}

.jobs-showcase__head .title_block {
	display: block;
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	font-size: 22px;
	font-weight: 600;
	letter-spacing: -0.02em;
}

.jobs-showcase__all {
	flex: 0 0 auto;
	margin-left: auto;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none !important;
	white-space: nowrap;
}

.jobs-showcase__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 18px;
	align-items: stretch;
}

.jobs-showcase__card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	height: 100%;
	border: 1px solid #e3e6eb;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 1px 3px rgba(29, 32, 41, 0.05);
	overflow: hidden;
	transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.jobs-showcase__card:hover {
	transform: translateY(-3px);
	border-color: rgba(0, 0, 0, 0.08);
	box-shadow: 0 12px 28px rgba(29, 32, 41, 0.1);
}

.jobs-showcase__link {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-height: 0;
	color: inherit;
	text-decoration: none !important;
}

.jobs-showcase__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: #f3f4f6;
}

.jobs-showcase__media--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 0;
}

.jobs-showcase__media-icon {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.85) url('../images/svg/ai.svg') center center / 24px 24px no-repeat;
	opacity: 0.55;
}

.jobs-showcase__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 0.4s ease;
}

.jobs-showcase__card:hover .jobs-showcase__image {
	transform: scale(1.02);
}

.jobs-showcase__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 10px;
	padding: 16px 16px 12px;
	min-height: 0;
}

.jobs-showcase__title {
	margin: 0;
	font-size: 17px;
	line-height: 1.35;
	font-weight: 600;
	color: #1d2029;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	transition: color 0.2s ease;
}

.jobs-showcase__card:hover .jobs-showcase__title {
	color: var(--theme-base-color, #e63333);
}

.jobs-showcase__salary {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.jobs-showcase__salary-label {
	font-size: 11px;
	line-height: 1.3;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #8b8f98;
}

.jobs-showcase__salary-value {
	font-size: 18px;
	line-height: 1.3;
	font-weight: 700;
	color: #1d2029;
}

.jobs-showcase__salary--muted .jobs-showcase__salary-value {
	font-size: 13px;
	line-height: 1.45;
	font-weight: 500;
	color: #6b7280;
}

.jobs-showcase__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.jobs-showcase__meta li {
	margin: 0;
	padding: 5px 10px;
	border-radius: 999px;
	background: #f3f4f6;
	font-size: 11px;
	line-height: 1.3;
	color: #4b5563;
}

.jobs-showcase__meta li::before {
	display: none !important;
	content: none !important;
}

.jobs-showcase__meta li:not(:last-child)::after {
	content: none;
}

.jobs-showcase__more {
	margin-top: auto;
	padding-top: 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--theme-base-color, #e63333);
}

.jobs-showcase__more::after {
	content: " →";
}

.jobs-showcase__apply {
	display: block;
	width: calc(100% - 32px);
	margin: 0 16px 16px;
	padding: 12px 16px;
	border: none;
	border-radius: 10px;
	background: var(--theme-base-color, #e63333);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	color: #fff;
	cursor: pointer;
	transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.jobs-showcase__apply:hover {
	background: #d42b2b;
	box-shadow: 0 8px 18px rgba(230, 51, 51, 0.28);
}

@media (max-width: 991px) {
	.jobs-showcase__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.jobs-showcase--home {
		margin: 28px 0 32px;
		padding: 28px 14px 22px;
		border-radius: 12px;
	}

	.jobs-showcase__head .title_block {
		font-size: 20px;
	}

	.jobs-showcase__grid {
		grid-template-columns: 1fr;
	}
}

/* ===== Футер — подложка в стиле блоков главной ===== */
#footer {
	background: transparent !important;
	margin-top: 40px;
	padding: 0 0 44px !important;
	border-top: none;
}

#footer .footer_inner,
#footer .footer_inner.no_fill,
#footer .footer_inner.fill {
	background: transparent !important;
}

#footer .wrapper_inner {
	background: transparent !important;
}

#footer .footer_bottom_inner.footer-showcase {
	position: relative;
	box-sizing: border-box;
	margin: 0;
	padding: 36px 28px 32px !important;
	background: #f2f3f6 !important;
	border: 1px solid #dde1e7 !important;
	border-radius: 16px !important;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.95),
		0 4px 20px rgba(29, 32, 41, 0.06) !important;
	overflow: hidden;
}

#footer .footer_bottom_inner.footer-showcase::after {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 96px;
	height: 4px;
	transform: translateX(-50%);
	border-radius: 0 0 6px 6px;
	background: var(--theme-base-color, #e63333);
	pointer-events: none;
	z-index: 2;
}

#footer .pay_system_icons {
	display: none !important;
}

#footer .copyright {
	opacity: 1 !important;
	padding: 0 0 8px !important;
	font-size: 13px !important;
	line-height: 1.5 !important;
	color: #636363 !important;
}

#footer .copyright,
#footer .copyright * {
	color: #636363 !important;
}

#footer .footer-developer {
	margin-top: 2px;
	font-size: 12px;
	line-height: 1.5;
	color: #8b8f98;
}

#footer .footer-developer a {
	color: var(--theme-base-color, #e63333) !important;
	font-weight: 600;
	text-decoration: none !important;
	transition: opacity 0.2s ease;
}

#footer .footer-developer a:hover {
	opacity: 0.85;
	text-decoration: underline !important;
}

#footer .footer_inner .submenu_top .menu_item a {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: #1d2029 !important;
}

#footer .footer_inner .submenu .menu_item {
	margin-bottom: 6px;
}

#footer .footer_inner .submenu .menu_item a.dark_link {
	color: #636363 !important;
	transition: color 0.2s ease;
}

#footer .footer_inner .submenu .menu_item a.dark_link:hover {
	color: var(--theme-base-color, #e63333) !important;
}

#footer .footer_bottom_inner .phones .phone_wrap a {
	font-size: 20px !important;
	font-weight: 600 !important;
	color: #1d2029 !important;
}

#footer .footer_bottom_inner .phones .phone_wrap .icons {
	color: var(--theme-base-color, #e63333);
}

#footer .footer_bottom_inner .phones .order_wrap_btn .callback_btn {
	color: var(--theme-base-color, #e63333);
	font-weight: 600;
	font-size: 11px;
	letter-spacing: 0.04em;
	cursor: pointer;
	transition: opacity 0.2s ease;
}

#footer .footer_bottom_inner .phones .order_wrap_btn .callback_btn:hover {
	opacity: 0.8;
}

#footer .footer_bottom_inner .small_title {
	color: #8b8f98 !important;
	font-size: 13px;
	margin-bottom: 8px;
}

#footer .soc_icons .item_block a.max {
	background-image: url('../images/svg/max-icon.svg') !important;
	background-position: center center !important;
	background-size: 31px 31px !important;
	background-repeat: no-repeat !important;
}

#footer .footer_bottom_inner .rows_block .soc {
	text-align: left;
}

#footer .footer_bottom_inner .rows_block .soc .soc_wrapper {
	float: none !important;
	text-align: left !important;
	margin: 0 !important;
}

#footer .footer_bottom_inner .phones,
#footer .footer_bottom_inner .social_wrapper {
	float: none !important;
	display: block;
	width: 100% !important;
	padding: 0 !important;
}

#footer .footer_bottom_inner .social_wrapper {
	clear: both;
}

#footer .footer_bottom_inner .phone_block {
	padding-right: 0 !important;
}

#footer .footer_bottom_inner .phones .order_wrap_btn {
	margin-left: 0 !important;
}

#footer .footer_bottom_inner .social_wrapper .rows_block {
	margin: 0;
	text-align: left;
}

#footer .footer_bottom_inner .social_wrapper .small_title,
#footer .footer_bottom_inner .soc_icons {
	text-align: left;
}

#footer .footer_bottom_inner .soc_icons .item_block {
	padding-left: 0;
	padding-right: 6px;
}

@media (max-width: 767px) {
	#footer {
		margin-top: 28px;
		padding-bottom: 32px !important;
	}

	#footer .footer_bottom_inner.footer-showcase {
		padding: 28px 18px 24px !important;
		border-radius: 12px !important;
	}
}

/* ===== Футер: «Ранее вы смотрели» — подложка ===== */
#footer .viewed-showcase {
	position: relative;
	box-sizing: border-box;
	margin: 0 0 20px;
	padding: 36px 20px 28px;
	background: #f2f3f6;
	border: 1px solid #dde1e7;
	border-radius: 16px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
	overflow: hidden;
}

#footer .viewed-showcase::after {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 96px;
	height: 4px;
	transform: translateX(-50%);
	border-radius: 0 0 6px 6px;
	background: var(--theme-base-color, #e63333);
	pointer-events: none;
	z-index: 2;
}

#footer .viewed-showcase .similar_products_wrapp {
	margin: 0;
}

#footer .viewed-showcase .viewed_block {
	position: relative;
	z-index: 1;
	margin: 0;
	padding: 0;
	border: none;
}

#footer .viewed-showcase .viewed_block .title_block {
	display: block;
	margin: 0 0 16px;
	padding: 0 0 16px;
	border-bottom: 1px solid #dde1e7;
	font-size: 22px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.02em;
	color: #1d2029;
}

#footer .viewed-showcase .viewed_block .item_block .item.has-item {
	background: #fff;
	border: 1px solid #e8eaee;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(29, 32, 41, 0.04);
}

#footer .viewed-showcase .viewed_block .item_block .item.has-item:hover {
	border-color: #d2d7df;
	box-shadow: 0 8px 20px rgba(29, 32, 41, 0.1);
}

#footer .viewed-showcase .viewed_block .flexslider .flex-direction-nav {
	top: -52px;
}

@media (max-width: 767px) {
	#footer .viewed-showcase {
		margin-bottom: 16px;
		padding: 28px 14px 22px;
		border-radius: 12px;
	}

	#footer .viewed-showcase .viewed_block .title_block {
		font-size: 20px;
		padding-bottom: 14px;
		margin-bottom: 14px;
	}
}

