/**
 * Site layout — wider container + shop/content xl column balance.
 */

@media screen and (min-width: 1200px) {
	#pxl-wapper .container {
		max-width: 1810px;
		width: 100%;
	}
}

/* Shop archive: lg 8/4, xl 9/3 (Bootstrap columns + theme flex overrides). */
@media screen and (min-width: 992px) {
	.woocommerce .pxl-has-sidebar #pxl-content-area.pxl-content-shop {
		flex: 0 0 auto;
		width: auto;
		max-width: 100%;
	}

	.woocommerce .pxl-has-sidebar #pxl-sidebar-area.pxl-sidebar-shop,
	.woocommerce .pxl-has-sidebar .americ-child-filters-slot.col-lg-4 {
		flex: 0 0 auto;
		width: auto;
		max-width: 100%;
	}

	.woocommerce .pxl-has-sidebar .americ-child-filters-slot.col-lg-4 {
		flex: 0 0 33.333333%;
		max-width: 33.333333%;
	}
}

@media screen and (min-width: 1200px) {
	.woocommerce .pxl-has-sidebar #pxl-content-area.pxl-content-shop.col-xl-9 {
		flex: 0 0 75%;
		max-width: 75%;
	}

	.woocommerce .pxl-has-sidebar #pxl-sidebar-area.pxl-sidebar-shop.col-xl-3,
	.woocommerce .pxl-has-sidebar .americ-child-filters-slot.col-xl-3 {
		flex: 0 0 25%;
		max-width: 25%;
	}
}

/* Sidebar — Product categories SelectWoo / Select2 (fix line-through placeholder + arrow). */
#pxl-sidebar-area .widget_product_categories .select2-container {
	width: 100% !important;
	margin: 0 !important;
	vertical-align: top;
}

#pxl-sidebar-area .widget_product_categories .select2-container--default .select2-selection--single {
	box-sizing: border-box;
	height: auto !important;
	min-height: 2.75rem;
	margin: 0 !important;
	border: 1px solid color-mix(in srgb, var(--secondary-color, #5f727f) 28%, #d0d5dc) !important;
	border-radius: 5px;
	background: #fff;
	display: flex;
	align-items: center;
}

#pxl-sidebar-area .widget_product_categories .select2-container--default .select2-selection--single .select2-selection__rendered {
	flex: 1 1 auto;
	float: none !important;
	width: 100%;
	line-height: 1.45 !important;
	padding: 0.65rem 2.5rem 0.65rem 0.85rem !important;
	font-size: 15px;
	color: #5d666f;
	border: 0 !important;
	border-bottom: 0 !important;
	text-decoration: none !important;
	background: transparent;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

#pxl-sidebar-area .widget_product_categories .select2-container--default .select2-selection--single .select2-selection__placeholder {
	color: #8f8f8f;
}

#pxl-sidebar-area .widget_product_categories .select2-container--default .select2-selection--single .select2-selection__clear {
	margin-right: 0.25rem;
	line-height: 1;
	height: auto;
}

#pxl-sidebar-area .widget_product_categories .select2-container--default .select2-selection--single .select2-selection__arrow {
	position: absolute;
	top: 50%;
	right: 0;
	height: 100% !important;
	width: 2.25rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

#pxl-sidebar-area .widget_product_categories .select2-container--default .select2-selection--single .select2-selection__arrow b {
	margin: 0;
	border-color: #5d666f transparent transparent transparent;
}

/* Prevent list-category link styles from affecting dropdown anchors. */
#pxl-sidebar-area .widget_product_categories .select2-container--default .select2-selection--single a,
#pxl-sidebar-area .widget_product_categories .select2-container a {
	display: inline;
	text-decoration: none !important;
	border: 0 !important;
	border-bottom: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	background: none !important;
}

#pxl-sidebar-area .widget_product_categories .select2-container a::after {
	display: none !important;
	content: none !important;
}

#pxl-sidebar-area .widget_product_categories .select2-dropdown {
	border-color: color-mix(in srgb, var(--secondary-color, #5f727f) 22%, #e7e8e9);
	border-radius: 5px;
}

#pxl-sidebar-area .widget_product_categories .select2-container--open .select2-dropdown .select2-search__field {
	border: 1px solid color-mix(in srgb, var(--secondary-color, #5f727f) 22%, #e7e8e9);
	border-radius: 4px;
	padding: 0.5rem 0.75rem;
	line-height: 1.4;
}

/* Sidebar product search — keep filled field (no underline-style border). */
#pxl-sidebar-area .widget_product_search .search-field,
#pxl-sidebar-area .widget_product_search input[type="search"] {
	border: none !important;
	border-bottom: none !important;
	background-color: #f6f6f6;
	border-radius: 5px;
	line-height: 1.4;
	height: 58px;
	padding: 0 4.5rem 0 1.25rem;
	box-shadow: none;
}