:root {
  --blue: #0b4ea2;
  --blue-dark: #08387a;
  --blue-soft: #eaf1fa;
  --navy: #0b1f3a;
  --accent: #f97316;
  --accent-dark: #ea580c;
  --ink: #101828;
  --muted: #667085;
  --line: #e4e7ec;
  --soft: #f7f9fc;
  --green: #027a48;
  --radius: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: hidden; }
body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(1200px, 94%); margin: 0 auto; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; border: 1px solid transparent; border-radius: 8px;
  font-weight: 600; font-size: .92rem; cursor: pointer; text-align: center;
  padding: 10px 18px; transition: background .18s, color .18s, border-color .18s;
  text-decoration: none; line-height: 1.3;
}
.btn:hover { text-decoration: none; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline { background: #fff; border-color: var(--blue); color: var(--blue); }
.btn-outline:hover { background: var(--blue-soft); }
.btn-sm { padding: 8px 14px; font-size: .85rem; }
.btn-lg { padding: 13px 24px; font-size: 1rem; }
.btn-block { display: block; width: 100%; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: rgba(255,255,255,.8); font-size: .78rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 34px; gap: 12px; }
.topbar-right { display: flex; gap: 8px; align-items: center; }
.topbar a { color: rgba(255,255,255,.85); }
.topbar .dot { opacity: .5; margin: 0 2px; }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 40; box-shadow: 0 1px 0 rgba(16,24,40,.02); }
.header-main { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 28px; padding: 16px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 9px; background: var(--blue);
  color: #fff; font-weight: 800; font-size: 1.35rem; display: grid; place-items: center;
}
.brand-logo { height: 42px; width: auto; flex: 0 0 auto; display: block; }
.footer-brand .brand-logo { height: 34px; }
.brand-text strong { display: block; font-size: 1.14rem; letter-spacing: -.1px; line-height: 1.1; }
.brand-text em { font-style: normal; font-size: .7rem; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }

.searchbar { display: flex; align-items: stretch; border: 2px solid var(--blue); border-radius: 8px; overflow: hidden; background: #fff; }
.searchbar input {
  flex: 1; border: none; padding: 11px 14px; font-size: .95rem; color: var(--ink); min-width: 0;
}
.searchbar input:focus { outline: none; }
.searchbar button {
  border: none; background: var(--blue); color: #fff; width: 52px; cursor: pointer;
  display: grid; place-items: center;
}
.searchbar button:hover { background: var(--blue-dark); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.rfq-btn {
  display: flex; align-items: center; gap: 8px; border: 1px solid var(--line);
  border-radius: 8px; padding: 7px 12px; color: var(--navy); background: #fff;
}
.rfq-btn:hover { border-color: var(--blue); text-decoration: none; }
.rfq-label { font-weight: 600; font-size: .86rem; line-height: 1.2; }
.rfq-label small { display: block; font-weight: 400; font-size: .72rem; color: var(--muted); }

.catnav { border-top: 1px solid var(--line); background: #fbfcfe; }
.catnav-inner { display: flex; gap: 19px; align-items: center; height: 46px; overflow-x: auto; scrollbar-width: none; }
.catnav-inner .nav-hot { color: var(--accent); font-weight: 700; display: inline-flex; align-items: center; gap: 5px; }
.catnav-inner .nav-hot em { font-style: normal; font-size: .58rem; letter-spacing: .6px; background: #fff1e6; color: #c2410c; border-radius: 3px; padding: 1px 4px; }
.catnav-inner .nav-hot:hover { color: #ea580c; }
.catnav-inner::-webkit-scrollbar { display: none; }
.catnav a { font-size: .86rem; color: #344054; white-space: nowrap; font-weight: 500; }
.catnav a:hover { color: var(--blue); text-decoration: none; }
.catnav .all-cats { font-weight: 700; color: var(--navy); }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(160deg, #0b1f3a 0%, #0b3f7d 70%, #0b4ea2 100%); color: #fff; padding: 52px 0 46px; }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero-kicker { font-size: .78rem; letter-spacing: 1.2px; text-transform: uppercase; color: #ffb072; font-weight: 700; margin-bottom: 14px; }
.hero h1 { font-size: clamp(1.9rem, 3.4vw, 2.85rem); line-height: 1.12; letter-spacing: -.6px; margin-bottom: 16px; font-weight: 700; }
.hero h1 span { color: #ffb072; }
.hero-sub { color: rgba(255,255,255,.82); font-size: 1rem; max-width: 560px; margin-bottom: 22px; }
.hero-search { display: flex; gap: 8px; background: #fff; padding: 6px; border-radius: 10px; max-width: 540px; }
.hero-search input { flex: 1; border: none; padding: 10px 12px; font-size: .95rem; border-radius: 6px; min-width: 0; }
.hero-search input:focus { outline: 2px solid #ffd9bd; }
.hero-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; font-size: .84rem; color: rgba(255,255,255,.7); align-items: center; }
.hero-tags a { color: #fff; background: rgba(255,255,255,.12); padding: 3px 10px; border-radius: 99px; }
.hero-tags a:hover { background: rgba(255,255,255,.22); text-decoration: none; }

.hero-visual { display: flex; flex-direction: column; gap: 16px; }
.quote-card { background: #fff; color: var(--ink); border-radius: 12px; padding: 20px; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.quote-card-head { font-size: .78rem; color: var(--muted); display: flex; align-items: center; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.quote-lines { list-style: none; margin: 6px 0 12px; }
.quote-lines li { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .84rem; align-items: baseline; }
.quote-lines strong { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: .82rem; }
.quote-lines span { color: var(--muted); }
.quote-lines em { font-style: normal; font-weight: 600; color: var(--blue); }
.quote-total { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 0 14px; }
.quote-total span { color: var(--muted); font-size: .82rem; }
.quote-total strong { font-size: 1.35rem; color: var(--navy); }
.quote-foot { font-size: .72rem; color: var(--green); background: #ecfdf3; border-radius: 6px; padding: 8px 10px; line-height: 1.5; }
.hero-badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; text-align: center; }
.hero-badges span { background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.14); border-radius: 8px; padding: 10px 6px; font-size: .75rem; color: rgba(255,255,255,.78); }
.hero-badges strong { display: block; font-size: 1.15rem; color: #fff; }

/* ---------- Sections ---------- */
.section { padding: 54px 0; }
.section-soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 24px; }
.section-head.center { justify-content: center; text-align: center; }
.section-head h2 { font-size: 1.5rem; color: var(--navy); letter-spacing: -.3px; }
.section-head p { color: var(--muted); font-size: .9rem; margin-top: 4px; }
.link-more { font-size: .88rem; font-weight: 600; white-space: nowrap; }

/* ---------- Category grid ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat-card {
  display: flex; align-items: center; gap: 12px; padding: 16px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  color: var(--ink); transition: border-color .18s, box-shadow .18s, transform .18s;
}
.cat-card:hover { border-color: var(--blue); box-shadow: 0 8px 22px rgba(11,78,162,.1); transform: translateY(-2px); text-decoration: none; }
.cat-icon { width: 44px; height: 44px; flex: 0 0 44px; background: var(--blue-soft); border-radius: 8px; display: grid; place-items: center; }
.cat-icon img { width: 28px; height: 28px; }
.cat-body { flex: 1; min-width: 0; }
.cat-body strong { display: block; font-size: .92rem; }
.cat-body small { color: var(--muted); font-size: .76rem; line-height: 1.35; display: block; }
.cat-count { font-size: .75rem; color: var(--blue); background: var(--blue-soft); border-radius: 99px; padding: 2px 8px; font-weight: 600; }

/* ---------- Product rows ---------- */
.prod-list { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.section:not(.section-soft) .prod-list { box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.prod-row {
  display: grid; grid-template-columns: 48px minmax(0,1fr) 128px 138px 200px;
  gap: 16px; align-items: center; padding: 15px 18px; border-bottom: 1px solid var(--line);
  transition: background .15s;
}
.prod-list-head {
  display: grid; grid-template-columns: 48px minmax(0,1fr) 128px 138px 200px;
  gap: 16px; padding: 9px 18px; background: #f9fafb; border-bottom: 1px solid var(--line);
  font-size: .68rem; text-transform: uppercase; letter-spacing: .7px; color: var(--muted);
  font-weight: 600;
}
.prod-row:last-child { border-bottom: none; }
.prod-row:hover { background: #fafcff; }
.prod-thumb { width: 52px; height: 52px; border-radius: 8px; background: var(--blue-soft); display: grid; place-items: center; }
.prod-thumb img { width: 32px; height: 32px; }
.prod-mpn { font-size: .95rem; font-weight: 700; letter-spacing: -.1px; }
.prod-mpn a { color: var(--navy); }
.prod-mpn .sku { font-weight: 400; font-size: .72rem; color: #98a2b3; margin-left: 8px; }
.prod-name {
  font-size: .84rem; color: #1d2939; margin-top: 3px; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.prod-meta { font-size: .76rem; color: var(--muted); margin-top: 4px; }
.prod-brand { font-size: .76rem; color: #475467; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prod-brand .sep { color: #d0d5dd; margin: 0 2px; }
.prod-cat { color: var(--blue); font-size: .76rem; }
.prod-stock { text-align: left; display: flex; flex-direction: column; gap: 3px; }
.prod-pack { display: flex; flex-direction: column; gap: 3px; }
.moq { font-size: .8rem; color: var(--ink); font-weight: 600; }
.pack-info { font-size: .72rem; color: var(--muted); }
.stock-badge { display: inline-block; width: fit-content; font-size: .68rem; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--green); background: #ecfdf3; border-radius: 4px; padding: 2px 7px; }
.stock-badge.out { color: #b54708; background: #fffaeb; }
.stock-qty { font-size: .78rem; color: var(--ink); }
.moq { font-size: .72rem; color: var(--muted); }
.prod-buy { display: flex; flex-direction: column; gap: 6px; }
.price-rfq { font-size: .8rem; font-weight: 700; color: var(--navy); }
.buy-actions { display: flex; gap: 6px; align-items: center; width: 100%; }
.qty-input { width: 58px; flex: 0 0 58px; padding: 6px 6px; border: 1px solid #d0d5dd; border-radius: 6px; font-size: .82rem; text-align: center; }
.buy-actions .btn { flex: 1; white-space: nowrap; }

/* ---------- Bestseller cards ---------- */
.eyebrow { font-size: .72rem; letter-spacing: 1.3px; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 6px; }
.hot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hot-card {
  border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 16px 16px 14px;
  display: flex; flex-direction: column; transition: box-shadow .15s, border-color .15s, transform .15s;
}
.hot-card:hover { border-color: #b2cdf0; box-shadow: 0 8px 22px rgba(11,78,162,.10); transform: translateY(-2px); }
.hot-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.hot-rank { font-size: .72rem; font-weight: 800; color: #fff; background: var(--accent); border-radius: 5px; padding: 2px 8px; letter-spacing: .3px; }
.hot-flag { font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--blue); background: var(--blue-soft); border-radius: 4px; padding: 2px 7px; white-space: nowrap; }
.hot-card h3 { font-size: .96rem; font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; letter-spacing: -.2px; }
.hot-card h3 a { color: var(--navy); }
.hot-brand { font-size: .74rem; color: var(--muted); margin-top: 3px; }
.hot-desc {
  font-size: .78rem; color: #475467; line-height: 1.45; margin: 9px 0 10px; min-height: 3.4em;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.hot-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: auto 0 12px; padding-top: 10px; border-top: 1px dashed var(--line); }
.hot-meta dt { font-size: .62rem; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); }
.hot-meta dd { font-size: .76rem; color: var(--ink); font-weight: 600; margin-top: 2px; }
.hot-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }

/* ---------- Values / brands ---------- */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; background: #fff; }
.value-no { font-size: .75rem; font-weight: 700; color: var(--accent); letter-spacing: 1px; }
.value-card h3 { font-size: 1rem; margin: 8px 0 6px; color: var(--navy); }
.value-card p { font-size: .86rem; color: var(--muted); }
.brands-strip { background: #fff; border-top: 1px solid var(--line); padding: 30px 0 38px; }
.brands-title { text-align: center; font-size: .8rem; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.brands-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; }
.brands-list span { font-size: .88rem; color: #475467; font-weight: 600; opacity: .85; }

/* ---------- CTA ---------- */
.section-cta { background: linear-gradient(150deg, #0b1f3a, #0b3f7d); color: #fff; }
.cta-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: start; }
.cta-copy h2 { font-size: clamp(1.5rem, 2.6vw, 2.05rem); line-height: 1.2; letter-spacing: -.4px; margin-bottom: 14px; }
.cta-copy > p { color: rgba(255,255,255,.8); margin-bottom: 18px; }
.cta-list { list-style: none; margin-bottom: 20px; }
.cta-list li { padding-left: 22px; position: relative; color: rgba(255,255,255,.85); font-size: .9rem; margin-bottom: 6px; }
.cta-list li::before { content: "✓"; position: absolute; left: 0; color: #ffb072; font-weight: 700; }
.cta-contact { font-size: .9rem; color: rgba(255,255,255,.8); }
.cta-contact a { color: #fff; font-weight: 600; }
.quick-form { background: #fff; color: var(--ink); border-radius: 12px; padding: 26px; box-shadow: 0 20px 50px rgba(0,0,0,.28); }
.quick-form h3 { color: var(--navy); font-size: 1.15rem; margin-bottom: 16px; }

/* ---------- Forms ---------- */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group { margin-bottom: 12px; }
.form-group label { display: block; font-size: .78rem; font-weight: 600; color: #344054; margin-bottom: 5px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 9px 11px; border: 1px solid #d0d5dd; border-radius: 7px;
  font-size: .9rem; font-family: inherit; color: var(--ink); background: #fff;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
.form-note { font-size: .72rem; color: var(--muted); text-align: center; margin-top: 10px; line-height: 1.5; }
.alert { background: #fef3f2; color: #b42318; border: 1px solid #fecdca; border-radius: 8px; padding: 10px 14px; font-size: .88rem; margin-bottom: 16px; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding: 14px 0; font-size: .8rem; color: var(--muted); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); }
.breadcrumb strong { color: var(--ink); }

/* ---------- Category page ---------- */
.cat-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: start; padding-bottom: 60px; }
.filters { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: #fff; position: sticky; top: 140px; }
.filters h3 { font-size: 1rem; color: var(--navy); margin-bottom: 14px; }
.filter-block { padding: 12px 0; border-top: 1px solid var(--line); }
.filter-block:first-of-type { border-top: none; padding-top: 0; }
.filter-block h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); margin-bottom: 8px; }
.filter-block select { width: 100%; padding: 8px 10px; border: 1px solid #d0d5dd; border-radius: 7px; font-size: .86rem; background: #fff; }
.check { display: flex; gap: 8px; align-items: center; font-size: .86rem; }
.reset-link { display: block; text-align: center; font-size: .8rem; margin-top: 10px; }
.filter-help { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.filter-help h4 { font-size: .86rem; color: var(--navy); margin-bottom: 6px; }
.filter-help p { font-size: .8rem; color: var(--muted); margin-bottom: 10px; }
.cat-main { min-width: 0; }
.cat-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; padding: 18px 20px; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); }
.cat-header h1 { font-size: 1.45rem; color: var(--navy); }
.cat-header p { font-size: .85rem; color: var(--muted); margin-top: 2px; }
.cat-header-icon { width: 54px; height: 54px; background: #fff; border: 1px solid var(--line); border-radius: 10px; display: grid; place-items: center; }
.cat-header-icon img { width: 32px; height: 32px; }
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.pagination a, .pagination span { padding: 7px 12px; border: 1px solid var(--line); border-radius: 6px; font-size: .85rem; color: #344054; }
.pagination .current { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 600; }
.pagination a:hover { border-color: var(--blue); text-decoration: none; }
.empty-state { text-align: center; padding: 64px 24px; border: 1px dashed #d0d5dd; border-radius: var(--radius); background: #fff; }
.empty-state h3 { color: var(--navy); margin-bottom: 6px; }
.empty-state p { color: var(--muted); margin-bottom: 18px; font-size: .9rem; }
.search-head { margin-bottom: 20px; }
.search-head h1 { font-size: 1.5rem; color: var(--navy); }
.search-head p { color: var(--muted); font-size: .88rem; }

/* ---------- Product detail ---------- */
.product-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; padding-bottom: 30px; }
.product-head { display: grid; grid-template-columns: minmax(0,1fr) 220px; gap: 28px; align-items: start; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.product-brand { font-size: .8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--blue); font-weight: 700; margin-bottom: 6px; }
.product-title h1 { font-size: 1.75rem; letter-spacing: -.4px; color: var(--navy); line-height: 1.2; word-break: break-word; }
.product-sub { font-size: 1rem; color: #344054; margin-top: 6px; }
.product-ids { font-size: .78rem; color: var(--muted); margin-top: 8px; }
.product-figure { border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); padding: 28px 18px; text-align: center; }
.product-figure img { width: 96px; height: 96px; margin: 0 auto 10px; }
.product-figure span { font-size: .74rem; color: var(--muted); }
.product-section { padding: 24px 0; border-bottom: 1px solid var(--line); }
.product-section h2 { font-size: 1.05rem; color: var(--navy); margin-bottom: 12px; }
.product-section p { font-size: .92rem; color: #344054; }
.spec-table, .price-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.spec-table th { text-align: left; width: 240px; color: var(--muted); font-weight: 500; padding: 9px 12px; vertical-align: top; background: #fbfcfe; }
.spec-table td { padding: 9px 12px; border-bottom: 1px solid var(--line); }
.spec-table tr:last-child td, .spec-table tr:last-child th { border-bottom: none; }
.spec-table tr { border-bottom: 1px solid var(--line); }
.price-table th { text-align: right; font-size: .76rem; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); padding: 8px 12px; border-bottom: 1px solid var(--line); }
.price-table th:first-child, .price-table td:first-child { text-align: left; }
.price-table td { text-align: right; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.buy-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: sticky; top: 140px; background: #fff; box-shadow: 0 6px 24px rgba(16,24,40,.06); }
.buy-stock { font-size: .8rem; color: var(--green); display: flex; align-items: center; gap: 6px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: #12b76a; display: inline-block; box-shadow: 0 0 0 3px rgba(18,183,106,.15); }
.dot-live.off { background: #f79009; box-shadow: 0 0 0 3px rgba(247,144,9,.15); }
.buy-price { padding: 16px 0 12px; }
.buy-price span { font-size: .78rem; color: var(--muted); display: block; }
.buy-price strong { font-size: 1.45rem; color: var(--navy); letter-spacing: -.3px; display: block; margin: 2px 0 3px; }
.buy-price small { display: block; font-size: .74rem; color: var(--muted); }
.buy-qty { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 6px 0 12px; }
.buy-qty span { font-size: .85rem; font-weight: 600; color: #344054; }
.buy-qty input { width: 120px; padding: 8px 10px; border: 1px solid #d0d5dd; border-radius: 7px; font-size: .9rem; }
.buy-extended { display: flex; justify-content: space-between; align-items: baseline; background: var(--soft); border-radius: 8px; padding: 10px 12px; margin-bottom: 14px; font-size: .84rem; color: var(--muted); }
.buy-extended strong { color: var(--navy); font-size: 1rem; }
.buy-box .btn { margin-bottom: 8px; }
.buy-points { list-style: none; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.buy-points li { font-size: .8rem; color: #475467; padding-left: 18px; position: relative; margin-bottom: 5px; }
.buy-points li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.buy-help { margin-top: 14px; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 8px; padding: 12px; }
.buy-help strong { font-size: .82rem; color: #9a3412; }
.buy-help p { font-size: .78rem; color: #7c2d12; margin: 4px 0 6px; }
.buy-help a { font-size: .8rem; font-weight: 600; }

/* ---------- RFQ page ---------- */
.rfq-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .9fr); gap: 32px; align-items: start; padding-bottom: 60px; }
.rfq-head { margin-bottom: 16px; }
.rfq-head h1 { font-size: 1.55rem; color: var(--navy); }
.rfq-head p { font-size: .88rem; color: var(--muted); margin-top: 4px; }
.rfq-items { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.rfq-row { display: grid; grid-template-columns: minmax(0,1fr) 104px 96px 30px; gap: 14px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.rfq-unit { font-size: .82rem; font-weight: 600; color: var(--muted); font-style: italic; }
.rfq-cell { color: var(--muted); font-style: italic; }
.rfq-row:last-child { border-bottom: none; }
.rfq-row-head { background: var(--soft); font-size: .72rem; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); padding: 10px 16px; }
.rfq-part .prod-mpn { font-size: .9rem; }
.rfq-unit { font-size: .86rem; font-weight: 600; color: var(--ink); }
.rfq-unit small { display: block; font-weight: 400; font-size: .68rem; color: var(--muted); }
.rfq-qty input { width: 100%; padding: 7px 8px; border: 1px solid #d0d5dd; border-radius: 6px; font-size: .85rem; }
.rfq-total { font-weight: 700; font-size: .9rem; color: var(--navy); text-align: right; }
.rfq-remove { background: none; border: none; font-size: 1.3rem; color: #98a2b3; cursor: pointer; line-height: 1; }
.rfq-remove:hover { color: #b42318; }
.rfq-suggest { margin-top: 30px; }
.suggest-grid { display: grid; gap: 10px; }
.suggest-card { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; color: var(--ink); background: #fff; }
.suggest-card:hover { border-color: var(--blue); text-decoration: none; }
.suggest-body { flex: 1; min-width: 0; }
.suggest-body strong { display: block; font-size: .88rem; color: var(--navy); }
.suggest-body small { display: block; font-size: .78rem; color: #475467; line-height: 1.35; }
.suggest-body em { display: block; font-style: normal; font-size: .76rem; color: var(--muted); margin-top: 3px; }
.suggest-cta { font-size: .78rem; font-weight: 600; color: var(--blue); white-space: nowrap; }
.rfq-suggest h3 { font-size: 1rem; color: var(--navy); margin-bottom: 12px; }
.rfq-actions { display: flex; gap: 16px; align-items: center; justify-content: space-between; margin-top: 18px; flex-wrap: wrap; }
.rfq-actions .muted { font-size: .78rem; max-width: 420px; }
.quote-panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; position: sticky; top: 140px; box-shadow: 0 6px 24px rgba(16,24,40,.06); }
.quote-panel h2 { font-size: 1.15rem; color: var(--navy); }
.quote-lead { font-size: .82rem; color: var(--muted); margin: 4px 0 16px; }
.quote-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; background: var(--soft); border-radius: 8px; padding: 12px; margin: 4px 0 14px; text-align: center; }
.quote-summary span { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .4px; color: var(--muted); }
.quote-summary strong { font-size: .95rem; color: var(--navy); }
.quote-direct { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 14px; font-size: .8rem; color: var(--muted); }
.quote-direct a { font-weight: 600; }

/* ---------- Success ---------- */
.success-wrap { background: var(--soft); padding: 50px 0 70px; }
.success-card { max-width: 720px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 40px; text-align: center; box-shadow: 0 10px 30px rgba(16,24,40,.06); }
.success-icon { width: 62px; height: 62px; border-radius: 50%; background: #ecfdf3; color: var(--green); font-size: 1.8rem; display: grid; place-items: center; margin: 0 auto 18px; }
.success-card h1 { font-size: 1.5rem; color: var(--navy); line-height: 1.25; margin-bottom: 8px; }
.success-ref { font-size: .9rem; color: var(--blue); background: var(--blue-soft); display: inline-block; padding: 5px 14px; border-radius: 99px; margin-bottom: 14px; }
.success-card > p { font-size: .92rem; color: #475467; }
.success-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 26px 0; text-align: left; }
.success-steps div { border: 1px solid var(--line); border-radius: 10px; padding: 14px; }
.success-steps span { width: 24px; height: 24px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: .75rem; font-weight: 700; margin-bottom: 8px; }
.success-steps strong { display: block; font-size: .9rem; color: var(--navy); margin-bottom: 4px; }
.success-steps p { font-size: .8rem; color: var(--muted); }
.success-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.success-contact { font-size: .8rem; color: var(--muted); margin-top: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.72); padding: 46px 0 0; font-size: .85rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 34px; padding-bottom: 34px; }
.footer-about p { margin-top: 12px; font-size: .82rem; line-height: 1.6; color: rgba(255,255,255,.6); }
.footer-about .cert { font-size: .74rem; color: rgba(255,255,255,.45); }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text em { color: rgba(255,255,255,.5); }
.footer-col h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 12px; }
.footer-col > a, .footer-col p { display: block; color: rgba(255,255,255,.68); font-size: .82rem; margin-bottom: 8px; }
.footer-col p a { display: inline; color: rgba(255,255,255,.82); }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 16px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: .76rem; color: rgba(255,255,255,.5); }

/* ---------- WhatsApp floating button ---------- */
.wa-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 150;
  display: inline-flex; align-items: center; gap: 9px;
  background: #22c15e; color: #fff; border-radius: 99px;
  padding: 10px 18px 10px 14px; font-size: .86rem; font-weight: 600; white-space: nowrap;
  box-shadow: 0 10px 24px rgba(34,193,94,.32);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.wa-fab:hover { background: #1eae54; color: #fff; text-decoration: none; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(34,193,94,.4); }
.wa-fab svg { flex: 0 0 auto; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%);
  background: var(--navy); color: #fff; padding: 12px 22px; border-radius: 99px;
  font-size: .88rem; box-shadow: 0 12px 30px rgba(0,0,0,.25); z-index: 200;
  animation: toastIn .2s ease-out;
}
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ---------- Content pages (about / faq / contact) ---------- */
.page-head { background: linear-gradient(180deg, #f7f9fc, #fff); border-bottom: 1px solid var(--line); padding: 36px 0 32px; }
.crumbs { font-size: .78rem; color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: var(--blue); }
.page-head h1 { font-size: clamp(1.55rem, 2.9vw, 2.1rem); color: var(--navy); letter-spacing: -.5px; margin-bottom: 10px; line-height: 1.2; }
.page-lead { max-width: 760px; color: #475467; font-size: .95rem; line-height: 1.75; }

.h2 { font-size: 1.3rem; color: var(--navy); margin: 34px 0 14px; letter-spacing: -.2px; }
.h2:first-child { margin-top: 0; }
.h3 { font-size: 1.02rem; color: var(--navy); margin: 26px 0 10px; }
.about-main p, .faq-main > p { color: #344054; line-height: 1.78; margin-bottom: 14px; font-size: .94rem; }
.muted { color: var(--muted); }

.about-grid { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(0,1fr); gap: 44px; align-items: start; }
.faq-wrap  { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(0,1fr); gap: 44px; align-items: start; }

.check-list { list-style: none; margin: 0 0 8px; }
.check-list li { position: relative; padding-left: 24px; color: #344054; font-size: .93rem; line-height: 1.6; margin-bottom: 9px; }
.check-list li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--blue); font-weight: 700; }
.check-list.small li { font-size: .85rem; margin-bottom: 6px; padding-left: 21px; }

.steps { list-style: none; margin: 12px 0 0; }
.steps li { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px dashed var(--line); }
.steps li:last-child { border-bottom: 0; padding-bottom: 0; }
.steps > li > span { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-weight: 700; font-size: .82rem; display: grid; place-items: center; }
.steps strong { display: block; font-size: .94rem; color: var(--navy); margin-bottom: 3px; }
.steps p { font-size: .87rem; color: #475467; margin: 0; line-height: 1.6; }

.fact-card { border: 1px solid var(--line); border-radius: 12px; padding: 22px; background: #fff; margin-bottom: 16px; }
.fact-card.soft { background: var(--soft); }
.fact-card h4 { font-size: .76rem; text-transform: uppercase; letter-spacing: .8px; color: var(--muted); margin-bottom: 14px; }
.fact-card p { font-size: .87rem; color: #344054; margin-bottom: 8px; line-height: 1.6; }
.fact-card .btn { margin-top: 12px; }
.fact-card dl { margin: 0; }
.fact-card dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); margin-top: 12px; }
.fact-card dt:first-of-type { margin-top: 0; }
.fact-card dd { font-size: .85rem; color: #344054; margin: 3px 0 6px; line-height: 1.55; }

.faq-item { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; background: #fff; padding: 0 18px; }
.faq-item summary { cursor: pointer; padding: 14px 26px 14px 0; font-weight: 600; font-size: .94rem; color: var(--navy); list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: 11px; color: var(--blue); font-size: 1.25rem; font-weight: 400; line-height: 1; }
.faq-item[open] summary::after { content: "\2013"; }
.faq-body { padding: 0 0 15px; }
.faq-body p { font-size: .89rem; color: #475467; line-height: 1.75; margin: 0; }
.faq-note { font-size: .83rem; color: var(--muted); margin: 12px 0 4px; line-height: 1.7; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.data-table { width: 100%; border-collapse: collapse; font-size: .86rem; min-width: 520px; }
.data-table th { background: #f9fafb; text-align: left; padding: 11px 14px; font-size: .72rem; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); border-bottom: 1px solid var(--line); white-space: nowrap; font-weight: 600; }
.data-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); color: #344054; vertical-align: top; line-height: 1.6; }
.data-table tr:last-child td { border-bottom: 0; }

.contact-grid { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(0,1fr); gap: 44px; align-items: start; }
.contact-line { display: flex; align-items: center; gap: 14px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; color: var(--ink); background: #fff; transition: border-color .15s, background .15s; }
.contact-line:hover { border-color: var(--blue); background: #f6faff; text-decoration: none; }
.contact-ico { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); font-weight: 700; font-size: .88rem; }
.contact-ico.wa { background: #e7f9ee; color: #128c3f; }
.contact-ico.tel { background: #eef2f8; color: #344054; font-size: .72rem; letter-spacing: .4px; }
.contact-line strong { display: block; font-size: .71rem; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); margin-bottom: 2px; }
.contact-line em { font-style: normal; font-size: .95rem; color: var(--navy); font-weight: 600; }
.contact-block { margin-top: 26px; }
.contact-block h3 { font-size: .98rem; color: var(--navy); margin-bottom: 8px; }
.contact-block p { font-size: .89rem; color: #344054; line-height: 1.72; margin-bottom: 6px; }
.text-link { font-size: .85rem; font-weight: 600; color: var(--blue); }
.contact-dl { margin: 0; }
.contact-dl dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); margin-top: 11px; }
.contact-dl dd { font-size: .85rem; color: #344054; margin: 3px 0 0; line-height: 1.55; }
.rfq-card { border: 1px solid #cfe1f8; border-radius: 12px; padding: 24px; background: #f6faff; margin-bottom: 16px; }
.rfq-card h3 { font-size: 1.03rem; color: var(--navy); margin-bottom: 8px; }
.rfq-card p { font-size: .87rem; color: #344054; line-height: 1.65; margin-bottom: 10px; }
.rfq-card .btn { margin-top: 14px; }
.small-note { font-size: .77rem; margin-top: 10px; }

.faq-band { max-width: 1080px; }
.faq-band .h2:first-child { margin-top: 0; }
.faq-band .data-table { min-width: 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-inner h2 { font-size: clamp(1.3rem, 2.3vw, 1.7rem); color: #fff; letter-spacing: -.3px; margin-bottom: 8px; }
.cta-inner p { color: rgba(255,255,255,.78); font-size: .91rem; line-height: 1.6; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .about-grid, .faq-wrap, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .prod-row, .prod-list-head { grid-template-columns: 46px minmax(0,1fr) 128px 200px; }
  .prod-list-head span:nth-child(4) { display: none; }
  .prod-pack { display: none; }
  .hot-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { max-width: 460px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-layout, .rfq-layout { grid-template-columns: 1fr; }
  .buy-box, .quote-panel, .filters { position: static; }
}
@media (max-width: 900px) {
  .header-main { grid-template-columns: 1fr auto; gap: 12px; }
  .searchbar { grid-column: 1 / -1; grid-row: 2; }
  .header-actions .rfq-btn { display: none; }
  .topbar-left span:nth-child(n+3) { display: none; }
  .cat-layout { grid-template-columns: 1fr; }
  .cta-grid { grid-template-columns: 1fr; gap: 28px; }
  .product-head { grid-template-columns: 1fr; }
  .product-figure { display: none; }
  .success-steps { grid-template-columns: 1fr; }
  .prod-row { grid-template-columns: 40px minmax(0,1fr); }
  .prod-list-head { display: none; }
  .prod-stock { grid-column: 2; flex-direction: row; gap: 8px; align-items: center; flex-wrap: wrap; }
  .prod-buy { grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; }
  .buy-actions { width: auto; }
  .rfq-row { grid-template-columns: 1fr 1fr; }
  .rfq-row-head { display: none; }
  .rfq-total { text-align: left; }
}
@media (max-width: 600px) {
  .wa-fab { right: 14px; bottom: 14px; padding: 12px; border-radius: 50%; gap: 0; }
  .wa-fab span { display: none; }
  .topbar-cur, .topbar-admin { display: none !important; }
  .topbar-right { gap: 6px; font-size: .7rem; }
  .topbar-inner { padding: 6px 0; }
  .topbar-left { display: none; }
  .topbar-inner { justify-content: center; height: auto; padding: 7px 0; }
  .topbar-right { flex-wrap: wrap; justify-content: center; font-size: .72rem; }
  .header-main { gap: 10px; }
  .brand-text strong { font-size: 1.05rem; }
  .brand-text em { display: none; }
  .header-actions .btn { padding: 8px 12px; font-size: .8rem; }
  .cat-grid, .value-grid, .footer-grid, .form-row, .stats, .hot-grid { grid-template-columns: 1fr; }
  .hot-desc { min-height: 0; }
  .hot-meta { grid-template-columns: repeat(3, 1fr); }
  .section { padding: 40px 0; }
  .hero { padding: 34px 0 30px; }
  .footer-col h4 { margin-top: 10px; }
  .success-card { padding: 26px 20px; }
}

/* ---------- Legal pages (privacy / terms) ---------- */
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--soft); border-color: #cfd6e2; }

.legal { max-width: 840px; }
.legal-meta { font-size: .8rem; color: var(--muted); letter-spacing: .2px; margin-bottom: 6px; }
.legal .h2 { font-size: 1.22rem; color: var(--navy); letter-spacing: -.2px; margin: 38px 0 12px; padding-top: 6px; }
.legal p { color: #344054; font-size: .95rem; line-height: 1.78; margin-bottom: 12px; }
.legal p.legal-meta { margin-bottom: 6px; }
.legal .legal-card { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin: 14px 0 18px; }
.legal .legal-card p { margin-bottom: 6px; font-size: .92rem; }
.legal .legal-card p:last-child { margin-bottom: 0; }
.legal-list { list-style: none; padding: 0; margin: 8px 0 16px; }
.legal-list li { position: relative; padding-left: 20px; margin-bottom: 9px; color: #344054; font-size: .95rem; line-height: 1.75; }
.legal-list li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.legal .table-wrap { margin: 14px 0 18px; }
.legal .data-table td { font-size: .88rem; }
.legal code { background: var(--soft); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; font-size: .85em; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.legal-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 42px; padding: 20px 22px; background: var(--soft); border: 1px solid var(--line); border-radius: 12px; }
.legal-cta strong { display: block; color: var(--navy); margin-bottom: 4px; }
.legal-cta p { margin: 0; font-size: .88rem; color: var(--muted); }
.legal-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Cookie notice ---------- */
.cookie-bar {
  position: fixed; left: 22px; bottom: 22px; z-index: 140; max-width: 440px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 14px 36px rgba(16,24,40,.14); padding: 15px 16px 14px;
}
.cookie-bar p { font-size: .82rem; color: #475467; line-height: 1.65; margin: 0 0 10px; }
.cookie-bar a { color: var(--blue); text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; justify-content: flex-end; }
.cookie-actions .btn { padding: 7px 14px; font-size: .82rem; }
.footer-legal { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.footer-legal a { color: rgba(255,255,255,.72); font-size: .78rem; }
.footer-legal a:hover { color: #fff; }

@media (max-width: 600px) {
  .cookie-bar { left: 12px; right: 12px; bottom: 78px; max-width: none; padding: 13px 14px; }
  .cookie-actions { justify-content: stretch; }
  .cookie-actions .btn { flex: 1; }
  .legal .h2 { font-size: 1.1rem; margin-top: 30px; }
  .legal-cta { padding: 16px; }
  .legal-cta-actions { width: 100%; }
  .legal-cta-actions .btn { flex: 1; }
}
