/* Coffee Hero Video styles */
.chve-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.chve-hero .chve-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.chve-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  transform: translateZ(0);
  background: #000;
}

.chve-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.chve-content {
  position: relative;
  max-width: 1100px;
  padding: 0 24px;
  text-align: center;
  z-index: 2;
}

.chve-hero.align-left .chve-content { text-align: left; }
.chve-hero.align-right .chve-content { text-align: right; }

.chve-heading {
  font-size: clamp(28px, 6vw, 64px);
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin: 0 0 16px;
  color: #fff;
  font-weight: 400;
  text-transform: uppercase;
}

.chve-subheading {
  font-size: clamp(14px, 2vw, 20px);
  color: #fff;
  opacity: .9;
  margin: 0 0 32px;
}

.chve-actions {
  display: inline-flex;
  gap: 16px;
  flex-wrap: wrap;
}

.chve-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 2px solid #fff;
  text-decoration: none;
  font-weight: 600;
  transition: transform .2s ease, opacity .2s ease, background-color .2s ease;
  will-change: transform;
}

.chve-btn:hover { transform: translateY(-2px); }

.chve-btn.chve-outline {
  background: transparent;
  color: #fff;
}

.chve-btn.chve-primary {
  background: #e74b36;
  color: #fff;
  border-color: #e74b36;
}

.chve-audio-toggle {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 3;
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(0,0,0,.45);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(6px);
  display: none; /* hidden unless audio enabled */
}

.chve-audio-toggle.is-visible { display: inline-flex; gap: 6px; }
.chve-audio-toggle .chve-mute { display: none; }
.chve-audio-toggle.is-unmuted .chve-unmute { display: none; }
.chve-audio-toggle.is-unmuted .chve-mute { display: inline; }

/* Ensure header bars don't block click */
.chve-hero * { box-sizing: border-box; }
