/* Exhibit RSGDX — custom-storefront.css — v7
   v7: ribbon color brightened from pastel #c0726e to a bolder true red
       (#e0322a); "Back Soon" products now render a primary-style link
       button (.exhibitrsgdx-store__product-btn--backsoon) instead of the
       disabled out-of-stock button.
   v6: ribbon reworked to proper 45deg corner-banner technique; pastel red
       (#c0726e); width-based centering replaces offset translateX approach.
   v5: exhibitrsgdx-store__customers-wrap added — constrains the customers
       section to match store body spacing.
   v4: font-family explicit on all form elements; filter accordion switched to
   max-height transition (FAQ pattern); grid border-left separator desktop-only;
   body gap → 0 (filter right-padding + grid padding-left create the visual gap);
   product card padding added so image is inset; button shrinks to content width.
   Store page styles. Scoped to #exhibitrsgdx-store with an ID anchor
   for the same specificity strategy as #exhibitrsgdx-main — this wins
   over Astra/Elementor/rsgdx class-only selectors without !important.
   Full-bleed breakout matches the homepage pattern exactly.
   Buttons, typography, colors all mirror custom-style.css. */

/* ============================================================
   RESET — scoped, same as #exhibitrsgdx-main
   ============================================================ */

#exhibitrsgdx-store,
#exhibitrsgdx-store *,
#exhibitrsgdx-store *::before,
#exhibitrsgdx-store *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

/* ============================================================
   FULL-BLEED BREAKOUT — same technique as homepage
   ============================================================ */

#exhibitrsgdx-store {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	background-color: var(--exhibitrsgdx-color-bg);
	color: var(--exhibitrsgdx-color-text);
	font-family: var(--exhibitrsgdx-font-sans);
	font-size: var(--exhibitrsgdx-text-base);
	line-height: 1.6;
	min-height: 100vh;
}

#exhibitrsgdx-store h1,
#exhibitrsgdx-store h2,
#exhibitrsgdx-store h3,
#exhibitrsgdx-store h4,
#exhibitrsgdx-store h5,
#exhibitrsgdx-store h6 {
	font-weight: 600;
	line-height: 1.3;
	color: var(--exhibitrsgdx-color-text);
	margin-bottom: var(--exhibitrsgdx-space-4);
}

#exhibitrsgdx-store p {
	margin-bottom: var(--exhibitrsgdx-space-4);
}

#exhibitrsgdx-store a {
	color: var(--exhibitrsgdx-color-primary);
	text-decoration: none;
	transition: color var(--exhibitrsgdx-transition);
}

#exhibitrsgdx-store a:hover,
#exhibitrsgdx-store a:focus {
	color: var(--exhibitrsgdx-color-primary-hover);
}

#exhibitrsgdx-store img {
	max-width: 100%;
	display: block;
}

#exhibitrsgdx-store input,
#exhibitrsgdx-store select,
#exhibitrsgdx-store textarea,
#exhibitrsgdx-store button {
	font-family: var(--exhibitrsgdx-font-sans);
	cursor: pointer;
}

/* ============================================================
   BUTTONS — duplicated from custom-style.css scoped to this ID
   (same reason as #exhibitrsgdx-footer duplication — separate DOM subtree)
   ============================================================ */

#exhibitrsgdx-store .exhibitrsgdx-btn {
	display: inline-block;
	font-family: var(--exhibitrsgdx-font-sans);
	font-weight: 700;
	font-size: 12px;
	padding: 6px 20px;
	border-radius: var(--exhibitrsgdx-radius-button);
	text-transform: uppercase;
	letter-spacing: 0.03em;
	border: 1px solid transparent;
	cursor: pointer;
	transition: background var(--exhibitrsgdx-transition), color var(--exhibitrsgdx-transition), border-color var(--exhibitrsgdx-transition);
}

#exhibitrsgdx-store .exhibitrsgdx-btn--primary {
	background: var(--exhibitrsgdx-btn-color, var(--exhibitrsgdx-color-primary));
	color: #fff;
	border-color: var(--exhibitrsgdx-btn-color, var(--exhibitrsgdx-color-primary));
}

#exhibitrsgdx-store .exhibitrsgdx-btn--primary:hover {
	background: #000;
	color: #fff;
	border-color: var(--exhibitrsgdx-btn-color, var(--exhibitrsgdx-color-primary));
}

#exhibitrsgdx-store .exhibitrsgdx-btn--secondary {
	background: transparent;
	color: #fff;
	border-color: #fff;
}

#exhibitrsgdx-store .exhibitrsgdx-btn--secondary:hover {
	background: #000;
	color: #fff;
	border-color: #fff;
}

/* ============================================================
   HEADER
   ============================================================ */

#exhibitrsgdx-store .exhibitrsgdx-store__header {
	max-width: var(--exhibitrsgdx-content-max-width);
	margin: 0 auto;
	padding: var(--exhibitrsgdx-space-6) var(--exhibitrsgdx-space-6) 0;
}

#exhibitrsgdx-store .exhibitrsgdx-store__title {
	font-size: var(--exhibitrsgdx-text-3xl);
	font-weight: 700;
	margin-bottom: var(--exhibitrsgdx-space-3);
}

#exhibitrsgdx-store .exhibitrsgdx-store__description {
	color: var(--exhibitrsgdx-color-text-muted);
	margin-bottom: var(--exhibitrsgdx-space-4);
}

