/* BODY CSS ALTERATIONS */
html {
  overflow-x: hidden !important; /* Prevent horizontal page scroll */
}

/*Desktop rules only*/
@media (min-width: 1025px) {
  body {
    overflow-x: clip !important; /* Prevent horizontal page scroll and hide scrollbar */
  }
}

/* ADMIN BAR CSS ALTERATIONS */
html {
  margin-top: 0 !important;
}

body.admin-bar .main-header {
  top: var(
    --mc-adminbar-visible-height,
    var(--wp-admin--admin-bar--height, 32px)
  ) !important;
}

#wpadminbar {
  z-index: 10 !important;
}

/* WOOCOMMERCE DEFAULT CSS ALTERATIONS */
.breakdance-woocommerce .woocommerce-notices-wrapper + p:not([class]) {
  background: transparent !important;
  color: #000 !important;
}

.breakdance-woocommerce small.woocommerce-password-hint,
.breakdance-woocommerce .order-info,
.breakdance-woocommerce .woocommerce-noreviews,
.breakdance-woocommerce .available-on-backorder,
.breakdance-woocommerce .woocommerce-info {
  background: var(--mc-color-black) !important;
  color: #fff !important;
  clip-path: polygon(
    var(--mc-chamfer-xl) 0,
    100% 0,
    100% calc(100% - var(--mc-chamfer-xl)),
    calc(100% - var(--mc-chamfer-xl)) 100%,
    0 100%,
    0 var(--mc-chamfer-xl)
  );
}
.breakdance-woocommerce small.woocommerce-password-hint:before,
.breakdance-woocommerce .order-info:before,
.breakdance-woocommerce .woocommerce-notices-wrapper + p:not([class]):before,
.breakdance-woocommerce .woocommerce-noreviews:before,
.breakdance-woocommerce .available-on-backorder:before,
.breakdance-woocommerce .woocommerce-info:before {
  color: #fff !important;
}
.breakdance-woocommerce.cart-page-1 {
  min-height: calc(100dvh - var(--mc-header-height));
}

@media (max-width: 1023px) {
  .breakdance .breakdance-menu--offcanvas .breakdance-menu-list {
    padding-top: 0 !important;
  }
}

[data-tippy-root] {
  z-index: 3 !important;
}
