.light {
	--category-filter-view-all-color: #134894;
	--subcategory-border-color: #ddd;
	--list-banner-bg-color: #f3f3f3;
	--list-banner-text-color: #aaa;
	--clear-filters-color: #c13030;
	--clear-filters-bg-color: #fff;
	--clear-filters-border-color: #ddd;
	--mobile-filter-button-bg: #f1f3f5;
	--mobile-filter-button-color: #25282b;
	--mobile-sheet-bg: #fff;
	--mobile-sheet-border: #e4e6e8;
	--mobile-sheet-muted: #687078;
	--mobile-sheet-row-bg: #f7f8f9;
}
.dark {
	--category-filter-view-all-color: #ffcc26;
	--subcategory-border-color: #444;
	--list-banner-bg-color: #222;
	--list-banner-text-color: #666;
	--clear-filters-color: #ffcc26;
	--clear-filters-bg-color: #000;
	--clear-filters-border-color: #555;
	--mobile-filter-button-bg: #242424;
	--mobile-filter-button-color: #f3f3f3;
	--mobile-sheet-bg: #151515;
	--mobile-sheet-border: #353535;
	--mobile-sheet-muted: #aaa;
	--mobile-sheet-row-bg: #202020;
}


.category-pad {
	display: flex;
	flex-direction: row;
	width: 100%;
}

.category-pad .filter-panel {
	width: 230px;
	flex: 0 0 auto;
	position: sticky;
	top: calc(var(--header-height) + var(--submenu-height) + 20px);
	align-self: flex-start;
	max-height: calc(100vh - var(--header-height) - var(--submenu-height) - 30px);
}
.category-pad .filter-panel-scroll {
	overflow-y: auto;
	padding-right: 20px;
	padding-left:15px;
	margin-left: -15px;
	max-height: calc(100vh - var(--header-height) - var(--submenu-height) - 30px);
	position: relative;
}
.category-pad .filter-panel-scroll::-webkit-scrollbar {
	width: 8px;
}

.category-pad .products {
	padding: 0 0 20px 50px;
	/* width: calc(100% - 270px); */
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	max-width: 100%;
}

.category-month-banner-slot {
	width:100%;
	margin:20px 0 30px;
}
.category-month-banner {
	position:relative;
	aspect-ratio:48 / 13;
	border-radius:12px;
	overflow:hidden;
	background:#03132e;
	box-shadow:0 4px 14px rgba(3, 19, 46, .12);
}
.category-month-banner > a {
	display:block;
	width:100%;
	height:100%;
}
.category-month-banner picture,
.category-month-banner img {
	display:block;
	width:100%;
	height:100%;
}
.category-month-banner img {
	object-fit:cover;
	object-position:center;
}
.category-group-show-all {
	display:block;
	margin:0 auto 10px;
	padding:9px 24px;
	border:1px solid var(--dim-d-color);
	border-radius:20px;
	background:var(--background-color);
	color:var(--hl-color);
	font-size:13px;
	font-weight:600;
	cursor:pointer;
}
.category-group-show-all:hover { border-color:var(--hl-color);background:var(--dim-fa-color); }
.category-group-show-all[hidden] { display:none; }
.category-subcategory-group .product-item[hidden] { display:none; }

.category-pad .filter-panel::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 60px;
	background: linear-gradient(
		to bottom,
		var(--background-color-transparent) 0%,
		var(--background-color) 100%
	);
	pointer-events: none;
}

.filter-panel h4 {
	font-size: 14px;
	font-weight: bold;
	color: var(--text-color);
	margin: 0 0 10px;
}
.filter-panel select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	width: 100%;
	padding: 6px 30px 6px 10px; /* Space for custom icon */
	font-size: 14px;
	border: 2px solid var(--dim-e-color);
	border-radius: 5px;
	background-color: var(--background-color);
	color: var(--dim-3-color);
	cursor: pointer;

	/* Custom icon (Unicode arrow) */
	background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23666" width="18px" height="18px"><path d="M7 10l5 5 5-5z"/></svg>')
		no-repeat;
	background-position: right 10px center;
	background-size: 20px;
}