#exhibitrsgdx-store .exhibitrsgdx-store__divider {
	border: none;
	border-top: 1px solid var(--exhibitrsgdx-color-border);
	margin: var(--exhibitrsgdx-space-4) 0 0;
}

/* ============================================================
   CATEGORY GRIDS
   ============================================================ */

#exhibitrsgdx-store .exhibitrsgdx-store__categories {
	max-width: var(--exhibitrsgdx-content-max-width);
	margin: 0 auto;
	padding: var(--exhibitrsgdx-space-5) var(--exhibitrsgdx-space-6);
}

#exhibitrsgdx-store .exhibitrsgdx-store__categories-grid {
	display: grid;
	grid-template-columns: repeat( auto-fill, minmax( 250px, 1fr ) );
	gap: var(--exhibitrsgdx-space-3);
}

#exhibitrsgdx-store .exhibitrsgdx-store__category-item {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: var(--exhibitrsgdx-color-text);
	background: none;
	overflow: hidden;
	transition: opacity var(--exhibitrsgdx-transition);
}

#exhibitrsgdx-store .exhibitrsgdx-store__category-item:hover {
	color: var(--exhibitrsgdx-color-text);
	opacity: 0.8;
}

#exhibitrsgdx-store .exhibitrsgdx-store__category-image {
	width: 100%;
	height: 160px;
	overflow: hidden;
	background: var(--exhibitrsgdx-color-surface-alt);
	flex-shrink: 0;
	transition: ease .3s;
}

#exhibitrsgdx-store .exhibitrsgdx-store__category-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

#exhibitrsgdx-store .exhibitrsgdx-store__category-item:hover .exhibitrsgdx-store__category-image {
	transform: scale(1.1);
	transition: ease .3s;
}

#exhibitrsgdx-store .exhibitrsgdx-store__category-item:hover .exhibitrsgdx-store__category-image img {
	transform: scale( 1.04 );
	transition: ease .3s;
}

#exhibitrsgdx-store .exhibitrsgdx-store__category-name {
	font-size: var(--exhibitrsgdx-text-sm);
	font-weight: 500;
	padding: 5px 0 0 0;
}

/* ============================================================
   BODY — filter sidebar + product grid
   ============================================================ */

#exhibitrsgdx-store .exhibitrsgdx-store__body {
	max-width: var(--exhibitrsgdx-content-max-width);
	margin: 0 auto;
	padding: var(--exhibitrsgdx-space-5) var(--exhibitrsgdx-space-6);
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 0;
	align-items: start;
}

/* ============================================================
   FILTER SIDEBAR
   ============================================================ */

#exhibitrsgdx-store .exhibitrsgdx-store__filter {
	position: sticky;
	top: var(--exhibitrsgdx-space-5);
	padding-right: var(--exhibitrsgdx-space-6);
}

#exhibitrsgdx-store .exhibitrsgdx-store__filter-close,
#exhibitrsgdx-store .exhibitrsgdx-store__filter-overlay {
	display: none;
}

#exhibitrsgdx-store .exhibitrsgdx-store__filter-head {
	display: flex;
	align-items: center;
	gap: var(--exhibitrsgdx-space-3);
	margin-bottom: var(--exhibitrsgdx-space-3);
}

#exhibitrsgdx-store .exhibitrsgdx-store__filter-title {
	display: flex;
	align-items: center;
	gap: var(--exhibitrsgdx-space-2);
	font-size: var(--exhibitrsgdx-text-base);
	font-weight: 700;
	margin: 0;
	color: var(--exhibitrsgdx-color-text);
}

#exhibitrsgdx-store .exhibitrsgdx-store__filter-divider {
	border: none;
	border-top: 1px solid var(--exhibitrsgdx-color-border);
	margin-bottom: var(--exhibitrsgdx-space-4);
}

/* Sits beside the "Filters" label in a muted grey — reads as a link/action,
   not a second label. */
#exhibitrsgdx-store .exhibitrsgdx-store__filter-clear {
	background: none;
	border: none;
	color: var(--exhibitrsgdx-color-text-muted);
	font-family: var(--exhibitrsgdx-font-sans);
	font-size: var(--exhibitrsgdx-text-sm);
	font-weight: 400;
	cursor: pointer;
	text-decoration: underline;
	padding: 0;
	margin-left: auto;
}

#exhibitrsgdx-store .exhibitrsgdx-store__filter-clear:hover {
	color: var(--exhibitrsgdx-color-text);
}

/* Desktop collapse toggle — hidden on mobile, where the drawer close (x)
   already handles dismissal. */
#exhibitrsgdx-store .exhibitrsgdx-store__filter-collapse {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: 1px solid var(--exhibitrsgdx-color-border);
	border-radius: var(--exhibitrsgdx-radius-md);
	color: var(--exhibitrsgdx-color-text-muted);
	width: 28px;
	height: 28px;
	flex-shrink: 0;
	cursor: pointer;
	transition: color var(--exhibitrsgdx-transition), border-color var(--exhibitrsgdx-transition);
}

#exhibitrsgdx-store .exhibitrsgdx-store__filter-collapse:hover {
	color: var(--exhibitrsgdx-color-text);
	border-color: var(--exhibitrsgdx-color-text);
}

/* Reopen affordance — lives in the grid sort bar, only shown once collapsed */
#exhibitrsgdx-store .exhibitrsgdx-store__filter-reopen {
	display: none;
	align-items: center;
	gap: var(--exhibitrsgdx-space-2);
	background: var(--exhibitrsgdx-color-surface);
	border: 1px solid var(--exhibitrsgdx-color-border);
	color: var(--exhibitrsgdx-color-text);
	padding: 8px 12px;
	font-family: var(--exhibitrsgdx-font-sans);
	font-size: var(--exhibitrsgdx-text-sm);
	cursor: pointer;
	border-radius: var(--exhibitrsgdx-radius-md);
}

