.workshop-sitewide-bar {
  --accent-dark: #b0501e;
  position: sticky;
  top: 0;
  z-index: 460;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding: 9px 44px 9px 16px;
  background: var(--ink, #1a1a18);
  color: var(--on-dark, #efece3);
  border-bottom: 1px solid var(--dark-line, rgba(239, 236, 227, 0.12));
  font-size: 14px;
  line-height: 1.35;
  text-align: center;
  box-sizing: border-box;
  min-height: var(--workshop-sitewide-bar-h, 44px);
}

.workshop-sitewide-bar[hidden] {
  display: none !important;
}

.workshop-sitewide-bar__text {
  margin: 0;
  font-weight: 500;
}

.workshop-sitewide-bar__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-dark, #b0501e);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: var(--shadow-accent, 0 4px 14px rgba(176, 80, 30, 0.35));
}

.workshop-sitewide-bar__cta:hover {
  filter: brightness(1.05);
  color: #fff;
}

.workshop-sitewide-bar__close {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--on-dark, #efece3);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.workshop-sitewide-bar__close:hover {
  background: color-mix(in srgb, var(--on-dark, #efece3) 8%, transparent);
}

.workshop-sitewide-bar__close:focus-visible {
  outline: 2px solid var(--on-dark, #efece3);
  outline-offset: 2px;
}

html.workshop-sitewide-bar-active header.nav {
  top: var(--workshop-sitewide-bar-h, 0px);
}

html.workshop-sitewide-bar-active .nav-mobile-overlay {
  top: calc(var(--nav-h, 64px) + var(--workshop-sitewide-bar-h, 0px));
}

html.workshop-sitewide-bar-active:not(.workshop-sitewide-bar-js-ready) {
  --workshop-sitewide-bar-h: 44px;
}

@media (max-width: 520px) {
  .workshop-sitewide-bar {
    padding: 10px 40px 10px 12px;
    font-size: 13px;
  }

  .workshop-sitewide-bar__cta {
    width: 100%;
    max-width: 220px;
  }

  html.workshop-sitewide-bar-active:not(.workshop-sitewide-bar-js-ready) {
    --workshop-sitewide-bar-h: 88px;
  }
}
