/* Heavy Haul Group — Consent Manager */
.hh-consent-root,
.hh-consent-reopen {
  --hh-consent-yellow: #ffbf00;
  --hh-consent-yellow-dark: #f5a300;
  --hh-consent-bg: #111111;
  --hh-consent-panel: #1c1c1c;
  --hh-consent-border: rgba(255, 255, 255, 0.16);
  --hh-consent-text: #ffffff;
  --hh-consent-muted: rgba(255, 255, 255, 0.72);
  font-family: Inter, Arial, sans-serif;
}

.hh-consent-root[hidden],
.hh-consent-reopen[hidden],
.hh-consent-preferences[hidden],
.hh-consent-actions[hidden] {
  display: none !important;
}

.hh-consent-root {
  position: fixed;
  z-index: 2147483000;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.hh-consent-banner {
  width: min(980px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 24px;
  color: var(--hh-consent-text);
  background: var(--hh-consent-bg);
  border: 1px solid var(--hh-consent-border);
  border-radius: 14px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
  pointer-events: auto;
}

.hh-consent-copy {
  min-width: 0;
}

.hh-consent-eyebrow {
  margin: 0 0 5px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hh-consent-yellow);
}

.hh-consent-title {
  margin: 0 0 8px;
  font-family: Oswald, Inter, Arial, sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.05;
  text-transform: uppercase;
  color: #ffffff;
}

.hh-consent-banner p {
  margin: 0;
  max-width: 660px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--hh-consent-muted);
}

.hh-consent-policy-link {
  display: inline-block;
  margin-top: 10px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hh-consent-actions,
.hh-consent-preference-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.hh-consent-button {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: transparent;
  color: #ffffff;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.hh-consent-button:hover,
.hh-consent-button:focus-visible {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.hh-consent-button:focus-visible,
.hh-consent-reopen:focus-visible,
.hh-consent-option input:focus-visible {
  outline: 3px solid rgba(255, 191, 0, 0.42);
  outline-offset: 3px;
}

.hh-consent-button-primary {
  border-color: var(--hh-consent-yellow);
  background: var(--hh-consent-yellow);
  color: #111111;
}

.hh-consent-button-primary:hover,
.hh-consent-button-primary:focus-visible {
  border-color: var(--hh-consent-yellow-dark);
  background: var(--hh-consent-yellow-dark);
  color: #111111;
}

.hh-consent-button-link {
  border-color: transparent;
  padding-right: 8px;
  padding-left: 8px;
  color: var(--hh-consent-yellow);
}

.hh-consent-preferences {
  grid-column: 1 / -1;
  margin-top: 2px;
  padding-top: 18px;
  border-top: 1px solid var(--hh-consent-border);
}

.hh-consent-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  color: #ffffff;
}

.hh-consent-option > div,
.hh-consent-option > span:first-child {
  display: grid;
  gap: 3px;
}

.hh-consent-option strong {
  font-size: 14px;
}

.hh-consent-option span span,
.hh-consent-option > div span {
  font-size: 12px;
  line-height: 1.45;
  color: var(--hh-consent-muted);
}

.hh-consent-required {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 191, 0, 0.12);
  color: var(--hh-consent-yellow);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hh-consent-option input[type='checkbox'] {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  accent-color: var(--hh-consent-yellow);
  cursor: pointer;
}

.hh-consent-preference-actions {
  margin-top: 16px;
}

.hh-consent-reopen {
  position: fixed;
  z-index: 2147482000;
  left: 14px;
  bottom: 14px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 191, 0, 0.55);
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.94);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.24);
}

.hh-consent-reopen:hover,
.hh-consent-reopen:focus-visible {
  background: #111111;
  border-color: var(--hh-consent-yellow);
}

@media (max-width: 760px) {
  /* Keep the saved-consent shortcut off the mobile sticky CTA bar. */
  .hh-consent-reopen {
    display: none !important;
  }

  .hh-consent-root {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }

  .hh-consent-banner {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px;
    border-radius: 12px;
  }

  .hh-consent-actions,
  .hh-consent-preference-actions {
    justify-content: stretch;
  }

  .hh-consent-button {
    flex: 1 1 100%;
  }

  .hh-consent-button-link {
    flex-basis: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hh-consent-button {
    transition: none;
  }
}