.filter-panel .list a,
.filter-panel .list label {
	display: block;
	padding: 3px 0;
	font-size: 14px;
	color: var(--dim-3-color);
	text-decoration: none;
	cursor: pointer;
	position: relative;
}
.filter-panel .list a.level-0 {
	font-weight: 500;
	color: var(--text-color);
}
.filter-panel .list a b,
.filter-panel .list label b {
	font-weight: 500;
	color: var(--dim-9-color);
	font-size: 0.8em;
	margin-left: 5px;
	vertical-align: 1px;
}

.filter-panel .list a:hover,
.filter-panel .list label:hover {
	color: var(--text-color);
}
.filter-panel .list label:hover::before {
	color: var(--dim-9-color);
}

.filter-panel .list a.active {
	font-weight: bold;
	padding: 6px 0 6px 15px;
	margin-left:-15px;
	background-color: var(--hl-color);
	border-radius: 5px;
	color: #fff;
}

.filter-panel .filter-list-categories a.popular,
.mobile-category-links a.popular {
	position:relative;
	padding-right:26px;
}
.mobile-category-links a.active.popular {
	padding-right:26px;
}
.category-filter-popular {
	position:absolute;
	top:50%;
	right:3px;
	color:#ff6c3c;
	font-size:14px;
	transform:translateY(-50%);
}

.filter-panel .list input {
	display: none;
}
.filter-panel .list label::before {
	font-family: "Fitness1 Critical Icons", "Font Awesome 7 Pro";
	content: "\f0c8";
	font-weight: normal;
	font-size: 16px;
	color: var(--dim-9-color);
	margin-right: 7px;
	vertical-align: -1px;
}
.filter-panel .list label.active::before {
	content: "\f14a";
	color: var(--hl-color);
	font-weight: bold;
}

.filter-panel .list-in.view-all {
	max-height: 500px;
	overflow-y: hidden;
	position: relative;
}
.filter-panel .list-in.view-all::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 30px;
	background: linear-gradient(
		to bottom,
		var(--background-color-transparent) 0%,
		var(--background-color) 100%
	);
}
.filter-panel .list button.view-all {
	display: block;
	width: 100%;
	padding: 5px 0;
	font-size: 14px;
	color: var(--category-filter-view-all-color);
	text-align: center;
	background: transparent;
	border: none;
	border-radius: 5px;
	cursor: pointer;
}
.filter-panel .list button.view-all:hover {
	background: var(--category-filter-hover-bg-color);
}
.filter-panel .list button.view-all::after {
	content: "\f0d7";
	font-family: "Fitness1 Critical Icons", "Font Awesome 7 Pro";
	font-weight: 900;
	margin-left: 5px;
	color: var(--category-filter-view-all-color);
	vertical-align: -1px;
	opacity: 0.8;
}



.filter-panel #price-range-amount { color: #666; font-size: 14px; font-weight:500; margin-left: 10px; }

.list-price-range {
	width: 100%;
	margin: 30px 0;
	position: relative;
	min-height: 50px;
}

.list-price-range .slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	pointer-events: all;
	width: 24px;
	height: 24px;
	background-color: #fff;
	border-radius: 50%;
	box-shadow: 0 0 0 1px #c6c6c6;
	cursor: pointer;
}
.list-price-range .slider::-moz-range-thumb {
	-webkit-appearance: none;
	pointer-events: all;
	width: 24px;
	height: 24px;
	background-color: #fff;
	border-radius: 50%;
	box-shadow: 0 0 0 1px #c6c6c6;
	cursor: pointer;
}

