/* Shared Woo product-card contract: assortment and related products on product detail.
   Both use content-product.php and exactly the same B&J hooks. */
/**
 * B&J Verhuur - functionele productcatalogus.
 * Flight Deck 03: filters links, productoverzicht rechts, max. 1280px.
 * Alle selectors blijven binnen het shop- en categoriearchief.
 */
body:is(.woocommerce-shop, .tax-product_cat) #primary {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}
body:is(.woocommerce-shop, .tax-product_cat) #primary > .site-main {
	width: calc(100% - 56px);
	max-width: 1280px;
	margin: 0 auto;
	padding: 32px 0 96px;
	box-sizing: border-box;
}
body:is(.woocommerce-shop, .tax-product_cat) .woocommerce-products-header {
	margin: 0;
	padding: 0;
}
body:is(.woocommerce-shop, .tax-product_cat) .woocommerce-products-header__title {
	margin: 0 0 12px;
	color: var(--bj-ui-ink, #063649);
	font-size: clamp(32px, 3vw, 42px);
	font-weight: 600;
	letter-spacing: -.015em;
	line-height: 1.2;
	overflow-wrap: break-word;
}
body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-intro,
body:is(.woocommerce-shop, .tax-product_cat) .term-description {
	max-width: 740px;
	margin: 0 0 32px;
	color: var(--bj-ui-ink, #063649);
	font-size: 16px;
	line-height: 1.65;
}
.bj-catalog-layout {
	display: grid;
	grid-template-columns: 270px minmax(0, 1fr);
	gap: 24px;
	align-items: start;
	padding-top: 16px;
	border-top: 1px solid #e5e3de;
}
.bj-catalog-filters {
	position: sticky;
	top: 110px;
	min-width: 0;
	color: var(--bj-ui-ink, #063649);
	align-self: start;
}
.bj-catalog-filters__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 24px;
}
.bj-catalog-filters__heading {
	margin: 0;
	color: var(--bj-ui-action, #007aa6);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: .025em;
}
.bj-catalog-filters__toggle { display: none; }
.bj-catalog-filter-form { margin: 0; }
.bj-catalog-facet {
	min-width: 0;
	margin: 0 0 24px;
	padding: 0 0 22px;
	border: 0;
	border-bottom: 1px solid #e5e3de;
}
.bj-catalog-facet__title {
	display: block;
	width: 100%;
	margin: 0 0 10px;
	padding: 0;
	color: #063649;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .045em;
	line-height: 1.4;
	text-transform: uppercase;
}
.bj-catalog-facet__choices {
	display: flex;
	flex-direction: column;
	max-height: 348px;
	overflow-y: auto;
	gap: 2px;
	scrollbar-width: thin;
}
.bj-catalog-filter-choice {
	display: flex;
	gap: 9px;
	align-items: center;
	min-width: 0;
	min-height: 42px;
	margin: 0;
	padding: 5px 2px;
	color: var(--bj-ui-ink, #063649);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
	cursor: pointer;
	box-sizing: border-box;
}
.bj-catalog-filter-choice input {
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	margin: 0;
	accent-color: var(--bj-ui-action, #007aa6);
	cursor: pointer;
}
.bj-catalog-filter-choice > span {
	min-width: 0;
	overflow-wrap: break-word;
}
.bj-catalog-filter-choice:has(input:focus-visible) {
	outline: 2px solid var(--bj-ui-action, #007aa6);
	outline-offset: 2px;
	border-radius: 4px;
}
.bj-catalog-filter-actions {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 14px;
}
.bj-catalog-filter-actions .bj-button {
	width: 100%;
}
.bj-catalog-filter-actions .bj-content-link {
	font-size: 14px;
	line-height: 1.5;
	text-align: center;
}
.bj-catalog-results { min-width: 0; }
.bj-catalog-toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	min-height: 52px;
	margin: 0 0 20px;
}
.bj-catalog-count {
	margin: 0;
	color: var(--bj-ui-ink, #063649);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
}
body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-toolbar .woocommerce-ordering {
	display: flex;
	gap: 8px;
	align-items: center;
	float: none;
	margin: 0;
	padding: 0;
}
body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-toolbar .woocommerce-ordering select {
	min-height: 44px;
	max-width: 100%;
	margin: 0;
	padding: 8px 28px 8px 12px;
	border: 1px solid var(--bj-ui-border-soft, #d9dadd);
	border-radius: 8px;
	background-color: #fff;
	color: var(--bj-ui-ink, #063649);
	font: inherit;
	font-size: 14px;
}
.bj-catalog-empty {
	padding: 48px 36px;
	border: 1px solid #e5e3de;
	border-radius: 12px;
	background: #f8f8f6;
}
.bj-catalog-empty h2 {
	margin: 0 0 12px;
	color: var(--bj-ui-ink, #063649);
	font-size: 24px;
	font-weight: 600;
	line-height: 1.25;
}
.bj-catalog-empty p {
	max-width: 580px;
	margin: 0 0 24px;
	font-size: 16px;
	line-height: 1.65;
}
:is(body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-results, body.single-product .bj-catalog-related-results) ul.products,
body.search .bj-golf5-search-results ul.products {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
}
:is(body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-results, body.single-product .bj-catalog-related-results) ul.products:before,
:is(body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-results, body.single-product .bj-catalog-related-results) ul.products:after,
body.search .bj-golf5-search-results ul.products:before,
body.search .bj-golf5-search-results ul.products:after {
	display: none;
}
:is(body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-results, body.single-product .bj-catalog-related-results) ul.products li.product,
body.search .bj-golf5-search-results ul.products li.product {
	display: flex;
	flex-direction: column;
	min-width: 0;
	float: none;
	width: auto;
	margin: 0;
	padding: 12px;
	border: 1px solid #e5e3de;
	border-radius: 12px;
	background: #fff;
	box-sizing: border-box;
}
:is(body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-results, body.single-product .bj-catalog-related-results) ul.products li.product > a.woocommerce-LoopProduct-link,
body.search .bj-golf5-search-results ul.products li.product > a.woocommerce-LoopProduct-link {
	display: flex;
	flex-direction: column;
	flex-grow: 0;
	min-width: 0;
	color: var(--bj-ui-ink, #063649);
	text-decoration: none;
}
:is(body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-results, body.single-product .bj-catalog-related-results) ul.products li.product img,
body.search .bj-golf5-search-results ul.products li.product img {
	width: 100%;
	aspect-ratio: 1 / 1;
	height: auto;
	margin: 0 0 12px;
	object-fit: contain;
}
:is(body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-results, body.single-product .bj-catalog-related-results) ul.products li.product .woocommerce-loop-product__title,
body.search .bj-golf5-search-results ul.products li.product .woocommerce-loop-product__title {
	margin: 0 0 8px;
	padding: 0;
	color: var(--bj-ui-ink, #063649);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
}
:is(body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-results, body.single-product .bj-catalog-related-results) ul.products li.product .price,
body.search .bj-golf5-search-results ul.products li.product .price {
	margin: 8px 0 4px;
	color: var(--bj-ui-ink, #063649);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
}
:is(body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-results, body.single-product .bj-catalog-related-results) ul.products li.product .bj-catalog-product-link,
body.search .bj-golf5-search-results ul.products li.product .bj-catalog-product-link {
	width: 100%;
}
:is(body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-results, body.single-product .bj-catalog-related-results) ul.products li.product a:focus-visible,
body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-filters a:focus-visible,
body.search .bj-golf5-search-results ul.products li.product a:focus-visible,
body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-filters a:focus-visible {
	outline: 2px solid var(--bj-ui-action, #007aa6);
	outline-offset: 3px;
}
body:is(.woocommerce-shop, .tax-product_cat) .woocommerce-pagination {
	margin-top: 32px;
}
@media (max-width: 1023px) {
	.bj-catalog-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 20px; }
	:is(body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-results, body.single-product .bj-catalog-related-results) ul.products,
body.search .bj-golf5-search-results ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Golf 4 desktop / tablet bridge: a 244px facet sidebar leaves too little
 * room for three usable quantity+add cards below a 1280px viewport.
 * Keep three columns at the approved 1280px base, two from 1024–1279px.
 * Scoped to the archive; related cards retain their accepted styling. */
@media (min-width: 1024px) and (max-width: 1279px) {
	body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-results ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 767px) {
	body:is(.woocommerce-shop, .tax-product_cat) #primary > .site-main {
		width: calc(100% - 40px);
		padding: 28px 0 64px;
	}
	.bj-catalog-layout { display: flex; flex-direction: column; gap: 20px; }
	.bj-catalog-filters { position: static; width: 100%; }
	.bj-catalog-filters__top { margin: 0; }
	.bj-catalog-filters__heading { font-size: 16px; }
	body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-filters__toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		min-height: 44px;
		padding: 8px 16px;
		border: 1px solid var(--bj-ui-border-soft, #d9dadd);
		border-radius: 8px;
		background: #fff;
		color: var(--bj-ui-ink, #063649);
		font: inherit;
		font-size: 14px;
		cursor: pointer;
	}
	.bj-catalog-filters__panel { padding-top: 18px; }
	.bj-catalog-filters__panel[hidden] { display: none !important; }
	.bj-catalog-facet__choices { max-height: 280px; }
	.bj-catalog-toolbar { flex-wrap: wrap; }
	.bj-catalog-results { width: 100%; }
}
@media (max-width: 479px) {
	body:is(.woocommerce-shop, .tax-product_cat) #primary > .site-main { width: calc(100% - 32px); }
	:is(body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-results, body.single-product .bj-catalog-related-results) ul.products,
body.search .bj-golf5-search-results ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}
	:is(body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-results, body.single-product .bj-catalog-related-results) ul.products li.product,
body.search .bj-golf5-search-results ul.products li.product {
		padding: 10px;
	}
	.bj-catalog-toolbar { align-items: stretch; flex-direction: column; }
	.bj-catalog-empty { padding: 30px 20px; }
}
@media (prefers-reduced-motion: reduce) {
	.bj-catalog-results *,
	.bj-catalog-filters * { scroll-behavior: auto !important; }
}


/**
 * Golf 4: productkaart met echte hoeveelheid en reserveringsactie.
 * Ook in Gerelateerde producten op de productdetailpagina via dezelfde
 * content-product template en selectors. Het 1280px raster
 * en de global UI primitives blijven onaangeroerd.
 */
:is(body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-results, body.single-product .bj-catalog-related-results) ul.products li.product .bj-catalog-product-sku,
/**
 * Golf 4: productkaart met echte hoeveelheid en reserveringsactie.
 * Ook in Gerelateerde producten op de productdetailpagina via dezelfde
 * content-product template en selectors. Het 1280px raster
 * en de global UI primitives blijven onaangeroerd.
 */
body.search .bj-golf5-search-results ul.products li.product .bj-catalog-product-sku {
	display: block;
	margin: 0 0 6px;
	color: var(--bj-ui-ink, #063649);
	font-size: 12px;
	line-height: 1.4;
	overflow-wrap: anywhere;
}
:is(body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-results, body.single-product .bj-catalog-related-results) ul.products li.product .price,
:is(body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-results, body.single-product .bj-catalog-related-results) ul.products li.product .price .woocommerce-Price-amount,
:is(body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-results, body.single-product .bj-catalog-related-results) ul.products li.product .price .woocommerce-Price-currencySymbol,
body.search .bj-golf5-search-results ul.products li.product .price,
body.search .bj-golf5-search-results ul.products li.product .price .woocommerce-Price-amount,
body.search .bj-golf5-search-results ul.products li.product .price .woocommerce-Price-currencySymbol {
	color: var(--bj-ui-ink, #063649) !important;
}
:is(body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-results, body.single-product .bj-catalog-related-results) ul.products li.product .bj-price-on-request,
body.search .bj-golf5-search-results ul.products li.product .bj-price-on-request {
	color: var(--bj-ui-ink, #063649);
	font-weight: 700;
}
:is(body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-results, body.single-product .bj-catalog-related-results) ul.products li.product .bj-catalog-rental-form,
body.search .bj-golf5-search-results ul.products li.product .bj-catalog-rental-form {
	width: 100%;
	margin: auto 0 0;
	padding-top: 12px;
	box-sizing: border-box;
}
:is(body:is(.woocommerce-shop, .tax-product_cat), body.single-product .bj-catalog-related-results) .bj-catalog-rental-form .bj-qty-info,
body.search .bj-golf5-search-results .bj-catalog-rental-form .bj-qty-info {
	margin: 0 0 10px;
}
:is(body:is(.woocommerce-shop, .tax-product_cat), body.single-product .bj-catalog-related-results) .bj-catalog-rental-form .bj-qty-info__label,
body.search .bj-golf5-search-results .bj-catalog-rental-form .bj-qty-info__label {
	display: block;
	color: var(--bj-ui-ink, #063649);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
}
:is(body:is(.woocommerce-shop, .tax-product_cat), body.single-product .bj-catalog-related-results) .bj-catalog-rental-form .bj-qty-info__note,
body.search .bj-golf5-search-results .bj-catalog-rental-form .bj-qty-info__note {
	display: block;
	color: var(--bj-ui-ink, #063649);
	font-size: 12px;
	line-height: 1.45;
}
:is(body:is(.woocommerce-shop, .tax-product_cat), body.single-product .bj-catalog-related-results) .bj-catalog-action-row,
body.search .bj-golf5-search-results .bj-catalog-action-row {
	display: flex;
	align-items: stretch;
	gap: 8px;
	min-width: 0;
}
:is(body:is(.woocommerce-shop, .tax-product_cat), body.single-product .bj-catalog-related-results) .bj-catalog-qty-wrap,
body.search .bj-golf5-search-results .bj-catalog-qty-wrap {
	display: inline-flex;
	align-items: stretch;
	flex: 0 0 auto;
	min-height: 44px;
	min-width: 0;
	max-width: 100%;
	border: 1px solid var(--bj-ui-border-soft, #d9dadd);
	border-radius: var(--bj-ui-radius, 8px);
	background: #fff;
	box-sizing: border-box;
}
:is(body:is(.woocommerce-shop, .tax-product_cat), body.single-product .bj-catalog-related-results) .bj-catalog-qty-wrap .quantity,
body.search .bj-golf5-search-results .bj-catalog-qty-wrap .quantity {
	display: flex;
	float: none;
	width: 54px;
	min-width: 44px;
	margin: 0;
}
:is(body:is(.woocommerce-shop, .tax-product_cat), body.single-product .bj-catalog-related-results) .bj-catalog-qty-wrap input.qty,
:is(body:is(.woocommerce-shop, .tax-product_cat), body.single-product .bj-catalog-related-results) .bj-catalog-qty-wrap input.bj-qty-packages,
body.search .bj-golf5-search-results .bj-catalog-qty-wrap input.qty,
body.search .bj-golf5-search-results .bj-catalog-qty-wrap input.bj-qty-packages {
	display: block;
	width: 100%;
	min-width: 0;
	min-height: 44px;
	height: 100%;
	margin: 0;
	padding: 8px 2px;
	border: 0;
	border-left: 1px solid var(--bj-ui-border-soft, #d9dadd);
	border-right: 1px solid var(--bj-ui-border-soft, #d9dadd);
	border-radius: 0;
	background: #fff;
	color: var(--bj-ui-ink, #063649);
	font: inherit;
	font-size: 15px;
	text-align: center;
	appearance: textfield;
	-moz-appearance: textfield;
	box-sizing: border-box;
}
:is(body:is(.woocommerce-shop, .tax-product_cat), body.single-product .bj-catalog-related-results) .bj-catalog-qty-wrap input::-webkit-inner-spin-button,
:is(body:is(.woocommerce-shop, .tax-product_cat), body.single-product .bj-catalog-related-results) .bj-catalog-qty-wrap input::-webkit-outer-spin-button,
body.search .bj-golf5-search-results .bj-catalog-qty-wrap input::-webkit-inner-spin-button,
body.search .bj-golf5-search-results .bj-catalog-qty-wrap input::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
:is(body:is(.woocommerce-shop, .tax-product_cat), body.single-product .bj-catalog-related-results) .bj-catalog-qty-wrap .bj-qty-button,
body.search .bj-golf5-search-results .bj-catalog-qty-wrap .bj-qty-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 44px;
	min-width: 44px;
	min-height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: #fff;
	color: var(--bj-ui-action, #007aa6);
	font: inherit;
	font-size: 19px;
	font-weight: 600;
	cursor: pointer;
}
:is(body:is(.woocommerce-shop, .tax-product_cat), body.single-product .bj-catalog-related-results) .bj-catalog-qty-wrap .bj-qty-button:first-child,
body.search .bj-golf5-search-results .bj-catalog-qty-wrap .bj-qty-button:first-child {
	border-radius: 7px 0 0 7px;
}
:is(body:is(.woocommerce-shop, .tax-product_cat), body.single-product .bj-catalog-related-results) .bj-catalog-qty-wrap .bj-qty-button:last-child,
body.search .bj-golf5-search-results .bj-catalog-qty-wrap .bj-qty-button:last-child {
	border-radius: 0 7px 7px 0;
}
:is(body:is(.woocommerce-shop, .tax-product_cat), body.single-product .bj-catalog-related-results) .bj-catalog-qty-wrap .bj-qty-button:hover,
body.search .bj-golf5-search-results .bj-catalog-qty-wrap .bj-qty-button:hover {
	background: var(--bj-ui-blue-soft, #f1fafd);
}
:is(body:is(.woocommerce-shop, .tax-product_cat), body.single-product .bj-catalog-related-results) .bj-catalog-qty-wrap :is(button, input):focus-visible,
body.search .bj-golf5-search-results .bj-catalog-qty-wrap :is(button, input):focus-visible {
	position: relative;
	z-index: 1;
	outline: 2px solid var(--bj-ui-action, #007aa6);
	outline-offset: -3px;
}
:is(body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-results, body.single-product .bj-catalog-related-results) ul.products li.product button.bj-catalog-add-to-reservation,
body.search .bj-golf5-search-results ul.products li.product button.bj-catalog-add-to-reservation {
	flex: 1 1 104px;
	min-width: 0;
	min-height: 46px;
	padding: 8px 10px;
	font-size: 14px;
	/* Keep the action readable: never split 'Toevoegen' into vertical letters. */
	white-space: nowrap;
	overflow-wrap: normal;
	word-break: normal;
}
:is(body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-results, body.single-product .bj-catalog-related-results) ul.products li.product .bj-catalog-product-link,
body.search .bj-golf5-search-results ul.products li.product .bj-catalog-product-link {
	margin-top: auto;
}
@media (max-width: 1023px) {
	:is(body:is(.woocommerce-shop, .tax-product_cat), body.single-product .bj-catalog-related-results) .bj-catalog-action-row,
body.search .bj-golf5-search-results .bj-catalog-action-row {
		flex-direction: column;
	}
	:is(body:is(.woocommerce-shop, .tax-product_cat), body.single-product .bj-catalog-related-results) .bj-catalog-qty-wrap,
body.search .bj-golf5-search-results .bj-catalog-qty-wrap {
		width: 100%;
	}
	:is(body:is(.woocommerce-shop, .tax-product_cat), body.single-product .bj-catalog-related-results) .bj-catalog-qty-wrap .quantity,
body.search .bj-golf5-search-results .bj-catalog-qty-wrap .quantity {
		flex: 1 1 auto;
	}
	:is(body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-results, body.single-product .bj-catalog-related-results) ul.products li.product button.bj-catalog-add-to-reservation,
body.search .bj-golf5-search-results ul.products li.product button.bj-catalog-add-to-reservation {
		flex: 0 0 auto;
		width: 100%;
	}
}

/* Temporary, administrator-only Golf 4 archive test marker. */
body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-qa-note {
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid #d9dadd;
  border-radius: 8px;
  background: #f1fafd;
  color: #063649;
  font-size: 13px;
  line-height: 1.5;
}

/**
 * Golf 4 QA visuele uitlijning.
 * De standaard Hello/Elementor H2 mag de compacte filterkop niet overschrijven.
 * Productnaam, huurprijs en prijsbasis blijven direct bij elkaar;
 * alleen de reserveringsactie wordt onderaan uitgelijnd.
 */
body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-filters h2.bj-catalog-filters__heading {
	margin: 0;
	padding: 0;
	color: var(--bj-ui-ink, #063649);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.45;
	letter-spacing: 0;
	text-transform: none;
}
:is(body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-results, body.single-product .bj-catalog-related-results) ul.products li.product > a.woocommerce-LoopProduct-link,
body.search .bj-golf5-search-results ul.products li.product > a.woocommerce-LoopProduct-link {
	flex: 0 0 auto;
}
:is(body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-results, body.single-product .bj-catalog-related-results) ul.products li.product .price,
body.search .bj-golf5-search-results ul.products li.product .price {
	margin: 8px 0 4px;
}
:is(body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-results, body.single-product .bj-catalog-related-results) ul.products li.product .bj-price-unit,
body.search .bj-golf5-search-results ul.products li.product .bj-price-unit {
	margin: 0 0 12px;
	font-size: 13px;
	line-height: 1.5;
}
body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-toolbar button.bj-catalog-sort-submit {
	min-height: 44px;
	margin: 0;
	padding: 9px 16px;
	border: 1px solid transparent;
	border-radius: var(--bj-ui-radius, 8px);
	background: var(--bj-ui-action, #007aa6);
	color: #fff;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	cursor: pointer;
}
body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-toolbar button.bj-catalog-sort-submit:hover {
	background: var(--bj-ui-deep, #07506e);
	color: #fff;
}
body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-toolbar button.bj-catalog-sort-submit:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
	box-shadow: 0 0 0 4px var(--bj-ui-action, #007aa6);
}
@media (max-width: 1023px) {
	body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-filters h2.bj-catalog-filters__heading {
		font-size: 17px;
	}
}

/* Golf 4 mobile QA: at 400px, two columns produce ~170px cards and
   squeeze the 44px quantity targets and copy. Switch to comfortable
   single-column cards until a two-column card is wide enough. */
@media (max-width: 539px) {
	:is(body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-results, body.single-product .bj-catalog-related-results) ul.products,
body.search .bj-golf5-search-results ul.products {
		grid-template-columns: minmax(0, 1fr);
	}
}


/* Golf 4 Flight Deck catalog layout and accessible facet accordions. */
body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-shell {
	width: 100%;
	max-width: 1280px;
	min-width: 0;
	margin: 0;
}
body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-shell > .bj-catalog-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 54px;
	margin: 4px 0 0;
	padding: 0 0 22px;
}
body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-shell > .bj-catalog-toolbar .bj-catalog-count {
	color: var(--bj-ui-ink, #063649);
	font-size: 15px;
	font-weight: 700;
}
body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-shell .bj-catalog-layout {
	grid-template-columns: 244px minmax(0, 1fr);
	column-gap: 24px;
	padding-top: 20px;
	border-top: 1px solid #e5e3de;
}
body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-filters {
	top: 112px;
}
body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-filters__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin: 0 0 15px;
}
body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-filters h2.bj-catalog-filters__heading {
	margin: 0;
	padding: 0;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.45;
}
body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-reset-link {
	color: var(--bj-ui-action, #007aa6);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.5;
	text-align: right;
}
body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-facet {
	display: block;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-top: 1px solid #e9e7e2;
}
body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-facet > summary.bj-catalog-facet__title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	min-height: 49px;
	margin: 0;
	padding: 14px 0 10px;
	color: var(--bj-ui-ink, #063649);
	font: inherit;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
	line-height: 1.4;
	text-transform: uppercase;
	cursor: pointer;
	list-style: none;
	user-select: none;
}
body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-facet > summary.bj-catalog-facet__title::-webkit-details-marker {
	display: none;
}
body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-facet > summary.bj-catalog-facet__title::after {
	content: '';
	flex: 0 0 7px;
	width: 7px;
	height: 7px;
	margin: 0 4px 4px 0;
	border-right: 1.6px solid var(--bj-ui-ink, #063649);
	border-bottom: 1.6px solid var(--bj-ui-ink, #063649);
	transform: rotate(45deg);
	transition: transform 150ms ease;
}
body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-facet[open] > summary.bj-catalog-facet__title::after {
	margin-top: 5px;
	transform: rotate(225deg);
}
body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-facet > summary.bj-catalog-facet__title:focus-visible {
	outline: 2px solid var(--bj-ui-action, #007aa6);
	outline-offset: 3px;
	border-radius: 4px;
}
body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-facet__choices {
	max-height: 234px;
	margin: 0 0 12px;
	padding: 0 4px 2px 0;
	overflow-y: auto;
	gap: 0;
}
body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-filter-choice {
	min-height: 38px;
	padding: 6px 0;
	font-size: 13px;
	line-height: 1.5;
}
body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-filter-choice input {
	width: 16px;
	height: 16px;
}
body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-filter-actions {
	gap: 12px;
	padding-top: 18px;
}
body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-filter-actions .bj-button {
	min-height: 44px;
	font-size: 13px;
}
body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-toolbar .bj-catalog-ordering select {
	border-radius: 8px;
}
@media (max-width: 1023px) {
	body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-shell .bj-catalog-layout {
		grid-template-columns: 190px minmax(0, 1fr);
		column-gap: 20px;
	}
}
@media (max-width: 767px) {
	body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-shell > .bj-catalog-toolbar {
		flex-wrap: wrap;
		gap: 12px;
		margin: 0;
		padding-bottom: 16px;
	}
	body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-shell .bj-catalog-layout {
		display: flex;
		flex-direction: column;
		gap: 18px;
		padding-top: 15px;
	}
	body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-filters__top {
		margin-bottom: 0;
	}
	body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-filters h2.bj-catalog-filters__heading {
		font-size: 15px;
	}
	body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-filters__toggle {
		order: 3;
		flex: 0 0 100%;
		width: 100%;
	}
	body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-filters__panel {
		width: 100%;
	}
	body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-facet__choices {
		max-height: 250px;
	}
	/* Golf 4 accepted mobile UX: every product category is visible as part of
	 * the page scroll. Only Categorie loses its own scroll container; other
	 * filters keep their compact existing behavior. */
	body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-facet--categories .bj-catalog-facet__choices {
		max-height: none;
		overflow-y: visible;
	}
}
@media (prefers-reduced-motion: reduce) {
	body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-facet > summary.bj-catalog-facet__title::after {
		transition: none;
	}
}


/* Enhanced sorting matches the single control in the Flight Deck. */
body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-toolbar .bj-catalog-ordering--enhanced .bj-catalog-sort-submit {
	display: none;
}
body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-toolbar .bj-catalog-ordering--enhanced select {
	min-width: 208px;
	min-height: 44px;
	padding: 9px 30px 9px 14px;
}
@media (max-width: 479px) {
	body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-toolbar .bj-catalog-ordering--enhanced select {
		min-width: 0;
		width: 100%;
	}
	body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-toolbar .bj-catalog-ordering {
		width: 100%;
	}
}


/* Real product feature filters, using the same visual system as term facets. */
body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-feature-choices {
	display: flex;
	flex-direction: column;
	gap: 0;
	min-width: 0;
	margin: 0 0 12px;
	padding: 0;
	border: 0;
}
body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-feature-choices input[type="radio"] {
	width: 16px;
	height: 16px;
	margin: 0;
	accent-color: var(--bj-ui-action, #007aa6);
	cursor: pointer;
}
body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-feature-choices label:has(input:focus-visible) {
	outline: 2px solid var(--bj-ui-action, #007aa6);
	outline-offset: 2px;
	border-radius: 4px;
}


/* Golf 4 price VAT indication and productcode, sourced from real WooCommerce data. */
:is(body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-results, body.single-product .bj-catalog-related-results) ul.products li.product .bj-catalog-product-sku,
/* Golf 4 price VAT indication and productcode, sourced from real WooCommerce data. */
body.search .bj-golf5-search-results ul.products li.product .bj-catalog-product-sku {
	display: block;
	margin: 1px 0 6px;
	color: var(--bj-ui-ink, #063649);
	font-size: 11px;
	font-weight: 500;
	line-height: 1.45;
}
:is(body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-results, body.single-product .bj-catalog-related-results) ul.products li.product .bj-catalog-product-sku--missing,
body.search .bj-golf5-search-results ul.products li.product .bj-catalog-product-sku--missing {
	color: var(--bj-ui-error, #b5332b);
}
:is(body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-results, body.single-product .bj-catalog-related-results) ul.products li.product .bj-product-vat-note,
body.search .bj-golf5-search-results ul.products li.product .bj-product-vat-note {
	display: block;
	margin: 0 0 10px;
	color: var(--bj-ui-ink, #063649);
	font-size: 12px;
	font-weight: 400;
	line-height: 1.5;
}
:is(body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-results, body.single-product .bj-catalog-related-results) ul.products li.product .price,
body.search .bj-golf5-search-results ul.products li.product .price {
	margin-bottom: 3px;
}
:is(body:is(.woocommerce-shop, .tax-product_cat), body.single-product .bj-catalog-related-results) .bj-catalog-rental-form .bj-qty-info__note:empty,
body.search .bj-golf5-search-results .bj-catalog-rental-form .bj-qty-info__note:empty {
	display: none;
}

/* Golf 4: live filtering. Keep the native submit as a no-JavaScript fallback. */
body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-filter-form--enhanced .bj-catalog-filter-actions {
	display: none;
}
body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-is-loading .bj-catalog-results {
	opacity: .55;
	pointer-events: none;
	transition: opacity 160ms ease;
}
body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-is-loading .bj-catalog-count {
	color: var(--bj-ui-ink, #063649);
}
:is(body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-results, body.single-product .bj-catalog-related-results),
body.search .bj-golf5-search-results {
	scroll-margin-top: 120px;
}
@media (prefers-reduced-motion: reduce) {
	body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-is-loading .bj-catalog-results {
		transition: none;
	}
}

/* Golf 4: actual product counts for each selectable WooCommerce facet. */
body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-filter-choice .bj-catalog-filter-choice__count {
	flex: 0 0 auto;
	margin-left: auto;
	padding-left: 6px;
	color: var(--bj-ui-ink, #063649);
	font-size: 12px;
	font-weight: 400;
	font-variant-numeric: tabular-nums;
	line-height: 1.45;
	white-space: nowrap;
}

/* Golf 4: compact rental-price fields, matching the Flight Deck.
   The single visible border belongs to the wrapper, never the text input.
   Explicit input overrides keep Elementor / WooCommerce default form styles
   from drawing a second rounded rectangle inside each price field. */
body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-price-filter {
	padding: 4px 0 16px;
}
body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-price-filter__description,
body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-price-filter__footnote {
	margin: 0;
	color: var(--bj-ui-ink, #063649);
	font-size: 12px;
	font-weight: 400;
	line-height: 1.45;
}
body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-price-filter__description {
	margin-bottom: 12px;
}
body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-price-filter__footnote {
	margin-top: 10px;
	font-size: 11px;
}
body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-price-filter__inputs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	width: 100%;
}
body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-price-filter__field {
	display: block;
	min-width: 0;
	margin: 0;
	padding: 0;
	color: var(--bj-ui-ink, #063649);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
}
body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-price-filter__field > span:first-child {
	display: block;
	margin: 0 0 6px;
}
body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-price-filter__input-wrap {
	display: flex;
	align-items: center;
	gap: 7px;
	width: 100%;
	min-width: 0;
	height: 46px;
	min-height: 46px;
	margin: 0;
	padding: 0 10px;
	border: 1px solid var(--bj-ui-border-soft, #d9dadd);
	border-radius: 8px;
	background: #fff;
	box-shadow: none;
	box-sizing: border-box;
}
body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-price-filter__input-wrap > span:first-child {
	flex: 0 0 auto;
	color: var(--bj-ui-ink, #063649);
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
}
/* Stronger specificity than the theme's generic input[type=text] selectors. */
body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-filter-form .bj-catalog-price-filter__input-wrap input.bj-catalog-price-input[type="text"] {
	-webkit-appearance: none;
	appearance: none;
	display: block;
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	height: 42px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	outline: none;
	box-shadow: none;
	background: transparent;
	background-image: none;
	color: var(--bj-ui-ink, #063649);
	font: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	font-variant-numeric: tabular-nums;
	text-align: left;
	box-sizing: border-box;
}
body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-filter-form .bj-catalog-price-filter__input-wrap input.bj-catalog-price-input[type="text"]:focus,
body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-filter-form .bj-catalog-price-filter__input-wrap input.bj-catalog-price-input[type="text"]:focus-visible {
	border: 0;
	outline: none;
	box-shadow: none;
	background: transparent;
}
body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-price-input::placeholder {
	color: #8b8d92;
	opacity: 1;
}
body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-price-filter__input-wrap:focus-within {
	border-color: var(--bj-ui-action, #007aa6);
	outline: none;
	box-shadow: 0 0 0 2px rgba(0, 122, 166, .12);
}
body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-price-filter__input-wrap:has(.bj-catalog-price-input[aria-invalid="true"]) {
	border-color: #a52727;
}
body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-price-input[aria-invalid="true"] {
	color: #a52727;
}
body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-price-filter__error {
	margin: 10px 0 0;
	color: #a52727;
	font-size: 12px;
	line-height: 1.45;
}
body:is(.woocommerce-shop, .tax-product_cat) .bj-catalog-price-filter__error[hidden] {
	display: none;
}