#exhibitrsgdx-store.is-filter-collapsed .exhibitrsgdx-store__filter-reopen {
	display: inline-flex;
}

/* Filter accordion — matches FAQ section animation */

#exhibitrsgdx-store .exhibitrsgdx-store__filter-group {
	border-top: 1px solid var(--exhibitrsgdx-color-border);
}

#exhibitrsgdx-store .exhibitrsgdx-store__filter-group:last-child {
	border-bottom: 1px solid var(--exhibitrsgdx-color-border);
}

#exhibitrsgdx-store .exhibitrsgdx-store__filter-group-header {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: var(--exhibitrsgdx-space-4);
	cursor: pointer;
	font-weight: 600;
	font-size: var(--exhibitrsgdx-text-sm);
	padding: var(--exhibitrsgdx-space-4) 0;
	user-select: none;
	color: var(--exhibitrsgdx-color-text);
	background: none;
	border: none;
	text-align: left;
	transition: color var(--exhibitrsgdx-transition);
}

#exhibitrsgdx-store .exhibitrsgdx-store__filter-group-header:hover {
	color: var(--exhibitrsgdx-color-primary);
}

#exhibitrsgdx-store .exhibitrsgdx-store__filter-group-header i {
	flex: 0 0 auto;
	font-size: 13px;
	color: var(--exhibitrsgdx-color-primary);
	transition: transform var(--exhibitrsgdx-transition);
}

#exhibitrsgdx-store .exhibitrsgdx-store__filter-group.is-open .exhibitrsgdx-store__filter-group-header i {
	transform: rotate(180deg);
}

/* Children use max-height transition — same technique as FAQ answers */
#exhibitrsgdx-store .exhibitrsgdx-store__filter-group-children {
	display: flex;
	flex-direction: column;
	gap: var(--exhibitrsgdx-space-2);
	overflow: hidden;
	max-height: 0;
	transition: max-height 0.25s ease;
}

#exhibitrsgdx-store .exhibitrsgdx-store__filter-group.is-open .exhibitrsgdx-store__filter-group-children {
	padding-bottom: var(--exhibitrsgdx-space-4);
}

#exhibitrsgdx-store .exhibitrsgdx-store__filter-child {
	display: flex;
	align-items: center;
	gap: var(--exhibitrsgdx-space-2);
	font-size: var(--exhibitrsgdx-text-sm);
	cursor: pointer;
	color: var(--exhibitrsgdx-color-text-muted);
}

#exhibitrsgdx-store .exhibitrsgdx-store__filter-child:hover {
	color: var(--exhibitrsgdx-color-text);
}

#exhibitrsgdx-store .exhibitrsgdx-store__filter-child input[type="checkbox"] {
	accent-color: var(--exhibitrsgdx-color-primary);
	width: 14px;
	height: 14px;
	flex-shrink: 0;
}

/* ============================================================
   PRODUCT GRID — sort bar + results
   ============================================================ */

#exhibitrsgdx-store .exhibitrsgdx-store__grid {
	position: relative;
}

@media ( min-width: 768px ) {
	#exhibitrsgdx-store .exhibitrsgdx-store__grid {
		border-left: 1px solid var(--exhibitrsgdx-color-border);
		padding-left: var(--exhibitrsgdx-space-6);
	}
}

#exhibitrsgdx-store .exhibitrsgdx-store__grid-loader {
	display: none;
	position: absolute;
	inset: 0;
	background: rgba(17,17,17,0.7);
	z-index: 10;
	align-items: flex-start;
	justify-content: center;
	padding-top: 80px;
}

#exhibitrsgdx-store .exhibitrsgdx-store__grid-loader.is-loading {
	display: flex;
}

#exhibitrsgdx-store .exhibitrsgdx-store__loader-spinner {
	width: 32px;
	height: 32px;
	border: 3px solid var(--exhibitrsgdx-color-border);
	border-top-color: var(--exhibitrsgdx-color-primary);
	border-radius: 50%;
	animation: exhibitrsgdx-spin 0.7s linear infinite;
}

@keyframes exhibitrsgdx-spin {
	to { transform: rotate(360deg); }
}

#exhibitrsgdx-store .exhibitrsgdx-store__sort-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--exhibitrsgdx-space-4);
	margin-bottom: var(--exhibitrsgdx-space-4);
	flex-wrap: wrap;
}

#exhibitrsgdx-store .exhibitrsgdx-store__sort-controls {
	display: flex;
	align-items: center;
	gap: var(--exhibitrsgdx-space-3);
	flex-wrap: wrap;
}

#exhibitrsgdx-store .exhibitrsgdx-store__sort-select {
	display: inline-block;
	width: auto;
	min-width: 150px;
	padding: 8px 12px;
	border: 1px solid var(--exhibitrsgdx-color-border);
	background: var(--exhibitrsgdx-color-surface);
	color: var(--exhibitrsgdx-color-text);
	font-family: var(--exhibitrsgdx-font-sans);
	font-size: var(--exhibitrsgdx-text-sm);
	cursor: pointer;
	border-radius: 0;
}

