/*
Theme Name: Battery Export B2B
Theme URI: https://example.com/battery-export-b2b
Author: Battery Export Company
Author URI: https://example.com
Description: A WordPress B2B export theme for custom lithium battery packs, LiFePO4 batteries, battery solutions, quality control, products, and technical blog content.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: battery-export-b2b
Tags: custom-logo, custom-menu, featured-images, blog, e-commerce, one-column, two-columns
*/

:root {
  --navy: #0a192f;
  --navy-2: #0f172a;
  --orange: #f39c12;
  --orange-dark: #d68910;
  --blue: #007bff;
  --surface: #f8f9ff;
  --surface-2: #eff4ff;
  --surface-3: #e5eeff;
  --line: #d7dce7;
  --text: #0b1c30;
  --muted: #4b5565;
  --white: #fff;
  --shadow: 0 14px 34px rgba(10, 25, 47, 0.09);
  --radius: 8px;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--surface);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--orange); }
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 16px;
  font-family: Montserrat, Inter, sans-serif;
  line-height: 1.18;
  color: var(--navy);
}
p { margin: 0 0 18px; }
ul { margin: 0; padding-left: 20px; }
.container { width: min(var(--container), calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 249, 255, 0.96);
  border-bottom: 1px solid rgba(117, 119, 126, 0.16);
  backdrop-filter: blur(14px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: Montserrat, sans-serif; font-weight: 800; font-size: 22px; color: var(--navy); }
.brand img { max-height: 46px; width: auto; }
.main-navigation { display: flex; align-items: center; gap: 22px; }
.menu { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.menu li { position: relative; }
.menu a { display: block; font-size: 14px; font-weight: 700; color: var(--navy); }
.menu .sub-menu {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 250px;
  padding: 12px;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.menu li:hover > .sub-menu { display: block; }
.menu .sub-menu a { padding: 8px 10px; font-weight: 600; color: var(--muted); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.button, button, input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 20px;
  border: 0;
  border-radius: var(--radius);
  background: var(--orange);
  color: var(--white);
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 2px 0 var(--orange-dark);
}
.button:hover, button:hover, input[type="submit"]:hover { color: var(--white); filter: brightness(1.04); }
.button.secondary { color: var(--navy); background: transparent; border: 2px solid var(--navy); box-shadow: none; }
.button.secondary:hover { background: var(--navy); color: var(--white); }
.mobile-toggle { display: none; background: var(--navy); box-shadow: none; min-height: 40px; padding: 8px 12px; }
.hero {
  padding: 96px 0;
  background: linear-gradient(135deg, #f8f9ff 0%, #e5eeff 100%);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.eyebrow { display: block; margin-bottom: 14px; color: var(--orange); font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); letter-spacing: 0; }
.hero h1 span { color: var(--blue); }
.hero p { max-width: 620px; color: var(--muted); font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-media {
  position: relative;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.hero-media img { border-radius: 18px; aspect-ratio: 4 / 3; object-fit: cover; }
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 28px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { padding: 22px; background: var(--white); }
.stat strong { display: block; color: var(--navy); font-family: Montserrat, sans-serif; font-size: 26px; }
.stat span { color: var(--muted); font-size: 13px; font-weight: 700; text-transform: uppercase; }
.section { padding: 84px 0; }
.section.alt { background: var(--surface-2); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 36px; }
.section-head p { max-width: 650px; color: var(--muted); }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card, .product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 22px rgba(10, 25, 47, 0.05);
  overflow: hidden;
}
.card { padding: 28px; }
.card:hover, .product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); transition: 0.22s ease; }
.icon-box { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 18px; border-radius: var(--radius); color: var(--blue); background: var(--surface-3); font-weight: 900; }
.product-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--surface-3); }
.product-card-body { padding: 22px; }
.spec-footer { display: flex; justify-content: space-between; gap: 12px; padding: 14px 22px; background: #f3f6fb; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; font-weight: 800; }
.two-col { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.check-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 28px; color: var(--muted); }
.check-list li::before { content: "OK"; position: absolute; left: 0; top: 0; color: var(--orange); font-weight: 900; font-size: 12px; }
.content-area { padding: 72px 0; }
.entry-header { margin-bottom: 28px; }
.entry-title { font-size: clamp(34px, 5vw, 52px); }
.entry-meta, .post-meta { color: var(--muted); font-size: 14px; font-weight: 700; }
.posts-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; }
.post-list { display: grid; gap: 24px; }
.widget-area .widget { margin-bottom: 24px; padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.site-footer { padding: 64px 0 28px; background: var(--navy); color: #dbe7ff; }
.footer-grid { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 28px; }
.site-footer h2, .site-footer h3 { color: var(--white); }
.site-footer a { color: #dbe7ff; }
.footer-bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.14); color: #9fb1cc; font-size: 14px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
input, textarea, select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #9aa6b8;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  font: inherit;
}
textarea { min-height: 150px; resize: vertical; }
label { display: grid; gap: 6px; color: var(--navy); font-weight: 800; font-size: 14px; }
.pagination { margin-top: 32px; display: flex; gap: 8px; }
.pagination .page-numbers { padding: 8px 12px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.pagination .current { background: var(--navy); color: var(--white); }
.screen-reader-text { position: absolute; left: -9999px; }
@media (max-width: 980px) {
  .main-navigation { display: none; position: absolute; left: 16px; right: 16px; top: 76px; padding: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
  .main-navigation.is-open { display: block; }
  .menu { display: grid; gap: 12px; }
  .menu .sub-menu { position: static; display: block; box-shadow: none; border: 0; padding: 6px 0 0 16px; }
  .mobile-toggle { display: inline-flex; }
  .hero-grid, .two-col, .posts-layout, .footer-grid { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .header-actions .button { display: none; }
  .hero, .section { padding: 56px 0; }
  .grid-2, .grid-3, .grid-4, .form-grid, .stat-strip { grid-template-columns: 1fr; }
  .section-head { display: block; }
}
