.zgfd-sale-bar {
  position: sticky;
  z-index: 10010;
  top: 0;
  width: 100%;
  background: #bc3116;
  color: #fff;
  font-family: Inter, Arial, Helvetica, sans-serif;
}

.zgfd-sale-bar__inner {
  display: flex;
  width: 100%;
  height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
}

.zgfd-sale-bar__link {
  display: inline-flex;
  height: 34px;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  color: #fff !important;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.15;
  text-align: center;
  text-decoration: none !important;
  text-wrap: balance;
  transition: opacity 180ms ease;
}

.zgfd-sale-bar__link:hover,
.zgfd-sale-bar__link:focus-visible {
  color: #fff !important;
  text-decoration: none !important;
  opacity: .84;
}

.zgfd-sale-bar__link:focus-visible {
  border-radius: 3px;
  outline: 2px solid #fff;
  outline-offset: -3px;
}

.header-4-container {
  position: sticky !important;
  z-index: 10000 !important;
  top: 34px !important;
}

body.admin-bar .zgfd-sale-bar {
  top: 32px;
}

body.admin-bar .header-4-container {
  top: 66px !important;
}

body.single-product.elementor-template-full-width .zgfd-sale-bar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
}

body.single-product.elementor-template-full-width .header-4-container {
  position: fixed !important;
  top: 34px !important;
  right: 0;
  left: 0;
  width: 100%;
}

body.single-product.elementor-template-full-width #page {
  padding-top: 99px;
}

body.admin-bar.single-product.elementor-template-full-width .zgfd-sale-bar {
  top: 32px;
}

body.admin-bar.single-product.elementor-template-full-width .header-4-container {
  top: 66px !important;
}

@media (max-width: 767px) {
  .zgfd-sale-bar__inner,
  .zgfd-sale-bar__link {
    height: 32px;
  }

  .zgfd-sale-bar__inner {
    padding: 0 6px;
  }

  .zgfd-sale-bar__link {
    padding: 3px 8px;
    font-size: 11px;
    line-height: 1.1;
    white-space: normal;
  }

  .header-4-container,
  body.single-product.elementor-template-full-width .header-4-container {
    top: 32px !important;
  }

  body.single-product.elementor-template-full-width #page {
    padding-top: 82px;
  }

  body.admin-bar .zgfd-sale-bar,
  body.admin-bar.single-product.elementor-template-full-width .zgfd-sale-bar {
    top: 46px;
  }

  body.admin-bar .header-4-container,
  body.admin-bar.single-product.elementor-template-full-width .header-4-container {
    top: 78px !important;
  }
}
