/* Final button shape override, shared by the forest and commerce views. */
body button:not(.forest-awakening):not(.forest-discovery),
body input:is([type="button"], [type="submit"], [type="reset"], [type="image"]),
body a:is(.button, [role="button"], .wp-element-button, .wp-block-button__link),
body :is(.wc-block-components-button, .wc-block-cart__submit-button),
body .shop-categories a,
body .collection-shop-toolbar nav a,
body .woocommerce-tabs ul.tabs li a,
body .forest-discovery .discovery-label {
  /* WooCommerce block buttons declare a square radius with !important. */
  border-radius: 999px !important;
}

/* The clickable pagination surface owns its border, rather than a square list item. */
:is(body.woocommerce, body.woocommerce-page, body .woocommerce) nav.woocommerce-pagination ul {
  border: 0;
}

:is(body.woocommerce, body.woocommerce-page, body .woocommerce) nav.woocommerce-pagination ul li {
  border: 0;
  margin: 0 4px;
}

:is(body.woocommerce, body.woocommerce-page, body .woocommerce) nav.woocommerce-pagination ul li :is(a, span) {
  border: 1px solid #dce4da;
  border-radius: 999px;
}
