:root {
  --bg: #ffffff;
  --surface: #f8fafc;
  --surface-2: #f1f5f9;
  --ink: #0f172a;
  --muted: #475569;
  --border: #e2e8f0;
  --primary: #1d4ed8;
  --primary-dark: #1e40af;
  --wa: #16a34a;
  --wa-dark: #15803d;
  --amber: #f59e0b;
  --danger: #dc2626;
  --radius: 12px;
  --shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
  --max: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.topbar {
  background: var(--ink);
  color: #e2e8f0;
  font-size: 12px;
  padding: 7px 0;
}
.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.topbar a { color: #93c5fd; font-weight: 600; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.02em;
}
.brand-logo {
  height: 36px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  flex-shrink: 0;
}
.nav-desktop { display: none; align-items: center; gap: 18px; font-size: 14px; font-weight: 600; }
.nav-desktop a:hover { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 8px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: 0.15s ease;
  white-space: nowrap;
}
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover:not(:disabled) { background: var(--primary-dark); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover:not(:disabled) { background: var(--wa-dark); }
.btn-outline { background: #fff; border-color: var(--border); color: var(--ink); }
.btn-outline:hover:not(:disabled) { border-color: var(--ink); }
.btn-sm { padding: 8px 12px; font-size: 13px; }
.icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.badge-count {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.badge-count:empty { display: none; }

.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
  padding: 40px 0 36px;
}
.hero-grid { display: grid; gap: 28px; align-items: center; }
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  margin-bottom: 14px;
}
.stars { color: var(--amber); letter-spacing: 1px; }
.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(26px, 4.5vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.hero p.lead { margin: 0 0 22px; color: #cbd5e1; font-size: 16px; max-width: 600px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 24px; }
.stat-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 14px;
}
.stat-card strong { display: block; font-size: 20px; }
.stat-card span { font-size: 12px; color: #cbd5e1; }

.section { padding: 40px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 20px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 4px;
}
.section-head h2 { margin: 0; font-size: clamp(20px, 3vw, 28px); letter-spacing: -0.02em; }
.view-all { font-size: 14px; font-weight: 600; color: var(--primary); }

.finder-grid, .industry-grid, .trust-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.finder-card, .industry-card, .trust-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  transition: 0.15s ease;
}
.finder-card:hover, .industry-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.finder-num {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: var(--primary);
  background: #eff6ff;
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 8px;
}
.finder-card h3, .industry-card h3, .trust-card h3 { margin: 0 0 6px; font-size: 16px; }
.finder-card p, .industry-card p, .trust-card p { margin: 0; font-size: 13px; color: var(--muted); }
.industry-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip-link {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink);
}
.chip-link:hover { background: #dbeafe; color: var(--primary-dark); }

.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cat-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.cat-card strong { font-size: 14px; line-height: 1.3; }
.cat-card span { font-size: 12px; color: var(--muted); }

.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.product-thumb { position: relative; aspect-ratio: 1 / 1; background: var(--surface); overflow: hidden; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ribbon {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}
.product-body { padding: 12px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 36px;
}
.price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.price-now { font-size: 15px; font-weight: 800; color: var(--ink); }
.price-was { font-size: 12px; color: var(--muted); text-decoration: line-through; }
.tax-note { font-size: 11px; color: var(--wa-dark); font-weight: 600; }
.product-actions { margin-top: auto; display: grid; grid-template-columns: 1fr; gap: 6px; }

.b2b-box {
  background: var(--ink);
  color: #fff;
  border-radius: 16px;
  padding: 28px 20px;
  display: grid;
  gap: 18px;
}
.b2b-box h2 { margin: 0 0 8px; font-size: 24px; }
.b2b-box p { margin: 0; color: #cbd5e1; font-size: 14px; }
.b2b-list { margin: 12px 0 0; padding-left: 18px; color: #e2e8f0; font-size: 14px; }

.prose { max-width: 860px; }
.prose h1 { margin: 0 0 16px; font-size: clamp(24px, 3.5vw, 34px); }
.prose h2 { margin: 28px 0 10px; font-size: 20px; border-bottom: 1px solid var(--border); padding-bottom: 6px; }
.prose h3 { margin: 18px 0 8px; font-size: 16px; }
.prose p, .prose li { color: var(--muted); font-size: 15px; }
.prose ul { padding-left: 20px; }

.site-footer {
  background: #0b1120;
  color: #cbd5e1;
  padding: 40px 0 24px;
  font-size: 13px;
}
.footer-grid { display: grid; gap: 24px; margin-bottom: 24px; }
.site-footer h4 { color: #fff; margin: 0 0 10px; font-size: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
}

.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  z-index: 60;
  display: flex;
  justify-content: flex-end;
}
.backdrop[hidden] { display: none; }
.drawer {
  width: 100%;
  max-width: 420px;
  background: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 30px rgba(0,0,0,0.18);
}
.drawer-left { margin-right: auto; margin-left: 0; }
.drawer-head {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer-head h3 { margin: 0; font-size: 17px; }
.drawer-body { padding: 16px; overflow-y: auto; flex: 1; display: flex; flex-direction: column; gap: 12px; }
.drawer-foot { padding: 16px; border-top: 1px solid var(--border); background: var(--surface); display: grid; gap: 10px; }
.modal-center { justify-content: center; align-items: center; padding: 16px; }
.modal-card {
  width: 100%;
  max-width: 480px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}
.field { display: grid; gap: 4px; }
.field label { font-size: 13px; font-weight: 600; }
.field input, .field textarea, .field select {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 100%;
}
.cart-line {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.cart-line img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; background: var(--surface); }
.qty-box { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.qty-box button { width: 30px; height: 30px; border: 0; background: var(--surface); cursor: pointer; font-weight: 700; }
.qty-box span { min-width: 28px; text-align: center; font-size: 13px; font-weight: 600; }
.alert { padding: 10px 12px; border-radius: 8px; font-size: 13px; background: #fef2f2; color: var(--danger); border: 1px solid #fecaca; }

.shop-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.shop-layout { display: grid; gap: 20px; }
.filter-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; display: grid; gap: 14px; align-content: start; }
.pdp-grid { display: grid; gap: 24px; }
.pdp-gallery { display: grid; gap: 10px; }
.pdp-main-img { aspect-ratio: 1 / 1; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.pdp-main-img img { width: 100%; height: 100%; object-fit: contain; }
.pdp-thumbs { display: flex; gap: 8px; overflow-x: auto; }
.pdp-thumbs button { width: 64px; height: 64px; padding: 0; border: 2px solid var(--border); border-radius: 8px; overflow: hidden; background: #fff; cursor: pointer; flex-shrink: 0; }
.pdp-thumbs button.active { border-color: var(--primary); }
.choice-group { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.choice-btn { padding: 8px 12px; border-radius: 8px; border: 1px solid var(--border); background: #fff; cursor: pointer; font-size: 13px; font-weight: 600; }
.choice-btn[aria-pressed="true"] { border-color: var(--primary); background: #eff6ff; color: var(--primary-dark); }
.choice-btn:disabled { opacity: 0.4; text-decoration: line-through; cursor: not-allowed; }
.sticky-wa {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 35;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(22, 163, 74, 0.35);
}

@media (min-width: 768px) {
  .nav-desktop { display: flex; }
  .menu-toggle { display: none; }
  .hero-grid { grid-template-columns: 1.25fr 0.75fr; }
  .finder-grid, .industry-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .product-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .product-actions { grid-template-columns: 1fr 1fr; }
  .b2b-box { grid-template-columns: 1.3fr 0.7fr; align-items: center; padding: 36px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .shop-layout { grid-template-columns: 240px 1fr; }
  .pdp-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}