/*
Theme Name: Betheme Child
Theme URI: https://themes.muffingroup.com/betheme
Author: Muffin group
Author URI: https://muffingroup.com
Description: Child Theme for Betheme
Template: betheme
Version: 2.0.1
*/

/* Product archive sidebar: align native WooCommerce widgets with WOOF filters. */
#woocommerce_product_search-2 h3 {
	display: none;
}

body.woocommerce.archive .mcb-item-sidebar_widget-inner .woocommerce-widget-layered-nav-list .count,
body.woocommerce.archive .mcb-item-sidebar_widget-inner .woof_radio_count,
body.woocommerce.archive .mcb-item-sidebar_widget-inner .woof_checkbox_count,
body.woocommerce.archive .mcb-item-sidebar_widget-inner .woof_label_count {
	display: none !important;
}

body.woocommerce.archive .mcb-item-sidebar_widget-inner > aside.widget:not(.WOOF_Widget) {
	margin: 0 0 18px;
	padding: 0;
	background: transparent;
}

body.woocommerce.archive .mcb-item-sidebar_widget-inner > aside.widget:not(.WOOF_Widget) h3,
body.woocommerce.archive .mcb-item-sidebar_widget-inner .woof_container_inner h4 {
	margin: 0 0 12px !important;
	font-size: 18px !important;
	line-height: 1.35 !important;
	font-weight: 600 !important;
	color: #425968 !important;
}

body.woocommerce.archive .mcb-item-sidebar_widget-inner > aside.widget:not(.WOOF_Widget) ul,
body.woocommerce.archive .mcb-item-sidebar_widget-inner > aside.widget:not(.WOOF_Widget) li {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	background: transparent !important;
}

body.woocommerce.archive .mcb-item-sidebar_widget-inner > aside.widget:not(.WOOF_Widget) li {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	min-height: 24px;
	font-size: 0.9rem;
	line-height: 1.35;
	color: #425968;
}

body.woocommerce.archive.tax-product_cat.term-rypadla .widget_product_categories .cat-item-10209,
body.woocommerce.archive.tax-product_cat.term-rypadla-mala .widget_product_categories .cat-item-10209,
body.woocommerce.archive.tax-product_cat.term-rypadla-stredni .widget_product_categories .cat-item-10209,
body.woocommerce.archive.tax-product_cat.term-rypadla-velka .widget_product_categories .cat-item-10209 {
	display: none !important;
}

body.tax-product_cat.term-nakladace .widget_product_categories .cat-item-10209,
body.tax-product_cat.term-nakladace-male .widget_product_categories .cat-item-10209,
body.tax-product_cat.term-nakladace-velke .widget_product_categories .cat-item-10209,
body.tax-product_cat.term-zemedelske-stroje .widget_product_categories .cat-item-10209,
body.woocommerce-shop .widget_product_categories .cat-item-10209 {
	display: flex !important;
}

body.woocommerce.archive.tax-product_cat.term-nakladace .widget_product_categories .cat-item-21,
body.woocommerce.archive.tax-product_cat.term-nakladace-male .widget_product_categories .cat-item-21,
body.woocommerce.archive.tax-product_cat.term-nakladace-velke .widget_product_categories .cat-item-21 {
	display: none !important;
}

body.woocommerce.archive:not(.woocommerce-shop):not(.term-zemedelske-stroje) .widget_product_categories .cat-item-9522 {
	display: none !important;
}

body.woocommerce.archive .mcb-item-sidebar_widget-inner > aside.widget:not(.WOOF_Widget) li + li {
	margin-top: 8px !important;
}

body.woocommerce.archive .mcb-item-sidebar_widget-inner > aside.widget:not(.WOOF_Widget) li a {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	color: #425968 !important;
	text-decoration: none;
}

body.woocommerce.archive .mcb-item-sidebar_widget-inner .triga-category-name {
	min-width: 0;
}

body.woocommerce.archive .mcb-item-sidebar_widget-inner .triga-category-tonnage {
	margin-left: 0;
}

@media (max-width: 1240px) {
	body.woocommerce.archive .mcb-item-sidebar_widget-inner .triga-category-tonnage {
		flex-basis: 100%;
	}
}

body.woocommerce.archive .triga-category-tonnage {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-left: 8px;
	color: #00b085;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.15;
	white-space: nowrap;
}

body.woocommerce.archive .triga-category-tonnage img,
body.woocommerce.archive .triga-category-tonnage .custom-icon {
	display: block;
	width: auto;
	height: 15px;
	max-height: 15px;
	margin: 0 !important;
	object-fit: contain;
	flex: 0 0 auto;
	filter: brightness(0) saturate(100%) invert(45%) sepia(99%) saturate(1731%) hue-rotate(137deg) brightness(94%) contrast(101%);
}

body.woocommerce.archive h1.title .triga-category-tonnage {
	margin-left: 12px;
	font-size: 26px;
	vertical-align: middle;
}

body.woocommerce.archive h1.title .triga-category-tonnage img,
body.woocommerce.archive h1.title .triga-category-tonnage .custom-icon {
	width: auto;
	height: 30px;
	max-height: 30px;
	margin: 0 10px !important;
}

body.woocommerce.archive .mcb-item-sidebar_widget-inner > aside.widget_product_categories li a::before {
	content: "";
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
	border: 2px solid #00b085;
	border-radius: 50%;
	background: #fff;
	box-sizing: border-box;
}

body.woocommerce.archive .mcb-item-sidebar_widget-inner > aside.widget:not(.WOOF_Widget) li a:hover {
	color: #00b085 !important;
}

body.woocommerce.archive .mcb-item-sidebar_widget-inner > aside.widget:not(.WOOF_Widget) ul.children {
	flex: 0 0 100%;
	margin: 8px 0 0 24px !important;
}

body.woocommerce.archive .mcb-item-sidebar_widget-inner > aside.widget:not(.WOOF_Widget) .count {
	margin-left: 2px;
	font-size: 0.85em;
	color: #6a717c;
}

body.woocommerce.archive .mcb-item-sidebar_widget-inner .woocommerce-product-search {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 8px;
	margin: 0;
}

body.woocommerce.archive .mcb-item-sidebar_widget-inner .woocommerce-product-search .search-field {
	width: 100%;
	min-height: 42px;
	margin: 0 !important;
	border: 1px solid rgba(66, 89, 104, 0.22) !important;
	background: #fff !important;
	color: #425968 !important;
	font-size: 0.9rem;
}

body.woocommerce.archive .mcb-item-sidebar_widget-inner .woocommerce-product-search button {
	min-height: 42px;
	margin: 0 !important;
	padding: 0 16px !important;
	background: #00b085 !important;
	color: #fff !important;
	font-size: 0.9rem !important;
	font-weight: 600 !important;
}

@media (max-width: 767px) {
	body.woocommerce.archive .mcb-item-sidebar_widget-inner .woocommerce-product-search {
		grid-template-columns: 1fr;
	}
}
