/* Доработки БусМаркет — витрина. */

/* Подбор: модель недоступна до выбора марки, чужие модели скрыты. */
.wd-pf-checkboxes.bm-locked {
	opacity: .45;
	cursor: not-allowed;
}
.wd-pf-checkboxes.bm-locked .wd-pf-title {
	pointer-events: none;
}
.wd-pf-checkboxes li.bm-hidden,
.waf-filter-group .bm-hidden {
	display: none !important;
}

/* Фильтр «Бренд»: число товаров справа от названия. */
.bm-brand-group .waf-checkbox .bm-term-count {
	margin-left: auto;
	padding-left: 8px;
	font-size: .85em;
	opacity: .5;
}

/* Фильтры каталога: «Модель» до выбора марки. */
.waf-filter-group .bm-lock-hint {
	display: none;
	margin: 4px 0 8px;
	font-size: .85em;
	opacity: .7;
}
.waf-filter-group.bm-locked .bm-lock-hint {
	display: block;
}
.waf-filter-group.bm-locked .waf-terms-list {
	opacity: .45;
	pointer-events: none;
}
.waf-filter-group.bm-locked .waf-terms-list .bm-hidden {
	display: none !important;
}

/* Вместо цены. */
.bm-price-ask {
	display: inline-block;
	font-size: .85em;
	font-weight: 600;
	line-height: 1.3;
	color: var(--wd-primary-color, #333);
}
.bm-cart-note {
	margin: 0 0 15px;
	padding: 12px 15px;
	background: rgba(0, 0, 0, .04);
	border-radius: var(--wd-brd-radius, 4px);
	font-weight: 600;
}

/* Цены спрятаны: фильтры по цене, суммы корзины и заказа. */
body.bm-hide-prices .wd-pf-price-range,
body.bm-hide-prices .widget_price_filter,
body.bm-hide-prices .wd-cart-subtotal,
body.bm-hide-prices .woocommerce-mini-cart__total,
body.bm-hide-prices .woocommerce-cart-form .product-price,
body.bm-hide-prices .woocommerce-cart-form .product-subtotal,
body.bm-hide-prices .cart_totals > h2,
body.bm-hide-prices .cart-totals-inner > h2,
body.bm-hide-prices .cart_totals .cart-subtotal,
body.bm-hide-prices .cart_totals .order-total,
body.bm-hide-prices .cart_totals .tax-rate,
body.bm-hide-prices .cart_totals .tax-total,
body.bm-hide-prices .cart_totals .fee,
body.bm-hide-prices .woocommerce-checkout-review-order-table .product-total,
body.bm-hide-prices .woocommerce-checkout-review-order-table .cart-subtotal,
body.bm-hide-prices .woocommerce-checkout-review-order-table .order-total,
body.bm-hide-prices .woocommerce-checkout-review-order-table .tax-rate,
body.bm-hide-prices .woocommerce-checkout-review-order-table .tax-total,
body.bm-hide-prices .woocommerce-checkout-review-order-table .fee,
body.bm-hide-prices .woocommerce-table--order-details .product-total,
body.bm-hide-prices .wd-free-progress-bar,
body.bm-hide-prices .waf-filter-group:has(#waf-price-slider),
body.bm-hide-prices .waf-filter-group:has(.waf-price-min) {
	display: none !important;
}