#exhibitrsgdx-store .exhibitrsgdx-store__mobile-filter-toggle {
	display: none;
	align-items: center;
	gap: var(--exhibitrsgdx-space-2);
	background: var(--exhibitrsgdx-color-surface);
	border: 1px solid var(--exhibitrsgdx-color-border);
	color: var(--exhibitrsgdx-color-text);
	padding: 8px 12px;
	font-family: var(--exhibitrsgdx-font-sans);
	font-size: var(--exhibitrsgdx-text-sm);
	cursor: pointer;
	border-radius: var(--exhibitrsgdx-radius-md);
}

/* Product cards — 3 columns */

#exhibitrsgdx-store .exhibitrsgdx-store__product-grid {
	display: grid;
	grid-template-columns: repeat( 3, 1fr );
	gap: var(--exhibitrsgdx-space-4);
}

#exhibitrsgdx-store .exhibitrsgdx-store__product {
	background: var(--exhibitrsgdx-color-surface);
	display: flex;
	flex-direction: column;
	padding: var(--exhibitrsgdx-space-3);
	gap: var(--exhibitrsgdx-space-2);
}

#exhibitrsgdx-store .exhibitrsgdx-store__product-inner {
	display: block;
	text-decoration: none;
	color: var(--exhibitrsgdx-color-text);
}

#exhibitrsgdx-store .exhibitrsgdx-store__product-inner:hover {
	color: var(--exhibitrsgdx-color-text);
}

#exhibitrsgdx-store .exhibitrsgdx-store__product-image {
	width: 100%;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: var(--exhibitrsgdx-color-bg);
}

#exhibitrsgdx-store .exhibitrsgdx-store__product-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

#exhibitrsgdx-store .exhibitrsgdx-store__product-inner:hover .exhibitrsgdx-store__product-image img {
	transform: scale(1.04);
}

#exhibitrsgdx-store .exhibitrsgdx-store__product-title {
	font-size: var(--exhibitrsgdx-text-base);
	font-weight: 600;
	padding: var(--exhibitrsgdx-space-2) 0 0;
	margin: 0;
	color: var(--exhibitrsgdx-color-text);
}

#exhibitrsgdx-store .exhibitrsgdx-store__product-price {
	padding: 0;
	font-size: var(--exhibitrsgdx-text-sm);
	color: var(--exhibitrsgdx-color-text-muted);
	margin: 0;
}

/* Button shrinks to content width, pushed to bottom of the flex card */
#exhibitrsgdx-store .exhibitrsgdx-store__product-btn {
	margin-top: auto;
	align-self: flex-start;
	text-decoration: none;
}

/* Pagination */

#exhibitrsgdx-store .exhibitrsgdx-store__pagination {
	display: flex;
	gap: var(--exhibitrsgdx-space-2);
	flex-wrap: wrap;
	margin-top: var(--exhibitrsgdx-space-5);
}

#exhibitrsgdx-store .exhibitrsgdx-store__page-btn {
	background: var(--exhibitrsgdx-color-surface);
	border: none;
	border-radius: 0;
	width: 40px;
	height: 40px;
	font-family: var(--exhibitrsgdx-font-sans);
	font-size: var(--exhibitrsgdx-text-sm);
	color: var(--exhibitrsgdx-color-text);
	cursor: pointer;
	transition: background var(--exhibitrsgdx-transition), color var(--exhibitrsgdx-transition);
}

#exhibitrsgdx-store .exhibitrsgdx-store__page-btn:hover,
#exhibitrsgdx-store .exhibitrsgdx-store__page-btn.is-active {
	background: var(--exhibitrsgdx-color-primary);
	color: #fff;
}

#exhibitrsgdx-store .exhibitrsgdx-store__scroll-top {
	margin-top: var(--exhibitrsgdx-space-4);
	font-size: var(--exhibitrsgdx-text-sm);
	color: var(--exhibitrsgdx-color-text-muted);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: none;
	border: none;
	font-family: var(--exhibitrsgdx-font-sans);
	transition: color var(--exhibitrsgdx-transition);
}

#exhibitrsgdx-store .exhibitrsgdx-store__scroll-top:hover {
	color: var(--exhibitrsgdx-color-text);
}

#exhibitrsgdx-store .exhibitrsgdx-store__no-results {
	padding: var(--exhibitrsgdx-space-6);
	text-align: center;
	color: var(--exhibitrsgdx-color-text-muted);
	font-size: var(--exhibitrsgdx-text-base);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
	#exhibitrsgdx-store .exhibitrsgdx-store__body {
		grid-template-columns: 240px 1fr;
	}
	#exhibitrsgdx-store .exhibitrsgdx-store__product-grid {
		grid-template-columns: repeat( 2, 1fr );
	}
}

