/*
Theme Name: Hawk Battery Commerce
Theme URI: https://hawkbattery.com
Author: Codex
Description: Lightweight WooCommerce storefront theme for cross-border battery products.
Version: 1.0.0
Text Domain: hawk-battery
*/

:root {
  --hb-bg: #f4f7fb;
  --hb-surface: #ffffff;
  --hb-primary: #0b5f4b;
  --hb-secondary: #133d67;
  --hb-accent: #f1972c;
  --hb-text: #1f2a37;
  --hb-muted: #5f6c7b;
  --hb-radius: 14px;
  --hb-shadow: 0 14px 38px rgba(7, 26, 44, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--hb-text);
  background: radial-gradient(circle at 2% 0, #d6ecff 0, transparent 38%),
    linear-gradient(180deg, var(--hb-bg), #eef2f9);
  line-height: 1.55;
}

a {
  color: var(--hb-secondary);
}

.hb-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px;
}

.hb-hero {
  display: grid;
  gap: 22px;
  background: linear-gradient(135deg, rgba(11, 95, 75, 0.94), rgba(19, 61, 103, 0.9));
  color: #fff;
  border-radius: 22px;
  padding: 42px;
  box-shadow: var(--hb-shadow);
}

.hb-hero h1 {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
}

.hb-hero p {
  margin: 0;
  max-width: 60ch;
  opacity: 0.94;
}

.hb-kpis {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.hb-kpi {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  padding: 14px;
}

.hb-kpi strong {
  display: block;
  font-size: 1.5rem;
}

.hb-section {
  margin-top: 28px;
  background: var(--hb-surface);
  border-radius: var(--hb-radius);
  box-shadow: var(--hb-shadow);
  padding: 26px;
}

.hb-section h2 {
  margin-top: 0;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
}

.hb-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.hb-card {
  padding: 14px;
  border-radius: 12px;
  background: #f6f9fc;
  border: 1px solid #e2e8f0;
}

.hb-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.hb-card p {
  margin: 0;
  color: var(--hb-muted);
  font-size: 0.96rem;
}

.hb-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff3e6;
  color: #a65a05;
  border: 1px solid #ffddb5;
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .hb-shell {
    padding: 12px;
  }

  .hb-hero {
    padding: 24px;
  }
}
