/* =========================================================
   Lazarus Labs — Site-wide Announcement Bar
   Premium top strip: dark header-matched shell, lime hairline,
   spark cue, and a highlighted offer. Uses global brand tokens.
   ========================================================= */

/*
 * Blocksy sticky JS reads --header-sticky-offset from getComputedStyle(document.body)
 * and subtracts it from its activation threshold. Matching the bar's height keeps the
 * original sticky-header behaviour intact. #header overrides this to 0px for its own
 * top positioning, so only the JS threshold is affected.
 */
body {
  --header-sticky-offset: 46px;
}

.ll-site-announcement {
  position: relative;
  width: 100%;
  background:
    radial-gradient(560px 130px at 50% 0%, rgba(167, 210, 45, 0.07), transparent 70%),
    linear-gradient(180deg, #0d1218 0%, #080b0f 100%);
  border-bottom: 1px solid rgba(167, 210, 45, 0.10);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.34);
  text-align: center;
  padding: 10px 16px;
  overflow: hidden;
}

/* Thin lime hairline along the very top edge — matches the mobile menu panel
   and the category-tile accent so the bar reads as part of the same system. */
.ll-site-announcement::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, #A7D22D 28%, #D9FF5A 50%, #A7D22D 72%, transparent);
  opacity: 0.7;
  pointer-events: none;
}

.ll-site-announcement__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-decoration: none;
  color: rgba(236, 239, 230, 0.88);
  font-family: Montserrat, Inter, system-ui, -apple-system, sans-serif;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.3;
  position: relative;
  z-index: 1;
  transition: color 180ms cubic-bezier(.2, .7, .2, 1);
}

.ll-site-announcement__link:hover,
.ll-site-announcement__link:focus-visible {
  color: #F4F7EC;
  text-decoration: none;
  outline: none;
}

/* Lime spark — a quiet "special offer" cue, not a carnival icon. */
.ll-site-announcement__spark {
  display: inline-flex;
  flex: 0 0 auto;
  color: var(--lime, #A7D22D);
}

.ll-site-announcement__spark svg {
  width: 15px;
  height: 15px;
  filter: drop-shadow(0 0 6px rgba(167, 210, 45, 0.35));
}

/* The highlighted value (e.g. "10% off") — the one thing that pops in lime. */
.ll-site-announcement__hl {
  color: #C7F33B;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-shadow: 0 0 18px rgba(199, 243, 59, 0.28);
}

.ll-site-announcement__arrow {
  display: inline-block;
  flex: 0 0 auto;
  color: var(--lime, #A7D22D);
  font-size: 15px;
  line-height: 1;
  opacity: 0.9;
  transition: transform 140ms cubic-bezier(.2, .7, .2, 1);
}

.ll-site-announcement__link:hover .ll-site-announcement__arrow,
.ll-site-announcement__link:focus-visible .ll-site-announcement__arrow {
  transform: translateX(4px);
}

@media (max-width: 600px) {
  .ll-site-announcement { padding: 9px 12px; }
  .ll-site-announcement__link { font-size: 11px; gap: 7px; letter-spacing: 0.025em; }
  .ll-site-announcement__spark svg { width: 13px; height: 13px; }
  .ll-site-announcement__arrow { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .ll-site-announcement__link,
  .ll-site-announcement__arrow { transition: none; }
}
