/* SJV Shop Filters. Fonts and text colour come from the theme. */

.sjv-sf {
	--sf-gold: #b8934a;
	--sf-gold-d: #7a5c1b;
	--sf-btn: #8f2412;
	--sf-line: #e2d6bc;
	--sf-tint: #f6ebd0;
	box-sizing: border-box;
	font-size: 15px;
	line-height: 1.4;
}
.sjv-sf *,
.sjv-sf *::before,
.sjv-sf *::after {
	box-sizing: border-box;
}

/* Title with a small gold diamond */
.sjv-sf .sjv-sf__title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	padding: 0;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--sf-gold-d);
}
.sjv-sf .sjv-sf__title i {
	display: block;
	flex: none;
	width: 7px;
	height: 7px;
	background: var(--sf-gold);
	transform: rotate(45deg);
}

/* Icon bubbles */
.sjv-sf .sjv-ico {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--sf-tint);
	color: var(--sf-gold-d);
}
.sjv-sf .sjv-ico.is-silver {
	background: #e8ecf0;
	color: #59636f;
}
.sjv-sf .sjv-ico svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* Category tree */
.sjv-sf .sjv-grp {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	margin: 0;
	padding: 8px 4px;
	background: none;
	border: 0;
	border-radius: 12px;
	box-shadow: none;
	color: inherit;
	font: inherit;
	font-size: 16px;
	font-weight: 600;
	text-align: left;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
}
.sjv-sf .sjv-grp:hover {
	background: rgba(184, 147, 74, 0.08);
}
.sjv-sf .sjv-grp__name {
	flex: 1;
	min-width: 0;
}
.sjv-sf .sjv-chev {
	flex: none;
	color: var(--sf-gold-d);
	transition: transform 0.25s;
}
.sjv-sf .sjv-grp[aria-expanded="true"] .sjv-chev {
	transform: rotate(90deg);
}
.sjv-sf .sjv-cnt {
	margin-left: auto;
	font-size: 13px;
	font-weight: 400;
	opacity: 0.72;
}
.sjv-sf .sjv-grp .sjv-cnt {
	margin-left: 0;
}
.sjv-sf .sjv-kids {
	margin: 2px 0 8px 22px;
	padding-left: 10px;
	border-left: 1px solid #e5d6ae;
}
.sjv-sf .sjv-sf__group.is-silver .sjv-kids {
	border-left-color: #d5dbe2;
}
.sjv-sf .sjv-kids[hidden] {
	display: none;
}
.sjv-sf .sjv-row {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 8px 10px;
	border-radius: 12px;
	color: inherit;
	font-size: 15px;
	text-decoration: none;
	transition: background 0.2s;
}
.sjv-sf .sjv-row:hover {
	background: var(--sf-tint);
	color: inherit;
}
.sjv-sf .sjv-row.is-on {
	background: linear-gradient(90deg, #f3e2b0, #fbf1d6);
	color: #5c4410;
	font-weight: 500;
}
.sjv-sf .sjv-row__name {
	flex: 1;
	min-width: 0;
}
.sjv-sf .sjv-row .sjv-cnt {
	margin-left: 0;
}
.sjv-sf .sjv-row--all {
	padding-left: 12px;
	font-size: 14px;
	opacity: 0.85;
}
.sjv-sf .sjv-sub {
	margin-left: 22px;
}

/* Chips */
.sjv-sf .sjv-sf__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.sjv-sf .sjv-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 9px 15px;
	background: #fff;
	border: 1px solid var(--sf-line);
	border-radius: 999px;
	color: inherit;
	font-size: 14px;
	line-height: 1;
	text-decoration: none;
	transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.sjv-sf .sjv-chip:hover {
	border-color: var(--sf-gold);
	color: inherit;
}
.sjv-sf .sjv-chip.is-on {
	background: var(--sf-gold-d);
	border-color: var(--sf-gold-d);
	color: #fff;
}
.sjv-sf .sjv-chip__n {
	font-size: 12px;
	opacity: 0.7;
}
.sjv-sf .sjv-dot {
	display: block;
	flex: none;
	width: 14px;
	height: 14px;
	border: 1px solid rgba(0, 0, 0, 0.18);
	border-radius: 50%;
}
.sjv-sf .sjv-dot.is-none {
	background: transparent;
	border: 1px dashed var(--sf-gold);
}
.sjv-sf .sjv-chip.is-on .sjv-dot {
	box-shadow: 0 0 0 2px #fff;
}

/* Price */
.sjv-sf .sjv-range {
	position: relative;
	height: 26px;
	margin: 6px 11px 14px;
}
.sjv-sf .sjv-range__trk {
	position: absolute;
	top: 10px;
	left: 0;
	right: 0;
	height: 6px;
	border-radius: 3px;
	background: #eadfc6;
}
.sjv-sf .sjv-range__fill {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	border-radius: 3px;
	background: linear-gradient(90deg, #d6b565, var(--sf-gold));
}
.sjv-sf .sjv-range input[type="range"] {
	position: absolute;
	top: 0;
	left: -11px;
	width: calc(100% + 22px);
	height: 26px;
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
	box-shadow: none;
	pointer-events: none;
	-webkit-appearance: none;
	appearance: none;
}
.sjv-sf .sjv-range input[type="range"]::-webkit-slider-runnable-track {
	height: 26px;
	background: transparent;
	border: 0;
}
.sjv-sf .sjv-range input[type="range"]::-moz-range-track {
	height: 26px;
	background: transparent;
	border: 0;
}
.sjv-sf .sjv-range input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 22px;
	height: 22px;
	margin-top: 2px;
	background: #fff;
	border: 2px solid var(--sf-gold);
	border-radius: 50%;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
	pointer-events: auto;
	cursor: grab;
}
.sjv-sf .sjv-range input[type="range"]::-moz-range-thumb {
	width: 18px;
	height: 18px;
	background: #fff;
	border: 2px solid var(--sf-gold);
	border-radius: 50%;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
	pointer-events: auto;
	cursor: grab;
}
.sjv-sf .sjv-range input[type="range"]:focus-visible {
	outline: none;
}
.sjv-sf .sjv-range input[type="range"]:focus-visible::-webkit-slider-thumb {
	outline: 2px solid var(--sf-btn);
	outline-offset: 2px;
}
.sjv-sf .sjv-sf__prow {
	display: flex;
	align-items: center;
	gap: 8px;
}
.sjv-sf .sjv-sf__prow i {
	color: var(--sf-gold-d);
	font-style: normal;
}
.sjv-sf .sjv-sf__prow label {
	display: flex;
	flex: 1;
	align-items: center;
	gap: 4px;
	min-width: 0;
	margin: 0;
	padding: 0 10px;
	background: #fff;
	border: 1px solid var(--sf-line);
	border-radius: 10px;
}
.sjv-sf .sjv-sf__prow input {
	width: 100%;
	min-width: 0;
	height: 40px;
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
	font-size: 14px;
	-moz-appearance: textfield;
}
.sjv-sf .sjv-sf__prow input::-webkit-outer-spin-button,
.sjv-sf .sjv-sf__prow input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
.sjv-sf .sjv-btn {
	display: block;
	width: 100%;
	margin: 14px 0 0;
	padding: 13px 10px;
	background: var(--sf-btn);
	border: 0;
	border-radius: 12px;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-align: center;
	text-transform: uppercase;
	cursor: pointer;
	transition: filter 0.2s;
}
.sjv-sf .sjv-btn:hover {
	filter: brightness(0.85);
	color: #fff;
}

/* Active filters */
.sjv-sf .sjv-sf__tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}
.sjv-sf .sjv-tag {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 7px 6px 14px;
	background: #fbf1d6;
	border: 1px solid #d9c68f;
	border-radius: 999px;
	color: #5c4410;
	font-size: 14px;
}
.sjv-sf .sjv-tag a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	background: var(--sf-gold-d);
	border-radius: 50%;
	color: #fff;
}
.sjv-sf .sjv-tag a:hover {
	background: var(--sf-btn);
	color: #fff;
}
.sjv-sf .sjv-clear {
	padding: 4px;
	color: var(--sf-btn);
	font-size: 14px;
	text-decoration: underline;
}

/* Product list */
.sjv-sf .sjv-sf__list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.sjv-sf .sjv-li {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0;
	padding: 10px 0;
	border-bottom: 1px solid #efe4cc;
}
.sjv-sf .sjv-li:last-child {
	border-bottom: 0;
}
.sjv-sf .sjv-li__img {
	flex: none;
	width: 68px;
	height: 68px;
	overflow: hidden;
	background: #f6efe0;
	border-radius: 12px;
}
.sjv-sf .sjv-li__img img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
}
.sjv-sf .sjv-li__name {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	color: inherit;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
}
.sjv-sf .sjv-li__name:hover {
	color: var(--sf-gold-d);
}
.sjv-sf .sjv-li__price {
	margin-top: 4px;
	color: var(--sf-gold-d);
	font-size: 14px;
	font-weight: 600;
}
.sjv-sf .sjv-li__price del {
	margin-right: 4px;
	font-weight: 400;
	opacity: 0.55;
}
.sjv-sf .sjv-li__price ins {
	background: none;
	text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
	.sjv-sf * {
		transition: none !important;
	}
}