@media (max-width: 767px) {
	#exhibitrsgdx-store .exhibitrsgdx-store__body {
		grid-template-columns: 1fr;
	}

	/* Filter — slide-in drawer */
	#exhibitrsgdx-store .exhibitrsgdx-store__filter {
		position: fixed;
		top: 0;
		left: -100%;
		width: 280px;
		height: 100%;
		background: var(--exhibitrsgdx-color-bg);
		z-index: 1000;
		padding: var(--exhibitrsgdx-space-5);
		padding-right: var(--exhibitrsgdx-space-5);
		overflow-y: auto;
		transition: left 0.3s ease;
	}

	#exhibitrsgdx-store .exhibitrsgdx-store__filter.is-open {
		left: 0;
	}

	#exhibitrsgdx-store .exhibitrsgdx-store__filter-overlay {
		display: block;
		position: fixed;
		inset: 0;
		background: rgba(0,0,0,0.6);
		z-index: 999;
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.3s ease;
	}

	#exhibitrsgdx-store .exhibitrsgdx-store__filter-overlay.is-open {
		opacity: 1;
		pointer-events: auto;
	}

	#exhibitrsgdx-store .exhibitrsgdx-store__filter-close {
		display: flex;
		justify-content: flex-end;
		cursor: pointer;
		margin-bottom: var(--exhibitrsgdx-space-4);
		font-size: 18px;
		color: var(--exhibitrsgdx-color-text-muted);
		background: none;
		border: none;
	}

	#exhibitrsgdx-store .exhibitrsgdx-store__mobile-filter-toggle {
		display: flex;
	}

	#exhibitrsgdx-store .exhibitrsgdx-store__product-grid {
		grid-template-columns: repeat( 2, 1fr );
	}
}

@media (max-width: 480px) {
	#exhibitrsgdx-store .exhibitrsgdx-store__product-grid {
		grid-template-columns: 1fr;
	}

	#exhibitrsgdx-store .exhibitrsgdx-store__header {
		padding: var(--exhibitrsgdx-space-5) var(--exhibitrsgdx-space-4) 0;
	}

	#exhibitrsgdx-store .exhibitrsgdx-store__body {
		padding: 0 var(--exhibitrsgdx-space-4) var(--exhibitrsgdx-space-6);
	}

	#exhibitrsgdx-store .exhibitrsgdx-store__categories {
		padding: var(--exhibitrsgdx-space-4);
	}
}

/* ============================================================
   CUSTOMERS SECTION WRAPPER
   Constrains the section to the same max-width and horizontal
   padding as .exhibitrsgdx-store__body. The section itself
   handles vertical spacing internally (60px top/bottom padding).
   ============================================================ */

#exhibitrsgdx-store .exhibitrsgdx-store__customers-wrap {
	max-width: var(--exhibitrsgdx-content-max-width);
	margin: 0 auto;
	padding: 0 var(--exhibitrsgdx-space-6);
}

@media (max-width: 480px) {
	#exhibitrsgdx-store .exhibitrsgdx-store__customers-wrap {
		padding: 0 var(--exhibitrsgdx-space-4);
	}
}

/* ============================================================
   OUT OF STOCK — ribbon badge + disabled button
   ============================================================ */

#exhibitrsgdx-store .exhibitrsgdx-store__product-image {
	position: relative;
}

#exhibitrsgdx-store .exhibitrsgdx-store__product-ribbon {
	position: absolute;
	top: 22px;
	left: -32px;
	width: 130px;
	background: #e0322a;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 5px 0;
	text-align: center;
	transform: rotate(-45deg);
	transform-origin: center center;
	white-space: nowrap;
	z-index: 2;
	pointer-events: none;
	box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Out of stock — now always an active "View Product" link (never a
   disabled button); inherits the same quiet-by-default/orange-on-hover
   look as Add to Cart / Select Options via .exhibitrsgdx-btn--primary +
   .exhibitrsgdx-store__product-btn, this just resets the <a> decoration. */
#exhibitrsgdx-store .exhibitrsgdx-store__product-btn--outofstock {
	text-decoration: none;
}

/* ============================================================
   v2 revision — store page overhaul
   (button size consistency, custom sort dropdowns, moved search box,
   filter head/clear-all, per-filter counts, collapsible sidebar)
   ============================================================ */

/* ------------------------------------------------------------
   Consistent button size — "Select Options" (an <a>) used to be wider
   than "Add to Cart" (a <button>) because a legacy theme/plugin style
   targets the bare `button` element with different padding/line-height.
   Force both tag types to the same box model, height and full card width.
   ------------------------------------------------------------ */
#exhibitrsgdx-store .exhibitrsgdx-store__product-btn,
#exhibitrsgdx-store button.exhibitrsgdx-store__product-btn,
#exhibitrsgdx-store a.exhibitrsgdx-store__product-btn {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 40px;
	margin-top: auto;
	align-self: stretch;
	padding: 6px 20px;
	line-height: 1;
	text-decoration: none;
}

/* ------------------------------------------------------------
   Filter checkbox row — name grows to push the count to the right
   ------------------------------------------------------------ */
#exhibitrsgdx-store .exhibitrsgdx-store__filter-child-name {
	flex: 1 1 auto;
}

#exhibitrsgdx-store .exhibitrsgdx-store__filter-count {
	color: var(--exhibitrsgdx-color-text-muted);
	font-size: var(--exhibitrsgdx-text-sm);
	flex-shrink: 0;
}

/* ------------------------------------------------------------
   Custom sort dropdowns — replaces the plain <select> look. The native
   <select> is kept in the markup (hidden) purely to hold the value and
   fire 'change', so no AJAX/filter logic needed to change.
   ------------------------------------------------------------ */
#exhibitrsgdx-store .exhibitrsgdx-store__sort-select--native {
	display: none;
}

#exhibitrsgdx-store .exhibitrsgdx-store__custom-select {
	position: relative;
}

#exhibitrsgdx-store .exhibitrsgdx-store__custom-select-trigger {
	display: inline-flex;
	align-items: center;
	gap: var(--exhibitrsgdx-space-2);
	width: auto;
	min-width: 150px;
	padding: 8px 12px;
	border: 1px solid var(--exhibitrsgdx-color-border);
	background: var(--exhibitrsgdx-color-surface);
	color: var(--exhibitrsgdx-color-text);
	font-family: var(--exhibitrsgdx-font-sans);
	font-size: var(--exhibitrsgdx-text-sm);
	cursor: pointer;
	border-radius: 0;
}