.list-price-range .slider::-webkit-slider-thumb:hover { background: #f7f7f7; }

.list-price-range .slider::-webkit-slider-thumb:active {
	background-color: #389fff;
	box-shadow: 0 0 0 1px #389fff;
}

.list-price-range .slider {
	-webkit-appearance: none;
	appearance: none;
	height: 2px;
	width: 100%;
	position: absolute;
	background-color: #c6c6c6;
	pointer-events: none;
}

.list-price-range .slider.s1 { height: 0; z-index: 1; }

.clear-filters { margin: 20px 0; display: none; }
.clear-filters.active { display: block; }
.clear-filters a {
	border: 1px solid var(--clear-filters-border-color);
	border-radius: 5px;
	padding: 5px 15px;
	font-size: 14px;
	color: var(--clear-filters-color);
	text-decoration: none;
	display: inline-block;
}
.clear-filters a:hover {
	border-color: var(--clear-filters-hover-border-color);
}
.clear-filters a::before {
	content: "\f00d";
	font-family: "Fitness1 Critical Icons", "Font Awesome 7 Pro";
	font-weight: 900;
	margin-right: 5px;
	color: var(--clear-filters-hover-color);
	vertical-align: -1px;
}

.filter-buttons-mobile {
	display: none;
	flex-direction:row;
	justify-content: space-between;
	gap:2px;
	margin: 0 0 30px;
	text-align: center;
	width:100%;
}
.filter-buttons-mobile button {
	border: none;
	height:50px;
	font-size: 12px;
	font-weight: bold;
	color: var(--mobile-filter-button-color);
	background: var(--mobile-filter-button-bg);
	cursor: pointer;
	width:50%;
	text-transform: uppercase;
	position: relative;
}
.filter-buttons-mobile .filter { border-radius: 5px 0 0 5px; }
.mobile-filter-title {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
}
.filter-buttons-mobile .filter i { margin: 0; }
.filter-buttons-mobile .sort-by { border-radius: 0 5px 5px 0; }
.filter-buttons-mobile .sort-by i { margin-left: 5px; }
.filter-buttons-mobile .sort-by span { font-weight: normal; color: var(--mobile-sheet-muted); display: block; font-size:0.9em; }
.mobile-filter-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 10px;
	background: var(--hl-color);
	color: #fff;
	font-size: 11px;
	line-height: 18px;
	text-align: center;
	box-sizing: border-box;
	flex: 0 0 auto;
}
.mobile-filter-count[hidden] { display: none; }


.category-description {
	margin: 0 0 30px;
	font-size: 14px;
	color: var(--dim-3-color);
}
.category-description b {
	font-weight: 500;
}

.category-pad .subcategories {
	margin: 0 0 20px;
	position: relative;
}
.category-pad .subcategories::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 40px;
	background: linear-gradient(
		to right,
		var(--background-color-transparent) 0%,
		var(--background-color) 100%
	);
	pointer-events: none;
}
.category-pad .subcategory-scroll-list {
	padding-right: 20px;
	display: flex;
	white-space: nowrap;
	overflow-x: auto;
	scrollbar-width: none; /* Firefox */
	-ms-overflow-style: none; /* IE and Edge */
	-webkit-overflow-scrolling: touch; /* Smooth scrolling on mobile */
}
.category-pad .subcategory-scroll-list::-webkit-scrollbar {
	display: none;
}

.subcategory-scroll-button {
	position:absolute;
	top:50%;
	z-index:2;
	display:flex;
	align-items:center;
	justify-content:center;
	width:36px;
	height:36px;
	padding:0;
	border:0;
	border-radius:50%;
	background:var(--text-color);
	color:var(--background-color);
	font-size:18px;
	cursor:pointer;
	opacity:0.65;
	transform:translateY(calc(-50% - 5px));
}
.subcategory-scroll-button:hover { opacity:1; }
.subcategory-scroll-button[hidden] { display:none; }
.subcategory-scroll-left { left:6px; }
.subcategory-scroll-right { right:6px; }

