/* Persistent header cart + shop sidebar polish */

#swm-header .mk-wc-cart-icon-wrapper,
#swm-sticky-header .mk-wc-cart-icon-wrapper {
  display: flex;
  align-items: center;
  height: 100%;
}

#swm-header .mk-cart-icon,
#swm-sticky-header .mk-cart-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 28px;
  line-height: 1;
}

#swm-header .mk-cart-number,
#swm-sticky-header .mk-cart-number {
  position: absolute;
  top: -6px;
  right: -10px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
}

#swm-header .mk-cart-number.hide-number,
#swm-sticky-header .mk-cart-number.hide-number {
  display: none;
}

/* Right-hand shop categories */
.swm-layout-sidebar-right.swm-post-sidebar-page #sidebar .widget_product_categories,
.swm-layout-sidebar-right.swm-post-sidebar-page #sidebar .widget_woocommerce_product_categories {
  margin-bottom: 1.5rem;
}

.swm-layout-sidebar-right.swm-post-sidebar-page #sidebar .product-categories {
  list-style: none;
  margin: 0;
  padding: 0;
}

.swm-layout-sidebar-right.swm-post-sidebar-page #sidebar .product-categories li {
  margin: 0;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.swm-layout-sidebar-right.swm-post-sidebar-page #sidebar .product-categories .children {
  list-style: none;
  margin: 0.25rem 0 0 0.85rem;
  padding: 0;
}

.swm-layout-sidebar-right.swm-post-sidebar-page #sidebar .product-categories a {
  text-decoration: none;
}

@media (max-width: 768px) {
  .swm-layout-sidebar-right.swm-post-sidebar-page #sidebar {
    margin-top: 2rem;
  }
}