#exhibitrsgdx-store .exhibitrsgdx-store__custom-select-trigger .exhibitrsgdx-store__custom-select-label {
	flex: 1 1 auto;
	text-align: left;
	white-space: nowrap;
}

#exhibitrsgdx-store .exhibitrsgdx-store__custom-select-caret {
	color: var(--exhibitrsgdx-color-text-muted);
	transition: transform var(--exhibitrsgdx-transition);
}

#exhibitrsgdx-store .exhibitrsgdx-store__custom-select.is-open .exhibitrsgdx-store__custom-select-caret {
	transform: rotate(180deg);
}

#exhibitrsgdx-store .exhibitrsgdx-store__custom-select-menu {
	display: none;
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	z-index: 20;
	min-width: 100%;
	margin: 0;
	padding: 4px 0;
	list-style: none;
	background: var(--exhibitrsgdx-color-surface);
	border: 1px solid var(--exhibitrsgdx-color-border);
	border-radius: var(--exhibitrsgdx-radius-md);
	box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

#exhibitrsgdx-store .exhibitrsgdx-store__custom-select.is-open .exhibitrsgdx-store__custom-select-menu {
	display: block;
}

#exhibitrsgdx-store .exhibitrsgdx-store__custom-select-menu li {
	display: flex;
	align-items: center;
	gap: var(--exhibitrsgdx-space-2);
	padding: 8px 12px;
	font-size: var(--exhibitrsgdx-text-sm);
	color: var(--exhibitrsgdx-color-text);
	cursor: pointer;
	white-space: nowrap;
}

#exhibitrsgdx-store .exhibitrsgdx-store__custom-select-menu li:hover {
	background: var(--exhibitrsgdx-color-border);
}

#exhibitrsgdx-store .exhibitrsgdx-store__custom-select-menu li.is-selected {
	color: var(--exhibitrsgdx-color-primary);
	font-weight: 700;
}

#exhibitrsgdx-store .exhibitrsgdx-store__custom-select-menu li i {
	width: 14px;
	text-align: center;
	color: var(--exhibitrsgdx-color-text-muted);
}

/* ------------------------------------------------------------
   Search box — moved into the grid sort bar (was the sidebar search,
   and before that the "Scroll To The Bottom" button lived here).
   ------------------------------------------------------------ */
#exhibitrsgdx-store .exhibitrsgdx-store__search-wrap {
	display: flex;
	align-items: stretch;
	flex-shrink: 0;
}

#exhibitrsgdx-store .exhibitrsgdx-store__search-input {
	width: 200px;
	max-width: 100%;
	padding: 8px 14px;
	border: 1px solid var(--exhibitrsgdx-color-border);
	border-right: none;
	background: transparent;
	color: var(--exhibitrsgdx-color-text);
	font-family: var(--exhibitrsgdx-font-sans);
	font-size: var(--exhibitrsgdx-text-sm);
	outline: none;
	box-shadow: none;
	border-radius: 0;
}

#exhibitrsgdx-store .exhibitrsgdx-store__search-input:focus {
	border-color: var(--exhibitrsgdx-color-primary);
}

#exhibitrsgdx-store .exhibitrsgdx-store__search-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	border: 1px solid var(--exhibitrsgdx-color-border);
	background: var(--exhibitrsgdx-color-surface);
	color: var(--exhibitrsgdx-color-text);
	cursor: pointer;
}

#exhibitrsgdx-store .exhibitrsgdx-store__search-btn:hover {
	background: var(--exhibitrsgdx-color-primary);
	color: #fff;
	border-color: var(--exhibitrsgdx-color-primary);
}

/* ------------------------------------------------------------
   Collapsible filter sidebar (desktop) — collapsing hands the freed
   column back to the grid and bumps it to 4 columns on the biggest
   screens. Always starts expanded on a fresh page load (no persistence).
   ------------------------------------------------------------ */
#exhibitrsgdx-store .exhibitrsgdx-store__body {
	transition: grid-template-columns 0.25s ease;
}

#exhibitrsgdx-store.is-filter-collapsed .exhibitrsgdx-store__body {
	grid-template-columns: 0px 1fr;
}

#exhibitrsgdx-store.is-filter-collapsed .exhibitrsgdx-store__filter {
	overflow: hidden;
	padding-right: 0;
	opacity: 0;
	pointer-events: none;
}

#exhibitrsgdx-store.is-filter-collapsed .exhibitrsgdx-store__grid {
	border-left: none;
	padding-left: 0;
}

@media ( min-width: 1025px ) {
	#exhibitrsgdx-store.is-filter-collapsed .exhibitrsgdx-store__product-grid {
		grid-template-columns: repeat( 4, 1fr );
	}
}

/* Collapse toggle + reopen button are desktop-only controls */
@media ( max-width: 767px ) {
	#exhibitrsgdx-store .exhibitrsgdx-store__filter-collapse,
	#exhibitrsgdx-store .exhibitrsgdx-store__filter-reopen {
		display: none !important;
	}
}

/* ============================================================
   v3 revision — mobile fixes, FA icon fix, quieter cart button
   ============================================================ */

