/* 2026-07-21 v1.4
 * - Styled compact pagination ellipses between skipped page ranges
 *
 * 2026-07-20 v1.3
 * - Allowed pagination labels to grow while keeping compact numeric buttons
 *
 * 2026-07-07 v1.2
 * - Increased pagination button height and made outer corner radii explicit
 *
 * 2026-07-07 v1.1
 * - Fixed pagination button sizing and centered the bottom pagination wrapper
 */

.kdp-category-page-sorters .kdp-pagination-html-wrapper {
	margin: auto;
	margin-left: 0px;
}
#pagination-nav,
.pagination-nav {
	width: max-content;
	max-width: 100%;
	margin-left: auto!important;
	margin-right: auto!important;
}
.kdp-pagination-html-inner a {
	white-space: nowrap;
}
.kdp-pagination-html-inner {
	display: inline-flex;
}
.kdp-pagination-html-inner a,
.kdp-pagination-html-inner .kdp-pagination-gap {
	margin: 0px;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	max-width: 90px;
	text-align: center;
	height: 34px;
	min-height: 34px;
	line-height: 1;
	border:1px solid #eee;
	padding: 0px 4px;
	border-radius: 0px!important;
}
.kdp-pagination-html-inner .kdp-pagination-gap {
	color: #666;
	border-left: none;
}
.kdp-pagination-html-inner a:first-child {
	border-top-left-radius: 3px!important;
	border-bottom-left-radius: 3px!important;

}
.kdp-pagination-html-inner a:last-child {
	border-top-right-radius: 3px!important;
	border-bottom-right-radius: 3px!important;
}
.kdp-pagination-html-inner a:not(:first-child){
	border-left:none;
}
.kdp-pagination-html-inner a:not(.selected) {
	color:#666!important;

} 
.kdp-pagination-html-inner a:hover, .kdp-pagination-html-inner a.selected {
	background-color: var(--color_highlight);
	color:#fff!important;
}
.kdp-pagination-html-inner a .fa {
	font-size:16px;
}
