/*
Theme Name: Hongbo Outdoor
Theme URI: https://example.com
Author: Hongbo
Description: B2B outdoor products supplier theme with quote form, product catalog and responsive design.
Version: 1.1.0
Text Domain: hongbo-outdoor
*/

:root {
  --primary: #0B1F3A;
  --primary-2: #132C52;
  --accent: #FF6B35;
  --accent-dark: #E85520;
  --bg: #F6F8FB;
  --card: #FFFFFF;
  --text: #1E293B;
  --muted: #64748B;
  --line: #E5EAF1;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(15, 23, 42, .08);
  --maxw: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px;
  font-weight: 600; font-size: 15px; cursor: pointer;
  transition: all .2s ease; border: 1px solid transparent;
  white-space: nowrap;
}
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255,107,53,.35); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.22); }
.btn-dark { background: var(--primary); color: #fff; }
.btn-dark:hover { background: var(--primary-2); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--primary); }
.logo .mark { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg, var(--accent), #FF9A5A); display: grid; place-items: center; color: #fff; font-size: 18px; }
.nav-menu { display: flex; align-items: center; gap: 28px; }
.nav-menu a { font-weight: 500; color: var(--muted); transition: color .2s; }
.nav-menu a:hover, .nav-menu a.active { color: var(--primary); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--primary); }

