/* YUMNATURALS Theme Utilities V1 */

/* At the true end of an infinite-scroll collection, keep the existing
   Continue Loading control visible but make its completed state unmistakable. */
.yn-infinite-scroll[data-state="end"] .yn-infinite-scroll-retry,
.yn-infinite-scroll.is-complete .yn-infinite-scroll-retry,
.yn-infinite-scroll-retry:disabled {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #ececea !important;
  border-color: #c9c9c6 !important;
  color: #8b8b87 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  opacity: 1 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  transform: none !important;
}

.yn-infinite-scroll-retry:disabled:hover,
.yn-infinite-scroll-retry:disabled:focus {
  background: #ececea !important;
  border-color: #c9c9c6 !important;
  color: #8b8b87 !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Header cart count badge. Theme-owned so Cashier is not required just to show
   the number of items currently in the WooCommerce cart. */
.yn-cart,
#main-nav a.cart[href*="/cart/"],
#yn-main-nav a[href*="/cart/"]{
  display:inline-flex !important;
  align-items:center !important;
  gap:7px !important;
}

.ybn-cart-count-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:20px;
  height:20px;
  padding:0 6px;
  border-radius:999px;
  background:#778133;
  color:#fff !important;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:.66rem;
  line-height:1;
  font-weight:900;
  letter-spacing:0;
  text-decoration:none !important;
  box-shadow:none;
}

.ybn-cart-count-badge[hidden]{
  display:none !important;
}


/* Secondary cart CTA: keep checkout as the primary conversion action while
   making it easy to continue browsing for additional products. */
.ybn-cart-continue-shopping{
  display:flex;
  justify-content:flex-start;
  align-items:center;
  margin:18px 0 8px;
}

.ybn-cart-continue-shopping .ybn-continue-shopping-button{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 22px !important;
  border:1px solid currentColor !important;
  border-radius:999px !important;
  background:transparent !important;
  color:#4a2f1d !important;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:.76rem !important;
  font-weight:900 !important;
  letter-spacing:.08em !important;
  line-height:1 !important;
  text-transform:uppercase !important;
  text-decoration:none !important;
  box-shadow:none !important;
}

.ybn-cart-continue-shopping .ybn-continue-shopping-button:hover,
.ybn-cart-continue-shopping .ybn-continue-shopping-button:focus{
  background:#4a2f1d !important;
  border-color:#4a2f1d !important;
  color:#fff !important;
}
