.wc-block-components-pagination {
margin: 0 auto $gap;
}
.wc-block-components-pagination__page,
.wc-block-components-pagination__ellipsis {
@include font-size(regular);
color: #333;
display: inline-block;
font-weight: normal;
.wc-block-components-pagination__page {
border-color: transparent;
padding: 0.3em 0.6em;
min-width: 2.2em;
&:not([disabled]) {
cursor: pointer;
@include breakpoint("<782px") {
padding: 0.1em 0.2em;
min-width: 1.6em;
// Twenty Twenty register a background color for buttons that is too specific
// and broad at the same time `button:not(.toggle)` so we're engaing in a
// specify war with them here.
// https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/1203
&:not(.toggle) {
background-color: transparent;
padding: 0.3em;
padding: 0.1em;
.wc-block-components-pagination__page--active[disabled] {
font-weight: bold;
opacity: 1 !important;
&:hover,
&:focus {
background-color: inherit;
html[dir="rtl"] .wc-block-components-pagination-page--arrow span {
transform: scale(-1, 1);