/* ------------------------------------------------------------
   FontAwesome — force the Free-solid font explicitly. Some of our
   dropdown-menu icons were rendering as empty boxes because the
   `font: var(--fa-font-solid)` shorthand FA6 relies on wasn't resolving
   in this context; pinning font-family/weight directly is the standard
   fix and matches every other fa-solid icon already working on this page.
   ------------------------------------------------------------ */
#exhibitrsgdx-store .exhibitrsgdx-store__custom-select-menu li i.fa-solid,
#exhibitrsgdx-store .exhibitrsgdx-store__custom-select-trigger i.fa-solid,
#exhibitrsgdx-store .exhibitrsgdx-store__custom-select-caret.fa-solid {
	font-family: "Font Awesome 6 Free" !important;
	font-weight: 900 !important;
	font-style: normal !important;
}

/* ------------------------------------------------------------
   Add to Cart / Select Options — a full-width solid orange block felt
   too intense repeated across a full grid. Default state is a quieter,
   still on-brand tint (faint orange fill + orange border/text); the
   full brand orange only appears on hover/focus/active.
   ------------------------------------------------------------ */
#exhibitrsgdx-store .exhibitrsgdx-store__product-btn.exhibitrsgdx-btn--primary {
	background: var(--exhibitrsgdx-color-primary-faint);
	color: var(--exhibitrsgdx-color-primary-light);
	border-color: var(--exhibitrsgdx-color-primary);
}

#exhibitrsgdx-store .exhibitrsgdx-store__product-btn.exhibitrsgdx-btn--primary:hover,
#exhibitrsgdx-store .exhibitrsgdx-store__product-btn.exhibitrsgdx-btn--primary:focus-visible,
#exhibitrsgdx-store .exhibitrsgdx-store__product-btn.exhibitrsgdx-btn--primary:active {
	background: var(--exhibitrsgdx-color-primary);
	color: #fff;
	border-color: var(--exhibitrsgdx-color-primary);
}

/* ------------------------------------------------------------
   Category shortcut cards (store header) — always 2 per row on mobile,
   smallest screens included, instead of the auto-fill min(250px) grid
   collapsing to 1 column.
   ------------------------------------------------------------ */
@media (max-width: 767px) {
	#exhibitrsgdx-store .exhibitrsgdx-store__categories-grid {
		grid-template-columns: repeat( 2, 1fr );
		gap: var(--exhibitrsgdx-space-2);
	}

	#exhibitrsgdx-store .exhibitrsgdx-store__category-image {
		height: 110px;
	}

	#exhibitrsgdx-store .exhibitrsgdx-store__category-name {
		font-size: var(--exhibitrsgdx-text-xs);
	}
}

/* ------------------------------------------------------------
   Mobile sort bar — Filters toggle, Price and Status all fit on one row.
   Labels were already shortened to "Price" / "Status" (see markup); this
   trims padding/gaps/icon size further so three controls plus the
   search bar (full width, own row) never overflow small screens.
   ------------------------------------------------------------ */
@media (max-width: 767px) {
	#exhibitrsgdx-store .exhibitrsgdx-store__sort-bar {
		flex-direction: column;
		align-items: stretch;
	}

	#exhibitrsgdx-store .exhibitrsgdx-store__sort-controls {
		flex-wrap: nowrap;
		gap: var(--exhibitrsgdx-space-2);
	}

	#exhibitrsgdx-store .exhibitrsgdx-store__mobile-filter-toggle,
	#exhibitrsgdx-store .exhibitrsgdx-store__custom-select-trigger {
		flex: 1 1 0;
		min-width: 0;
		padding: 8px 6px;
		gap: 4px;
		font-size: var(--exhibitrsgdx-text-xs);
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	#exhibitrsgdx-store .exhibitrsgdx-store__custom-select {
		flex: 1 1 0;
		min-width: 0;
	}

	#exhibitrsgdx-store .exhibitrsgdx-store__custom-select-label {
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	#exhibitrsgdx-store .exhibitrsgdx-store__custom-select-menu {
		left: auto;
		right: 0;
		min-width: 140px;
	}

	/* Search box — full width, own row below the controls */
	#exhibitrsgdx-store .exhibitrsgdx-store__search-wrap {
		width: 100%;
	}

	#exhibitrsgdx-store .exhibitrsgdx-store__search-input {
		width: 100%;
		flex: 1 1 auto;
	}
}

/* ------------------------------------------------------------
   Filter labels with multiple categories — e.g. "Floor Dimension"
   containing both "Floor Width" and "Floor Height". Each category gets a
   small sub-heading above its own checkboxes, indented slightly so the
   hierarchy (Label > Category > options) reads clearly. When a label has
   only one category, none of this renders — see the PHP display rule.
   ------------------------------------------------------------ */
#exhibitrsgdx-store .exhibitrsgdx-store__filter-subgroup-title {
	font-size: var(--exhibitrsgdx-text-xs);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--exhibitrsgdx-color-text-muted);
	margin: var(--exhibitrsgdx-space-3) 0 var(--exhibitrsgdx-space-2);
}

#exhibitrsgdx-store .exhibitrsgdx-store__filter-subgroup-title:first-child {
	margin-top: 0;
}

#exhibitrsgdx-store .exhibitrsgdx-store__filter-child--nested {
	padding-left: var(--exhibitrsgdx-space-3);
}

/* ============================================================
   Price range filter — dual-thumb slider + number-input boxes.
   Reference image was black/white; re-themed to the store's dark
   palette (orange thumbs/fill on the existing border/surface colors).
   Reuses .exhibitrsgdx-store__filter-group / -header / -children so the
   existing accordion JS (groupHeaders) works on this section unmodified.
   ============================================================ */

