/* OTH WooCommerce Catalog: direct child category navigation */

.oth-subcategorias {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 10px;
	margin: 0 0 34px;
}

.oth-subcategorias a,
.oth-subcategorias__more summary {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	padding: 7px 15px;
	border: 0;
	border-radius: 999px;
	background: #f4f1ed;
	color: #333;
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none !important;
	transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.oth-subcategorias a:hover,
.oth-subcategorias a:focus-visible {
	background: #3f5043;
	color: #fff;
	text-decoration: none !important;
	transform: translateY(-1px);
}

.oth-subcategorias a:focus-visible,
.oth-subcategorias__more summary:focus-visible {
	outline: 2px solid #3f5043;
	outline-offset: 2px;
}

.oth-subcategorias__more {
	position: relative;
}

.oth-subcategorias__more summary {
	background: #3f5043;
	color: #fff;
	list-style: none;
	padding-right: 18px;
}

.oth-subcategorias__more summary:hover,
.oth-subcategorias__more summary:focus-visible {
	background: #293a2e;
	color: #fff;
	transform: translateY(-1px);
}

.oth-subcategorias__more summary::-webkit-details-marker {
	display: none;
}

.oth-subcategorias__more summary::after {
	content: '+';
	margin-left: 8px;
	font-size: 17px;
	font-weight: 400;
	line-height: .8;
}

.oth-subcategorias__more[open] {
	flex: 1 0 100%;
}

.oth-subcategorias__more[open] summary {
	margin-bottom: 10px;
}

.oth-subcategorias__more[open] summary::after {
	content: '−';
}

.oth-subcategorias__more-list {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 8px 10px !important;
	margin: 0 !important;
	padding: 14px !important;
	border: 1px solid #ebe7e1;
	border-radius: 14px;
	background: #fbfaf8;
}

.oth-subcategorias__more-list a {
	margin: 0 !important;
}

@media (max-width: 480px) {
	.oth-subcategorias {
		gap: 8px;
		margin-bottom: 28px;
	}

	.oth-subcategorias a,
	.oth-subcategorias__more summary {
		padding: 8px 14px;
		font-size: 13px;
	}

	.oth-subcategorias__more-list {
		gap: 8px !important;
		padding: 12px !important;
	}
}
