/**
 * DR Kitchen — Advanced Filters category checkbox spacing
 * Scoped to body.drk-shop. Does not touch price slider, brand images, or checked-state colors in style.css.
 */

/* Vertical gap between category option rows (BeTheme default: 6px) */
body.drk-shop .mfn-advanced-filters ul.mfn-advanced-filters-checkbox.mfn-advanced-filters-options {
	gap: 11px;
}

/* Nested child-category lists keep hierarchy + same gap; stay on their own flex row */
body.drk-shop .mfn-advanced-filters ul.mfn-advanced-filters-checkbox.mfn-advanced-filters-options li > ul.mfn-advanced-filters-checkbox,
body.drk-shop .mfn-advanced-filters ul.mfn-advanced-filters-checkbox.mfn-advanced-filters-options li > ul {
	flex: 0 0 100%;
	gap: 11px;
	padding-left: 15px;
	width: 100%;
	box-sizing: border-box;
}

/* Comfortable row: padding + min-height + flex alignment */
body.drk-shop .mfn-advanced-filters ul.mfn-advanced-filters-checkbox.mfn-advanced-filters-options > li,
body.drk-shop .mfn-advanced-filters ul.mfn-advanced-filters-checkbox.mfn-advanced-filters-options li > ul > li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	min-height: 28px;
	padding: 2px 0;
	box-sizing: border-box;
	max-width: 100%;
}

/* Category checkbox: 20×20, visible neutral border; checked navy stays in style.css */
body.drk-shop .mfn-advanced-filters ul.mfn-advanced-filters-checkbox > li > input[type="checkbox"],
body.drk-shop .mfn-advanced-filters ul.mfn-advanced-filters-checkbox li > ul > li > input[type="checkbox"],
body.drk-shop .mfn-advanced-filters ul.mfn-advanced-filters-checkbox input[type="checkbox"][name="tax_product_cat[]"] {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	width: 20px;
	height: 20px;
	min-width: 20px;
	min-height: 20px;
	flex-shrink: 0;
	margin: 2px 0 0;
	border: 2px solid #6B7280;
	background-color: #fff;
	border-radius: 4px;
	box-sizing: border-box;
	align-self: flex-start;
}

/* Label: stay beside checkbox; wrap text inside (not the whole label onto a new flex row) */
body.drk-shop .mfn-advanced-filters ul.mfn-advanced-filters-checkbox .mfn-advanced-filters-checkbox-label,
body.drk-shop .mfn-advanced-filters .mfn-advanced-filters-checkbox-label {
	line-height: 1.45;
	white-space: normal;
	overflow-wrap: anywhere;
	word-break: break-word;
	flex: 1 1 0%;
	min-width: 0;
	max-width: none;
}

/* Avoid horizontal overflow in sidebar / mobile drawer (same classes) */
body.drk-shop .mfn-advanced-filters ul.mfn-advanced-filters-checkbox.mfn-advanced-filters-options {
	max-width: 100%;
	overflow-x: hidden;
}

/*
 * Product-category archive banner stripes.
 * Template 178 wrap 15a3cd5dd keeps base #013b63.
 * This replaces only that wrap's BeTheme shop-archive SVG.
 * The original hardwarestore-shoparchive-bg1.svg is not used here.
 */
body.tax-product_cat .mcb-section .mcb-wrap-15a3cd5dd > .mcb-wrap-inner-15a3cd5dd {
	background-color: #013b63;
	background-image: url("../assets/drk-category-banner-stripes.svg");
	background-repeat: no-repeat;
	background-position: center right;
	background-size: 1280px 398px;
}
