/* Scoped: метка количества в корзине на карточках товара */
html body li.product.sk-has-cart,
html body li.product .sk-card-cart-badge--loop {
  position: static;
}

html body .sk-card-cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.65rem;
  height: 1.65rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  color: #fff;
  background: linear-gradient(145deg, #1f7a5c, #145a44);
  border: 2px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 8px rgba(16, 48, 36, 0.28);
  pointer-events: none;
  z-index: 8;
}

html body .sk-card-cart-badge[hidden] {
  display: none !important;
}

html body li.product .sk-card-cart-badge--loop {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  margin: 0;
}

html body.woocommerce ul.products li.product {
  position: relative;
}

html body .sk-card-cart-badge-wrap {
  position: relative;
  display: block;
}

html body .woocommerce-product-gallery.sk-pgal {
  position: relative;
}

html body .sk-card-cart-badge--single {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
}

html body li.product.sk-has-cart .astra-shop-thumbnail-wrap,
html body li.product.sk-has-cart .woocommerce-loop-product__link {
  outline: none;
}