/* ===== Hero ===== */
.hero {
  background: radial-gradient(1200px 600px at 80% -10%, #1D3A66 0%, var(--primary) 55%, #071424 100%);
  color: #fff; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 460px; height: 460px;
  border-radius: 50%; border: 60px solid rgba(255,107,53,.18);
}
.hero-inner { position: relative; z-index: 1; padding: 90px 0 96px; max-width: var(--maxw); margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.hero .kicker { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,107,53,.15); border: 1px solid rgba(255,107,53,.4); color: #FFB08F; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .3px; margin-bottom: 20px; }
.hero h1 { font-size: 52px; line-height: 1.12; font-weight: 800; max-width: 720px; letter-spacing: -.5px; }
.hero h1 .hl { color: var(--accent); }
.hero p.sub { margin: 22px 0 32px; font-size: 18px; color: #C7D3E4; max-width: 620px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 56px; flex-wrap: wrap; }
.hero-stats .stat b { display: block; font-size: 30px; font-weight: 800; color: #fff; }
.hero-stats .stat span { color: #94A6BF; font-size: 14px; }

/* ===== Section ===== */
.section { padding: 72px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head .eyebrow { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; font-size: 13px; }
.section-head h2 { font-size: 34px; font-weight: 800; margin: 10px 0 12px; color: var(--primary); }
.section-head p { color: var(--muted); }

/* ===== Category cards ===== */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; align-items: flex-start;
  transition: all .25s ease; cursor: pointer;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.cat-card .ic { width: 52px; height: 52px; border-radius: 12px; background: #FFF1EA; color: var(--accent); display: grid; place-items: center; font-size: 24px; flex: none; margin-bottom: 14px; }
.cat-card h3 { font-size: 17px; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.cat-card p { font-size: 13px; color: var(--muted); line-height: 1.5; flex: 1; }
.cat-card .count { margin-top: 12px; font-size: 12px; font-weight: 600; color: var(--accent); }

/* ===== Product grid ===== */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.prod-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: all .25s ease;
}
.prod-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.prod-thumb { aspect-ratio: 1 / 1; background: #fff; display: grid; place-items: center; font-size: 56px; position: relative; overflow: hidden; }
.prod-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prod-thumb .tag { position: absolute; top: 12px; left: 12px; background: var(--primary); color: #fff; font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.prod-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.prod-body h3 { font-size: 15px; font-weight: 700; color: var(--primary); line-height: 1.4; }
.prod-meta { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }
.prod-price { color: var(--accent); font-weight: 800; font-size: 15px; }
.prod-card .btn { margin-top: auto; justify-content: center; padding: 10px 16px; font-size: 14px; }

/* ===== Feature / Why us ===== */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.feature .ic { width: 48px; height: 48px; border-radius: 12px; background: #EEF4FF; color: var(--primary); display: grid; place-items: center; font-size: 22px; margin-bottom: 14px; }
.feature h3 { font-size: 16px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.feature p { font-size: 14px; color: var(--muted); }

/* ===== CTA band ===== */
.cta-band { background: linear-gradient(120deg, var(--accent), #FF8A5C); color: #fff; border-radius: 22px; padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { font-size: 30px; font-weight: 800; margin-bottom: 8px; }
.cta-band p { color: #FFE3D6; }

/* ===== Quote page / form ===== */
.quote-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.form-card h2 { color: var(--primary); font-size: 22px; margin-bottom: 6px; }
.form-card p { color: var(--muted); margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--primary); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 15px; font-family: inherit; background: #FBFCFE; transition: border .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.form-note { margin-top: 12px; font-size: 13px; color: var(--muted); }
.form-success { background: #ECFDF3; border: 1px solid #A7F3D0; color: #047857; padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; font-size: 14px; }

.info-list li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.info-list .ic { width: 44px; height: 44px; border-radius: 11px; background: #FFF1EA; color: var(--accent); display: grid; place-items: center; font-size: 20px; flex: none; }
.info-list h4 { font-weight: 700; color: var(--primary); }
.info-list p { color: var(--muted); font-size: 14px; }

/* ===== Single product ===== */
.prod-single { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.prod-hero { aspect-ratio: 1/1; background: #fff; border-radius: var(--radius); display: grid; place-items: center; font-size: 130px; overflow: hidden; border: 1px solid var(--line); }
.prod-hero img { width: 100%; height: 100%; object-fit: contain; display: block; }
.prod-single h1 { font-size: 30px; font-weight: 800; color: var(--primary); line-height: 1.25; }
.prod-single .price-row { display: flex; align-items: center; gap: 16px; margin: 18px 0; }
.prod-single .price { font-size: 26px; color: var(--accent); font-weight: 800; }
.prod-single .moq { background: #EEF4FF; color: var(--primary); padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.prod-single .desc { color: var(--muted); margin-bottom: 20px; }
.spec-list { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-bottom: 24px; }
.spec-list li { display: flex; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec-list li:last-child { border-bottom: none; }
.spec-list li span:first-child { color: var(--muted); }
.spec-list li span:last-child { font-weight: 600; color: var(--primary); }
.back-link { display: inline-block; margin-bottom: 20px; color: var(--muted); font-weight: 500; }
.back-link:hover { color: var(--accent); }

/* ===== Footer ===== */
.site-footer { background: var(--primary); color: #B9C6D8; padding: 60px 0 0; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 44px; }
.footer-grid h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-grid a { display: block; margin-bottom: 10px; font-size: 14px; }
.footer-grid a:hover { color: #fff; }
.footer-brand p { margin-top: 14px; font-size: 14px; max-width: 300px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; text-align: center; font-size: 13px; }

/* ===== Page hero (inner) ===== */
.page-hero { background: var(--primary); color: #fff; padding: 64px 0; }
.page-hero h1 { font-size: 38px; font-weight: 800; }
.page-hero p { color: #C7D3E4; margin-top: 10px; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-wrap, .prod-single { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 38px; }
}
@media (max-width: 640px) {
  .nav-menu { display: none; }
  .nav-menu.open { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: #fff; padding: 20px; gap: 16px; border-bottom: 1px solid var(--line); }
  .menu-toggle { display: block; }
  .nav-cta .btn-ghost { display: none; }
  .cat-grid, .prod-grid, .feature-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 60px 0 70px; }
  .hero h1 { font-size: 30px; }
  .hero-stats { gap: 24px; }
  .cta-band { padding: 36px 24px; }
}
