.rcf-wrap {
	clear: both;
	margin: 0 0 28px;
	width: 100%;
}

.rcf-details {
	border-bottom: 1px solid rgba(61, 6, 9, 0.2);
	border-top: 1px solid rgba(61, 6, 9, 0.2);
}

.rcf-toggle {
	align-items: center;
	color: #3d0609;
	cursor: pointer;
	display: flex;
	font-size: 15px;
	font-weight: 700;
	gap: 12px;
	justify-content: space-between;
	list-style: none;
	padding: 14px 2px;
}

.rcf-toggle::-webkit-details-marker {
	display: none;
}

.rcf-toggle::after {
	content: "+";
	font-size: 22px;
	font-weight: 400;
	line-height: 1;
}

.rcf-details[open] .rcf-toggle::after {
	content: "−";
}

.rcf-active-indicator {
	background: #99782f;
	border-radius: 999px;
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	margin-left: auto;
	padding: 2px 9px;
}

.rcf-panel {
	padding: 4px 0 22px;
}

.rcf-form {
	display: grid;
	gap: 22px;
	grid-template-columns: minmax(0, 2fr) repeat(3, minmax(140px, 1fr));
}

.rcf-group {
	border: 0;
	margin: 0;
	min-width: 0;
	padding: 0;
}

.rcf-group legend {
	color: #3d0609;
	font-size: 15px;
	font-weight: 700;
	margin: 0 0 9px;
	padding: 0;
}

.rcf-options {
	align-content: start;
	display: grid;
	gap: 4px 14px;
	max-height: 205px;
	overflow: auto;
	padding: 1px 6px 1px 1px;
	scrollbar-width: thin;
}

.rcf-categories .rcf-options {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rcf-option {
	align-items: flex-start;
	color: inherit;
	cursor: pointer;
	display: flex;
	font-size: 13px;
	gap: 7px;
	line-height: 1.35;
	margin: 0;
	padding: 3px 0;
}

.rcf-option input {
	accent-color: #99782f;
	flex: 0 0 auto;
	height: 16px;
	margin: 1px 0 0;
	width: 16px;
}

.rcf-child-term {
	padding-left: 18px;
}

.rcf-actions {
	align-items: center;
	display: flex;
	gap: 16px;
	grid-column: 1 / -1;
}

.woocommerce .rcf-form .rcf-submit,
.rcf-form .rcf-submit {
	background: #99782f;
	color: #fff;
	margin: 0;
	min-width: 110px;
}

.woocommerce .rcf-form .rcf-submit:hover,
.rcf-form .rcf-submit:hover {
	background: #8c6b22;
	color: #fff;
}

.rcf-clear {
	color: #3d0609;
	font-size: 13px;
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (max-width: 900px) {
	.rcf-form {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.rcf-form {
		grid-template-columns: 1fr;
	}

	.rcf-categories .rcf-options {
		grid-template-columns: 1fr;
	}

	.rcf-options {
		max-height: 185px;
	}
}