.category-pad .subcategories a {
	width: 130px;
	margin: 0 10px 10px 0;
	border: 1px solid var(--subcategory-border-color);
	border-radius: 3px;
	text-decoration: none;
	padding: 10px 15px;
	display: flex;
	justify-content: center;
	align-items: center;
	flex: 0 0 auto;
}
.category-pad .subcategories a:hover {
	border-color: var(--hl-color);
}
.category-pad .subcategories p {
	align-self: center;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.3;
	color: var(--dim-3-color);
	text-align: center;

	display: -webkit-box !important;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;

	white-space: normal;
	text-overflow: ellipsis;
	word-wrap: break-word;
}


.load-more-button {
	margin: 20px 0;
	text-align: center;
	display: inline-block;
	border:1px solid #ddd;
	border-radius: 5px;
	padding: 10px 20px;
	font-size: 14px;
	color: #333;
}
.load-more-button:hover {
	background: #f7f7f7;
}
.load-more-button.loading { color: rgba(0,0,0,0); position: relative; pointer-events: none; cursor:default; }
.load-more-button.loading::after {
	content: "";
	display: block;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	border: 2px solid rgba(0,0,0,0.8);
	border-right-color:rgba(0,0,0,0.1);
	position:absolute;
	top:calc(50% - 9px); left:calc(50% - 8px);
	animation: load-more-spin 0.8s linear infinite;
}
@keyframes load-more-spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}
.load-more-button.hidden { display: none; }

.category-empty {
	display:flex;
	flex-direction:column;
	justify-content:center;
	align-items:center;
	min-height:120px;
	padding:30px 20px;
	color:var(--dim-9-color);
	text-align:center;
}
.category-empty.hidden { display:none; }
.category-empty p {
	margin:0;
	font-size:13px;
}



.mobile-category-sheet {
	display: none;
}





.list-banner {
	flex:0 0 475px;
	min-width:0;
	align-self:center;
}

.category-list-banner {
	height:350px;
	margin-bottom:5px;
	position:relative;
	overflow:hidden;
	container-name:clb;
	container-type:size;
	border-radius:12px;
	background:#f2f4f7;
	box-shadow:0 2px 10px rgba(24,38,46,.09);
	color:#fff;
}
.category-list-banner-link {
	display:block;
	width:100%;
	height:100%;
	position:relative;
	overflow:hidden;
}
.category-list-banner-image {
	width:100%;
	height:100%;
	position:absolute;
	top:0;
	right:0;
	object-fit:cover;
	object-position:center;
	transition:transform .35s ease;
}
.clb-html { display:none; }
.category-list-banner.custom-html-banner .clb-html {
	display:block !important;
	position:absolute !important;
	inset:0 !important;
	width:100% !important;
	height:100% !important;
	z-index:1 !important;
}
.category-list-banner.custom-html-banner .clb-html,
.category-list-banner.custom-html-banner .clb-html * {
	font-family:'Commissioner', Arial, sans-serif !important;
}
.category-list-banner.custom-html-banner.has-background-image .clb-html .clb-wrap,
.category-list-banner.custom-html-banner.has-background-image .clb-html .bv4-wrap {
	background-color:transparent !important;
	background-image:none !important;
}

@media (hover:hover) and (min-width:769px) {
	.category-list-banner:hover .category-list-banner-image { transform:scale(1.015); }
}
@media (prefers-reduced-motion:reduce) {
	.category-list-banner-image { transition:none; }
	.category-list-banner:hover .category-list-banner-image { transform:none; }
}

@media (max-width:1600px) {
	.list-banner { flex-basis:calc(40% - 15px); }
}
@media (max-width:1450px) {
	.list-banner { flex-basis:calc(50% - 15px); }
}
@media (max-width:1024px) {
	.list-banner { flex-basis:calc(66.666% - 15px); }
}
@media (max-width:900px) {
	.list-banner { flex-basis:calc(100% - 9px); }
}




