/* mobile style */

/* --- Mobile header --- */
@media screen and (max-width: 550px) {
	#site_header #header {
		display: none;
	}

	#site_header #sub_header {
		padding: 12px 10px 8px;
	}

	#site_header #sub_header_inner {
		width: 100%;
		flex-direction: column;
		gap: 12px;
	}

	#site_header #header_logo {
		text-align: center;
	}

	#site_header #header_logo img {
		max-width: 220px;
		width: auto;
		height: auto;
	}

	#site_header #header_toolbar {
		display: flex;
		width: 100%;
		justify-content: space-between;
		align-items: center;
		flex-wrap: nowrap;
		gap: 8px;
		background: #ec4343;
		padding: 5px;
		border-radius: 5px;
		box-sizing: border-box;
	}

	#site_header #header_tool_global {
		display: flex;
		flex: 1 1 auto;
		align-items: center;
		justify-content: flex-start;
		min-width: 0;
		text-align: left;
		color: #fff;
		font-size: 21px;
		line-height: 1.3;
		font-weight: bold;
		padding-left: 20px;
	}

	#site_header #header_tool_global img {
		flex: 0 0 auto;
		margin-right: 10px;
		max-height: 29px;
		width: auto;
	}

	#site_header #header_tool_global .bsftgdata-scope-3,
	#site_header #header_tool_global .bsftgdata-block {
		color: #fff;
	}

	#site_header #header_tool_global a {
		color: #fff;
	}

	#site_header .header_tool {
		flex: 0 0 auto;
		min-width: 44px;
		min-height: 44px;
	}

	#site_header #header_menu_trigger,
	#site_header #header_menu_trigger .bsftmenu_wrap {
		display: none !important;
	}

	#site_header #header_menu_subitems {
		display: none !important;
	}

	#site_header #header_tool_menu .bsftmenu_wrap {
		width: auto;
	}

	#site_header #header_tool_menu .bsftmenu_trigger,
	#site_header #header_tool_menu a.bsftmenu_trigger {
		width: 44px;
		height: 44px;
		min-width: 44px;
		min-height: 44px;
		padding: 0;
		margin: 0;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		background: transparent url("images/menu_ico.png") no-repeat center center;
		background-size: 24px auto;
		border-radius: 5px;
		font-size: 0;
		line-height: 0;
		color: transparent;
	}

	#site_header #header_tool_menu .bsftmenu_trigger::after {
		display: none;
	}
}


.m100 {
	float:left;
	width:100%;
	box-sizing:border-box;
}

.m100 h1 {
	font-size:21px;
		float:left;
	width:100%;
	box-sizing:border-box;
	margin:0;
}

.m100 h2 {
	font-size:17px;
		float:left;
	width:100%;
	box-sizing:border-box;
	margin:0;
}

.m100 h3 {
	font-size:20px;
		float:left;
	width:100%;
	box-sizing:border-box;
	margin:0;
}

.m20 {
		float:left;
	width:20%;
	box-sizing:border-box;
}

.m25 {
		float:left;
	width:25%;
	box-sizing:border-box;
}

.m30 {	float:left;
	width:30%;
	box-sizing:border-box;}

.m40 {	float:left;
	width:40%;
	box-sizing:border-box;}

.m50 {	float:left;
	width:50%;
	box-sizing:border-box;}

.m60 {	float:left;
	width:60%;
	box-sizing:border-box;}

.m70 {	float:left;
	width:70%;
	box-sizing:border-box;}

.m80 {	float:left;
	width:80%;
	box-sizing:border-box;}

.m90 {	float:left;
	width:90%;
	box-sizing:border-box;}


.m3 {	float:left;
	width:33.3%;
	box-sizing:border-box;}

.m4 {	float:left;
	width:25%;
	box-sizing:border-box;}

.m5 {	float:left;
	width:20%;
	box-sizing:border-box;}

.m6 {	float:left;
	width:16.6%;
	box-sizing:border-box;}

.m7 {	float:left;
	width:14.2%;
	box-sizing:border-box;}

/* mobile style */

#desc_cat_table_cell {
	display: flex;
	flex-flow: wrap;
}

#desc_cat_table_td {
	min-height:200px;
}

.layout-right-content {
	width: 100%;
}

.layout-right-content .closemenu {
	opacity: 0;
	top: 20px !important;
	right: 10px !important;
}

#main_news_mini {
	width: 100%;
}

#super_news_product_mini_thumb {
	text-align: center;
	width: 100%;
}

#super_news_product_mini_desc {
	float: left;
	width: 100%;
	box-sizing: border-box;
	padding: 20px;
	font-size: 15px;
	line-height: 21px;
	background: #f7f7f7;
	border-radius: 10px;
	margin-left: 0px;
}

#super_news_top {
	padding: 0 20px;
}

.about_shop_right {
	padding-left: 0px;
	font-size: 15px;
	line-height: 21px;
}

.main_header {
	padding: 20px 0;
	text-align: left;
	width: 100%;
	font-size: 18px;
	padding-bottom: 0;
}

#primary {
	box-sizing: border-box;
	min-width: 0;
	flex: 0 0 calc(100% - var(--gap) / 1.25);
	order: 2;
	margin-top: 20px;
	padding: 0 10px;
}

.bsftfilt-landing-links {
	display: block;
	width: 100%;
	margin: 0px 0px 0px 0px !important;
	/* margin-left: 20px; */
}

#box_by_price .bsftfilt-landing-links__item {
	border: 1px solid #ddd;
	background: #f8f8f8;
	border-radius: 3px;
	padding: 7px 10px;
	font-size: 15px;
	font-weight: bold;
	color: inherit;
	text-decoration: none;
	max-width: 100%;
}


.woocommerce-tabs.wc-tabs-wrapper {
	margin-top: 20px;
}

/* Мобилка: меню категорий WC — в sidebar только фильтр, каталог над футером */
@media screen and (max-width: 550px) {
	body:not(.home):not(.front-page) #sidebar .kaminy2026-sidebar-wc-cats {
		display: none !important;
	}

	#sidebar_wc_cats_footer {
		display: flex;
		width: 100%;
		margin: 0 0 16px;
		margin-top: 0px;
		padding: 0 10px;
		box-sizing: border-box;
		background: #f8f8f8;
		padding: 20px 10px;
		margin-top: 20px;
	}

	#sidebar_wc_cats_footer .flex_limit,
	#sidebar_wc_cats_footer .kaminy2026-mobile-footer-wc-cats__inner,
	#side_menu .bsfttune_wc_cats,
	#side_menu .bsfttune-sidebar-menu,
	#sidebar_wc_cats_footer .bsfttune_wc_cats,
	#sidebar_wc_cats_footer .bsfttune-sidebar-menu,
	#sidebar .kaminy2026-sidebar-wc-cats .bsfttune_wc_cats,
	#sidebar .kaminy2026-sidebar-wc-cats .bsfttune-sidebar-menu {
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}

	body.home #sidebar_wc_cats_footer,
	body.front-page #sidebar_wc_cats_footer {
		display: none !important;
	}
}
