/**
 * WooCommerce pagination
 */
.woocommerce-pagination {
	margin: 0 0 35px;
	list-style: none;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0 0 35px;
	
	> span + * {
		padding-left: 10px;
		padding-right: 10px;
	}
	
	> a + * {
		padding-left: 10px;
		padding-right: 10px;
	}

	a.page-numbers {
		display: inline-block;
		font-size: 16px;
		line-height: 1.6;
		padding: 0;
		text-align: center;
		&:hover {
			outline: none;
		}
		.nav-icon.icon-next {
			margin-left: 10px;
		}
		.nav-icon.icon-prev {
			margin-right: 10px;
		}
	}

	span.page-numbers {
		display: inline-block;
		font-size: 16px;
		line-height: 1.6;
		padding: 0;
		text-align: center;
		&:hover {
			outline: none;
		}
		.nav-icon.icon-next {
			margin-left: 10px;
		}
		.nav-icon.icon-prev {
			margin-right: 10px;
		}
	}
	a.page-numbers.next {
		margin-left: 10px;
	}
	span.page-numbers.next {
		margin-left: 10px;
	}
	a.page-numbers.prev {
		margin-right: 10px;
	}
	span.page-numbers.prev {
		margin-right: 10px;
	}
	ul.page-numbers {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
		list-style: none;
		margin: 0;
		width: 100%;
		li {
			&:not(.prev-list-item) {
				padding-left: 10px;
			}
			&:not(.next-list-item) {
				padding-right: 10px;
			}
			&:first-child {
				&:not(.prev-list-item) {
					margin-left: auto;
				}
			}
			&:last-child {
				&:not(.next-list-item) {
					margin-right: auto;
				}
			}
			.page-numbers {
				display: flex;
				justify-content: center;
				align-items: center;
				font-size: 16px;
				line-height: 1.6;
				padding: 0;
				text-align: center;
				font-weight: 400;
				height: auto;
				width: auto;
				border-radius: 0;
				border: none;
				&:hover {
					outline: none;
				}
				.nav-icon.nav-next-icon {
					margin-left: 10px;
				}
				.nav-icon.nav-prev-icon {
					margin-right: 10px;
				}
			}
			.page-numbers.next {
				font-weight: 700;
			}
			.page-numbers.prev {
				font-weight: 700;
			}
		}
		li.next-list-item {
			margin-left: auto;
		}
		li.prev-list-item {
			margin-right: auto;
		}
	}
}