@media (max-width: 768px) {
	.list-banner { flex-basis:calc(66.666% - 5px); }
	.category-list-banner { height:300px; }
	.category-month-banner-slot { width:100vw; margin:10px calc(50% - 50vw) 20px; }
	.category-month-banner { aspect-ratio:1; border-radius:0; box-shadow:none; }
	.category-pad .filter-panel { display: none; }
	.category-pad .products { padding: 0 0 20px; }
	.category-pad .subcategories {
		margin:0 calc(var(--side-padding) * -1) 10px;
	}
	.category-pad .subcategory-scroll-list {
		padding-right:var(--side-padding);
		padding-left:var(--side-padding);
		scroll-padding-inline:var(--side-padding);
	}
	.subcategory-scroll-button { display:none; }

	.filter-buttons-mobile { display: flex; }

	.mobile-category-sheet {
		--bottom-sheet-handle-color: var(--mobile-sheet-border);
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 1100;
		display: flex;
		flex-direction: column;
		width: 100%;
		max-height: calc(94dvh - env(safe-area-inset-top));
		background: var(--mobile-sheet-bg);
		border-radius: 18px 18px 0 0;
		box-shadow: 0 -10px 35px rgba(0, 0, 0, 0.22);
		visibility: hidden;
		pointer-events: none;
		transform: translateY(calc(100% + 30px));
		transition: transform 0.25s ease, visibility 0.25s ease;
	}
	.mobile-category-sheet.open {
		visibility: visible;
		pointer-events: auto;
		transform: translateY(var(--bottom-sheet-drag-distance, 0));
	}
	.mobile-filter-sheet {
		top: max(6dvh, env(safe-area-inset-top));
	}
	.mobile-sort-sheet {
		max-height: min(72dvh, 560px);
	}

	.mobile-sheet-header {
		position: relative;
		display: flex;
		align-items: center;
		justify-content: space-between;
		min-height: 64px;
		padding: 0 20px;
		border-bottom: 1px solid var(--mobile-sheet-border);
		flex: 0 0 auto;
	}
	.mobile-sheet-header h2 {
		margin: 8px 0 0;
		font-size: 17px;
		font-weight: 700;
		color: var(--text-color);
	}
	.mobile-sheet-header button {
		width: 44px;
		height: 44px;
		margin: 8px -10px 0 0;
		border: 0;
		border-radius: 50%;
		background: transparent;
		color: var(--mobile-sheet-muted);
		font-size: 20px;
		cursor: pointer;
	}

	.mobile-sheet-body {
		flex: 1 1 auto;
		overflow-y: auto;
		overscroll-behavior: contain;
		padding: 8px 20px 24px;
	}
	.mobile-filter-group {
		border-bottom: 1px solid var(--mobile-sheet-border);
	}
	.mobile-filter-group summary {
		display: flex;
		align-items: center;
		min-height: 58px;
		color: var(--text-color);
		font-size: 15px;
		font-weight: 650;
		cursor: pointer;
		list-style: none;
	}
	.mobile-filter-group summary::-webkit-details-marker { display: none; }
	.mobile-filter-group summary > span { flex: 1 1 auto; }
	.mobile-filter-group summary > i {
		margin-left: 12px;
		color: var(--mobile-sheet-muted);
		font-size: 12px;
		transition: transform 0.2s ease;
	}
	.mobile-filter-group[open] summary > i { transform: rotate(180deg); }
	.mobile-filter-group-count {
		min-width: 22px;
		height: 22px;
		border-radius: 11px;
		background: var(--hl-color);
		color: #fff;
		font-size: 11px;
		line-height: 22px;
		text-align: center;
	}
	.mobile-filter-group-count:empty { display: none; }
	.mobile-filter-group-content {
		padding: 0 0 16px;
	}

	.mobile-filter-list label {
		position: relative;
		display: flex;
		align-items: center;
		min-height: 48px;
		padding: 0 44px 0 0;
		border-bottom: 1px solid color-mix(in srgb, var(--mobile-sheet-border) 65%, transparent);
		color: var(--text-color);
		font-size: 14px;
		cursor: pointer;
	}
	.mobile-filter-list label:last-child { border-bottom: 0; }
	.mobile-filter-list label b {
		margin-left: auto;
		padding-left: 10px;
		color: var(--mobile-sheet-muted);
		font-size: 12px;
		font-weight: 500;
	}
	.mobile-filter-list label::after {
		content: "";
		position: absolute;
		right: 2px;
		top: 50%;
		width: 22px;
		height: 22px;
		border: 2px solid var(--mobile-sheet-border);
		border-radius: 6px;
		transform: translateY(-50%);
		box-sizing: border-box;
	}
	.mobile-filter-list label.active::after {
		content: "\f00c";
		border-color: var(--hl-color);
		background: var(--hl-color);
		color: #fff;
		font-family: "Fitness1 Critical Icons", "Font Awesome 7 Pro";
		font-size: 13px;
		font-weight: 900;
		line-height: 18px;
		text-align: center;
	}
	.mobile-filter-list input {
		position: absolute;
		opacity: 0;
		pointer-events: none;
	}

	.mobile-price-values {
		margin: 0 0 4px;
		color: var(--mobile-sheet-muted);
		font-size: 14px;
		font-weight: 600;
	}
	.mobile-price-range {
		margin: 24px 0 10px;
		min-height: 38px;
	}
	.mobile-price-range .slider::-webkit-slider-thumb {
		width: 28px;
		height: 28px;
		border: 3px solid var(--hl-color);
	}
	.mobile-price-range .slider::-moz-range-thumb {
		width: 24px;
		height: 24px;
		border: 3px solid var(--hl-color);
	}

	.mobile-category-links a {
		display: block;
		min-height: 44px;
		padding: 12px 8px;
		border-bottom: 1px solid var(--mobile-sheet-border);
		color: var(--text-color);
		font-size: 14px;
		text-decoration: none;
		box-sizing: border-box;
	}
	.mobile-category-links a.active {
		border-radius: 8px;
		background: var(--mobile-sheet-row-bg);
		color: var(--hl-color);
		font-weight: 700;
	}

	.mobile-sheet-footer {
		display: grid;
		grid-template-columns: minmax(110px, 0.8fr) minmax(150px, 1.2fr);
		gap: 10px;
		padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
		border-top: 1px solid var(--mobile-sheet-border);
		background: var(--mobile-sheet-bg);
		box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.06);
		flex: 0 0 auto;
	}
	.mobile-sheet-footer button {
		min-height: 50px;
		padding: 0 14px;
		border: 0;
		border-radius: 10px;
		font-size: 13px;
		font-weight: 700;
		cursor: pointer;
	}
	.mobile-filter-clear {
		background: var(--mobile-sheet-row-bg);
		color: var(--text-color);
	}
	.mobile-filter-apply {
		background: var(--hl-color);
		color: #fff;
	}

	.mobile-sort-options {
		overflow-y: auto;
		padding: 8px 20px calc(16px + env(safe-area-inset-bottom));
	}
	.mobile-sort-option {
		position: relative;
		display: flex;
		align-items: center;
		min-height: 54px;
		padding: 0 44px 0 4px;
		border-bottom: 1px solid var(--mobile-sheet-border);
		color: var(--text-color);
		font-size: 15px;
		cursor: pointer;
	}
	.mobile-sort-option:last-child { border-bottom: 0; }
	.mobile-sort-option input {
		position: absolute;
		opacity: 0;
		pointer-events: none;
	}
	.mobile-sort-option i {
		position: absolute;
		right: 8px;
		color: var(--hl-color);
		opacity: 0;
	}
	.mobile-sort-option.active {
		color: var(--hl-color);
		font-weight: 700;
	}
	.mobile-sort-option.active i { opacity: 1; }
}

@media (max-width:480px) {
	.list-banner { flex-basis:calc(100% - 5px); }
	.category-list-banner { height:235px; }
}