#exhibitrsgdx-store .exhibitrsgdx-store__price-filter {
	padding: var(--exhibitrsgdx-space-2) 2px var(--exhibitrsgdx-space-1);
}

/* Slider — two native range inputs stacked on the same track via absolute
   positioning, each with a transparent track/fill so only their thumbs are
   visible; a separate div underneath draws the visual track + fill bar. */
#exhibitrsgdx-store .exhibitrsgdx-store__price-slider {
	position: relative;
	height: 20px;
	margin-bottom: var(--exhibitrsgdx-space-3);
}

#exhibitrsgdx-store .exhibitrsgdx-store__price-slider-track {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 2px;
	transform: translateY(-50%);
	background: var(--exhibitrsgdx-color-border);
}

#exhibitrsgdx-store .exhibitrsgdx-store__price-slider-fill {
	position: absolute;
	top: 50%;
	height: 2px;
	transform: translateY(-50%);
	background: var(--exhibitrsgdx-color-primary);
	left: 0;
	right: 0;
	pointer-events: none;
}

#exhibitrsgdx-store .exhibitrsgdx-store__price-range {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	margin: 0;
	height: 20px;
	background: transparent !important;
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	appearance: none !important;
	pointer-events: none; /* only the thumb re-enables pointer events, so the two overlapping sliders don't fight over track clicks */
}

#exhibitrsgdx-store .exhibitrsgdx-store__price-range:focus,
#exhibitrsgdx-store .exhibitrsgdx-store__price-range:focus-visible,
#exhibitrsgdx-store .exhibitrsgdx-store__price-range:active {
	outline: none !important;
	box-shadow: none !important;
	border: none !important;
}

/* Every pseudo-element a browser might draw on a range input — track,
   fill/progress and thumb — reset to fully transparent/borderless first.
   The real look (track line, orange fill, orange thumb) is drawn by the
   sibling .exhibitrsgdx-store__price-slider-track/-fill divs underneath
   and the thumb rules below; this block exists purely to strip whatever
   pill-shaped/white-ringed default the active theme or the browser's own
   modern range-input styling would otherwise show through with. */
#exhibitrsgdx-store .exhibitrsgdx-store__price-range::-webkit-slider-runnable-track {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	height: 20px;
}

#exhibitrsgdx-store .exhibitrsgdx-store__price-range::-moz-range-track {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	height: 20px;
}

#exhibitrsgdx-store .exhibitrsgdx-store__price-range::-moz-range-progress {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
}

#exhibitrsgdx-store .exhibitrsgdx-store__price-range::-moz-focus-outer {
	border: none !important;
}

#exhibitrsgdx-store .exhibitrsgdx-store__price-range::-webkit-slider-thumb {
	-webkit-appearance: none !important;
	appearance: none !important;
	pointer-events: auto;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--exhibitrsgdx-color-primary);
	border: none !important;
	cursor: pointer;
	margin-top: 2px;
	box-shadow: none !important;
}

#exhibitrsgdx-store .exhibitrsgdx-store__price-range::-moz-range-thumb {
	pointer-events: auto;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--exhibitrsgdx-color-primary);
	border: none !important;
	cursor: pointer;
	box-shadow: none !important;
}

/* Keep the top thumb (max) clickable over the bottom one (min) near the
   right edge, and vice versa near the left edge, by nudging z-index from JS
   via this class when a thumb is actively being dragged. */
#exhibitrsgdx-store .exhibitrsgdx-store__price-range--min {
	z-index: 2;
}

#exhibitrsgdx-store .exhibitrsgdx-store__price-range--max {
	z-index: 3;
}

/* Number inputs — light-grey-bordered rounded boxes with a currency prefix,
   matching the reference image's "€ [number]  to  € [number]" layout. */
#exhibitrsgdx-store .exhibitrsgdx-store__price-inputs {
	display: flex;
	align-items: center;
	gap: var(--exhibitrsgdx-space-2);
}

#exhibitrsgdx-store .exhibitrsgdx-store__price-input-box {
	display: flex;
	align-items: center;
	gap: 4px;
	flex: 1 1 0;
	min-width: 0;
	height: 30px;
	box-sizing: border-box;
	padding: 0 10px;
	border: 1px solid var(--exhibitrsgdx-color-border);
	border-radius: var(--exhibitrsgdx-radius-md);
	background: var(--exhibitrsgdx-color-surface);
}

#exhibitrsgdx-store .exhibitrsgdx-store__price-input-currency {
	color: var(--exhibitrsgdx-color-text-muted);
	font-size: var(--exhibitrsgdx-text-sm);
	flex-shrink: 0;
}

#exhibitrsgdx-store .exhibitrsgdx-store__price-input {
	width: 100%;
	min-width: 0;
	border: none;
	background: transparent;
	color: var(--exhibitrsgdx-color-text);
	font-family: var(--exhibitrsgdx-font-sans);
	font-size: var(--exhibitrsgdx-text-sm);
	outline: none;
	-moz-appearance: textfield;
}

#exhibitrsgdx-store .exhibitrsgdx-store__price-input::-webkit-outer-spin-button,
#exhibitrsgdx-store .exhibitrsgdx-store__price-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

#exhibitrsgdx-store .exhibitrsgdx-store__price-input-sep {
	color: var(--exhibitrsgdx-color-text-muted);
	font-size: var(--exhibitrsgdx-text-sm);
	flex-shrink: 0;
}
