/* ══════════════════════════════════════════════
   HYPERCART FOOTER — self-contained component
   Namespace: hc-footer
   ══════════════════════════════════════════════ */

:root {
  --hc-bg: #0c0c0e;
  --hc-surface: #16161a;
  --hc-border: #2a2a30;
  --hc-text: #a8a8b0;
  --hc-text-muted: #5c5c66;
  --hc-accent: #e8fc5a;
  --hc-white: #eeeef0;
}

.hc-footer {
  background: var(--hc-bg);
  color: var(--hc-text);
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  line-height: 1.4;
  position: relative;
  overflow: hidden;
}

.hc-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--hc-accent), var(--hc-accent) 25%, transparent 100%);
}

.hc-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ── Row 1: Network products ── */

.hc-footer__row1 {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hc-footer__network-label {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 15px;
  color: var(--hc-white);
  letter-spacing: -0.01em;
  margin-right: 6px;
  white-space: nowrap;
}

.hc-footer__product {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--hc-text);
  font-size: 11px;
  padding: 5px 14px;
  border-radius: 100px;
  border: 1px solid var(--hc-border);
  background: var(--hc-surface);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.hc-footer__product:hover {
  color: var(--hc-white);
  border-color: rgba(232, 252, 90, 0.3);
  box-shadow: 0 0 12px rgba(232, 252, 90, 0.06);
}

.hc-footer__product:hover .hc-arrow {
  transform: translate(2px, -2px);
}

.hc-arrow {
  font-size: 9px;
  color: var(--hc-accent);
  transition: transform 0.2s ease;
  display: inline-block;
}

/* ── Tooltips ── */

.hc-footer__product .hc-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--hc-surface);
  border: 1px solid var(--hc-border);
  color: var(--hc-text);
  font-size: 10px;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s ease;
  z-index: 10;
}

.hc-footer__product .hc-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: var(--hc-border);
}

.hc-footer__product:hover .hc-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── Row 2: Copyright + links ── */

.hc-footer__row2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--hc-border);
}

.hc-footer__copyright {
  color: var(--hc-text-muted);
  font-size: 11px;
}

.hc-footer__copyright strong {
  color: var(--hc-text);
  font-weight: 500;
}

.hc-footer__copyright a {
  color: var(--hc-text);
  text-decoration: none;
  transition: color 0.2s;
}

.hc-footer__copyright a:hover {
  color: var(--hc-white);
}

.hc-footer__links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.hc-footer__link {
  color: var(--hc-text-muted);
  text-decoration: none;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 100px;
  transition: all 0.2s ease;
}

.hc-footer__link:hover {
  color: var(--hc-white);
  background: var(--hc-surface);
}

.hc-footer__sep {
  color: var(--hc-border);
  font-size: 8px;
  user-select: none;
}

/* ── Responsive ── */

@media (max-width: 768px) {
  .hc-footer__inner { padding: 16px 16px; gap: 12px; }
  .hc-footer__row1 { gap: 6px; }
  .hc-footer__product { font-size: 10px; padding: 4px 10px; }
  .hc-footer__row2 {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .hc-footer__network-label { font-size: 13px; }
  .hc-footer__product .hc-tooltip { display: none; }
}
