/* ============================================================
   Micro Solution Web LLC — Global Stylesheet
   Corporate B2B · Dark + Green identity · Static (no frameworks)
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Brand — dark/green */
  --dark: #050907;          /* main dark bg */
  --dark-2: #0b1511;        /* secondary dark bg */
  --panel: #101f19;         /* dark panel */
  --green: #47d86f;         /* primary green */
  --green-soft: #c4f7cf;    /* soft green */
  --green-ink: #06140d;     /* dark text used on bright green */
  --green-link: #16894a;    /* accessible green for links on light bg */

  --text-light: #f7fff9;    /* text on dark */
  --text-light-2: #b7c7bd;  /* secondary text on dark */
  --light: #f4f7f5;         /* light section bg */
  --white: #ffffff;
  --text: #0d1712;          /* dark text on light */
  --text-muted: #5a6b62;    /* secondary text on light */
  --border: #e0e8e3;        /* borders on light */
  --border-dark: rgba(255,255,255,.12);

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;

  --maxw: 1160px;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-sm: 0 1px 2px rgba(5, 9, 7, 0.06);
  --shadow: 0 6px 24px rgba(5, 9, 7, 0.10);
  --shadow-lg: 0 18px 48px rgba(5, 9, 7, 0.30);

  --space-section: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--green-link); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { color: var(--text); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 4px; }

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

.section { padding: var(--space-section) 0; }
.section--light { background: var(--light); }
.section--tint { background: var(--green-soft); }
.section--dark { background: var(--dark-2); color: var(--text-light); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--text-light); }

.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--green-link); margin-bottom: 14px;
}

.lead { font-size: 1.1rem; color: var(--text-muted); max-width: 60ch; }
.muted { color: var(--text-muted); }
.text-center { text-align: center; }

.section-head { max-width: 64ch; margin-bottom: 40px; }
.section-head.text-center { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: .98rem; padding: 13px 22px;
  border-radius: var(--radius-sm); border: 1px solid transparent;
  cursor: pointer; transition: background .15s ease, transform .05s ease, border-color .15s ease;
  text-decoration: none; line-height: 1;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn--primary, .btn--green { background: var(--green); color: var(--green-ink); }
.btn--primary:hover, .btn--green:hover { background: #38c75f; color: var(--green-ink); }

.btn--ghost { background: #fff; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--green); color: var(--green-link); }

.btn--light { background: rgba(255,255,255,.10); color:#fff; border-color: rgba(255,255,255,.35); }
.btn--light:hover { background: rgba(255,255,255,.18); color:#fff; }

.btn--sm { padding: 9px 14px; font-size: .85rem; }
.btn--block { width: 100%; }

/* ---------- Header (dark) ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--dark-2); border-bottom: 1px solid var(--border-dark); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand:hover { text-decoration: none; }
.brand img { height: 30px; width: auto; }
.brand-fallback { font-weight: 800; color: #fff; font-size: 1.05rem; letter-spacing: -0.01em; line-height: 1.1; }
.brand-fallback span { color: var(--green); display: block; font-size: .7rem; font-weight: 600; letter-spacing: .04em; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: block; padding: 8px 12px; color: var(--text-light-2); font-weight: 500; font-size: .95rem; border-radius: var(--radius-sm); }
.main-nav a:hover { background: rgba(255,255,255,.06); color: #fff; text-decoration: none; }
.main-nav a.is-active { color: var(--green); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.lang-toggle { display: inline-flex; border: 1px solid var(--border-dark); border-radius: var(--radius-sm); overflow: hidden; }
.lang-toggle button { border: 0; background: transparent; color: var(--text-light-2); font-weight: 700; font-size: .8rem; padding: 7px 11px; cursor: pointer; }
.lang-toggle button.is-active { background: var(--green); color: var(--green-ink); }

.nav-toggle { display: none; margin-left: auto; background: transparent; border: 1px solid var(--border-dark); border-radius: var(--radius-sm); width: 42px; height: 42px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block; width: 20px; height: 2px; background: #fff; position: relative; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* ---------- Hero (dark/green) ---------- */
.hero { background: radial-gradient(1200px 500px at 80% -10%, rgba(71,216,111,.16), transparent 60%), linear-gradient(165deg, var(--dark) 0%, var(--panel) 100%); color: var(--text-light); padding: 84px 0; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; }
.hero .eyebrow { color: var(--green); }
.hero p { color: var(--text-light-2); font-size: 1.12rem; max-width: 52ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.stock-panel { background: #fff; color: var(--text); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.stock-panel-head { background: var(--light); padding: 14px 18px; border-bottom: 1px solid var(--border); font-weight: 700; color: var(--text); font-size: .95rem; display: flex; align-items: center; justify-content: space-between; }
.stock-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 18px; border-bottom: 1px solid var(--border); }
.stock-row:last-child { border-bottom: 0; }
.stock-row .pn { font-weight: 700; font-size: .92rem; }
.stock-row .meta { font-size: .78rem; color: var(--text-muted); }

.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.benefit { background: rgba(255,255,255,.05); border: 1px solid var(--border-dark); border-radius: var(--radius-sm); padding: 16px 18px; }
.benefit strong { color: #fff; display: block; font-size: .98rem; }
.benefit span { color: var(--text-light-2); font-size: .82rem; }

/* ---------- Pills ---------- */
.pill { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: var(--green-soft); color: #14633a; }
.pill--green { background: var(--green-soft); color: #14633a; }
.pill--gray { background: #e7ece9; color: var(--text-muted); }
.pill--amber { background: #fff3e0; color: #b56a00; }
.pill--dark { background: var(--panel); color: var(--green); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease; }
.card--link:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--green); text-decoration: none; }
.card h3 { margin-bottom: 6px; }
.card p { color: var(--text-muted); margin-bottom: 0; font-size: .95rem; }
.card .card-arrow { color: var(--green-link); font-weight: 700; font-size: .9rem; margin-top: 14px; display: inline-block; }

.cat-card { display: flex; flex-direction: column; }
.cat-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--green-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; font-size: 1.3rem; }

.brand-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.brand-chip { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 16px; font-weight: 600; color: var(--text); font-size: .92rem; box-shadow: var(--shadow-sm); }

.steps { counter-reset: step; }
.step { position: relative; padding-left: 56px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--green); color: var(--green-ink); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.step h3 { margin-bottom: 4px; }
.step p { color: var(--text-muted); margin-bottom: 0; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
table.data { width: 100%; border-collapse: collapse; min-width: 640px; background: #fff; }
table.data th, table.data td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--border); font-size: .92rem; }
table.data th { background: var(--light); color: var(--text); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
table.data tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: #fafdfb; }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.filters select { appearance: none; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 36px 10px 14px; font-size: .92rem; color: var(--text); font-family: inherit; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%235a6b62' stroke-width='1.6' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9rem; color: var(--text); }
.field .req { color: var(--green-link); }
.field input, .field select, .field textarea { font-family: inherit; font-size: .98rem; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; color: var(--text); }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(71,216,111,.22); }

.ghl-placeholder { border: 2px dashed #bcd9c6; border-radius: var(--radius); background: var(--light); padding: 40px 24px; text-align: center; color: var(--text-muted); }
.ghl-placeholder strong { color: var(--text); display: block; margin-bottom: 6px; }

/* ---------- Page hero (interior, dark) ---------- */
.page-hero { background: radial-gradient(900px 400px at 85% -20%, rgba(71,216,111,.14), transparent 60%), linear-gradient(165deg, var(--dark) 0%, var(--panel) 100%); color: #fff; padding: 64px 0; }
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero p { color: var(--text-light-2); max-width: 60ch; margin-bottom: 0; }
.breadcrumb { font-size: .85rem; color: #7f9488; margin-bottom: 16px; }
.breadcrumb a { color: #7f9488; }

/* ---------- Portfolio blocks ---------- */
.portfolio-cat { padding: 36px 0; border-bottom: 1px solid var(--border); }
.portfolio-cat:last-child { border-bottom: 0; }
.portfolio-cat .pf-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: start; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 12px 0 0; padding: 0; }
.tag-list li { background: var(--light); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 7px 12px; font-size: .88rem; color: var(--text); }
.related-brands { font-size: .9rem; color: var(--text-muted); margin-top: 14px; }

/* ---------- Contact ---------- */
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { padding: 14px 0; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; gap: 16px; }
.info-list li:last-child { border-bottom: 0; }
.info-list .k { color: var(--text-muted); font-size: .92rem; }
.info-list .v { font-weight: 600; color: var(--text); text-align: right; }

/* ---------- Legal ---------- */
.legal { max-width: 760px; }
.legal h2 { margin-top: 1.8em; font-size: 1.3rem; }
.legal .todo { background: #fff8e6; border: 1px solid #f0dca0; border-radius: var(--radius-sm); padding: 12px 16px; font-size: .88rem; color: #8a6d1f; margin: 18px 0; }

/* ---------- CTA band ---------- */
.cta-band { background: radial-gradient(600px 300px at 80% 0%, rgba(71,216,111,.18), transparent 60%), linear-gradient(165deg, var(--panel) 0%, var(--dark) 100%); color: #fff; border-radius: var(--radius); padding: 48px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--text-light-2); max-width: 56ch; margin: 0 auto 24px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--text-light-2); padding: 56px 0 28px; }
.site-footer .brand img { height: 34px; margin-bottom: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: .92rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: var(--text-light-2); font-size: .92rem; }
.site-footer a:hover { color: #fff; }
.footer-brand-fallback { color: #fff; font-weight: 800; font-size: 1.1rem; }
.footer-brand-fallback span { display: block; color: var(--green); font-size: .72rem; font-weight: 600; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; }
.disclaimer-note { font-size: .82rem; color: #8b9d92; max-width: 70ch; margin-top: 10px; }

.stack > * + * { margin-top: 16px; }
[hidden] { display: none !important; }

/* ============================================================ Responsive ============================================================ */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .portfolio-cat .pf-grid { grid-template-columns: 1fr; gap: 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
}
@media (max-width: 720px) {
  :root { --space-section: 52px; }
  .nav-toggle { display: flex; }
  .main-nav { position: fixed; inset: 74px 0 auto 0; background: var(--dark-2); border-bottom: 1px solid var(--border-dark); box-shadow: var(--shadow); margin-left: 0; max-height: calc(100vh - 74px); overflow-y: auto; transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .15s ease, transform .15s ease; }
  .main-nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 12px 16px; gap: 2px; }
  .main-nav a { padding: 12px; }
  .header-actions .btn { display: none; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 32px 22px; }
  .info-list li { flex-direction: column; gap: 2px; }
  .info-list .v { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ============================================================
   PREMIUM B2B UPGRADE — additive components & refinements
   Keeps the approved dark + green identity. No new palette.
   ============================================================ */
:root {
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --hairline: rgba(255, 255, 255, 0.08);
}

/* ---------- Shared technical tokens ---------- */
.partno {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: .82rem; font-weight: 600;
  letter-spacing: -.01em; color: var(--text);
  background: var(--light); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 5px 9px; white-space: nowrap;
}
a.partno { transition: border-color .15s ease, color .15s ease, background .15s ease; }
a.partno:hover { border-color: var(--green); color: var(--green-link); background: #fff; text-decoration: none; }

.chip {
  font-size: .78rem; font-weight: 600; color: var(--text);
  background: var(--light); border: 1px solid var(--border);
  border-radius: 999px; padding: 4px 10px;
}
.chip--mono { font-family: var(--font-mono); font-weight: 600; letter-spacing: -.01em; }

/* Condition / status pills (no blue — amber for incoming, neutral for OEM) */
.pill--new { background: var(--green-soft); color: #14633a; }
.pill--oem { background: #e7ece9; color: #5a6b62; }

/* ---------- Mobile CTA injected into nav ---------- */
.nav-cta-mobile { display: none; }

/* ---------- Hero refinements ---------- */
.hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.hero-panel { background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); border: 1px solid var(--border-dark); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--border-dark); }
.hero-panel-head strong { color: #fff; font-size: .95rem; letter-spacing: -.01em; }
.hero-panel ul { list-style: none; margin: 0; padding: 6px; }
.hero-panel li + li { border-top: 1px solid var(--hairline); }
.hero-panel li a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: var(--radius-sm); color: var(--text-light); font-weight: 600; font-size: .94rem; }
.hero-panel li a:hover { background: rgba(71,216,111,.10); color: #fff; text-decoration: none; }
.hero-panel li a .go { color: var(--green); font-weight: 800; }
.hero-panel-foot { padding: 14px 18px; border-top: 1px solid var(--border-dark); }
.hero-panel-foot a { color: var(--green); font-weight: 700; font-size: .9rem; }

/* ---------- Product Lines (home) rich cards ---------- */
.pline-card { display: flex; flex-direction: column; position: relative; }
.pline-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: var(--radius) var(--radius) 0 0; background: linear-gradient(90deg, var(--green), #2fae57); opacity: 0; transition: opacity .15s ease; }
.pline-card:hover::before { opacity: 1; }
.pline-card .pl-desc { color: var(--text-muted); font-size: .95rem; margin: 0 0 14px; }
.pline-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.pline-card .card-arrow { margin-top: auto; }

/* ---------- Category / index nav (products + brands) ---------- */
.cat-nav { position: sticky; top: 74px; z-index: 20; display: flex; flex-wrap: wrap; gap: 8px; padding: 10px; margin-bottom: 32px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.cat-nav a { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; color: var(--text); background: var(--light); border: 1px solid var(--border); border-radius: 999px; padding: 7px 13px; }
.cat-nav a:hover { border-color: var(--green); color: var(--green-link); text-decoration: none; }
.cat-nav a .brand-count { background: var(--green-soft); }

/* ---------- Product Portfolio premium sections ---------- */
.portfolio-cat { padding: 0; border: 0; margin-bottom: 22px; scroll-margin-top: 90px; }
.portfolio-cat:last-child { margin-bottom: 0; }
.pf-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow .15s ease, border-color .15s ease; }
.pf-card:hover { box-shadow: var(--shadow); border-color: #cfe2d6; }
.pf-card .pf-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 0; align-items: stretch; }
.pf-main { padding: 30px 32px; }
.pf-side { padding: 30px 32px; background: var(--light); border-left: 1px solid var(--border); display: flex; flex-direction: column; }
.pf-kicker { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; color: var(--green-link); font-weight: 700; }
.pf-card h2 { font-size: 1.4rem; margin: .35em 0 .45em; }
.pf-main .tag-list { margin-top: 16px; }
.pf-side h4 { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin: 0 0 10px; }
.pf-block + .pf-block { margin-top: 20px; }
.pf-block:last-child { margin-top: auto; padding-top: 20px; }
.pf-examples { display: flex; flex-wrap: wrap; gap: 7px; }

/* ---------- Fresh Stock Arrivals (home) ---------- */
.fresh-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.fresh-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow .15s ease, transform .15s ease; }
.fresh-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.fresh-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 16px; background: var(--light); border-bottom: 1px solid var(--border); }
.fresh-head strong { font-size: .92rem; }
.fresh-head .fresh-link { font-size: .82rem; font-weight: 700; color: var(--green-link); }
.fresh-card ul { list-style: none; margin: 0; padding: 8px; flex: 1; }
.fresh-card li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 8px; }
.fresh-card li + li { border-top: 1px solid var(--border); }
.fresh-card .fpn { font-family: var(--font-mono); font-size: .84rem; font-weight: 600; letter-spacing: -.01em; }
.fresh-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Stock toolbar ---------- */
.stock-toolbar { display: grid; gap: 14px; margin-bottom: 18px; }
.search-box { position: relative; }
.search-box svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.search-box input { width: 100%; font-family: inherit; font-size: .98rem; padding: 13px 14px 13px 42px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; color: var(--text); }
.search-box input:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(71,216,111,.22); }
.filters { margin-bottom: 0; }
.stock-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.stock-count { font-size: .92rem; color: var(--text-muted); }
.stock-count strong { color: var(--text); }
.btn--link { background: transparent; border: 0; color: var(--green-link); font-weight: 700; font-size: .9rem; cursor: pointer; padding: 6px 2px; }
.btn--link:hover { text-decoration: underline; }
table.data td .partno { background: #fff; }

/* ---------- Brands directory ---------- */
.brand-group { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 26px 28px; margin-bottom: 20px; scroll-margin-top: 90px; }
.brand-group:last-child { margin-bottom: 0; }
.brand-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.brand-group-head h2 { font-size: 1.3rem; margin: 0; }
.brand-count { display: inline-block; font-size: .76rem; font-weight: 700; color: #14633a; background: var(--green-soft); border-radius: 999px; padding: 3px 10px; }
.brand-intro { color: var(--text-muted); font-size: .95rem; margin: 0 0 16px; max-width: 78ch; }
.brand-group .brand-grid { gap: 8px; }
.brand-chip.is-featured { border-color: rgba(71,216,111,.55); background: #f2fdf6; }
.brand-empty { color: var(--text-muted); font-size: .92rem; margin: 4px 0 0; }

/* ---------- Footer quote button (injected) ---------- */
.footer-cta { margin-top: 18px; }

/* ---------- Section spacing helper ---------- */
.section--tight { padding-top: 0; }

/* ============================================================
   Responsive — premium components
   ============================================================ */
@media (max-width: 860px) {
  .pf-card .pf-grid { grid-template-columns: 1fr; }
  .pf-side { border-left: 0; border-top: 1px solid var(--border); }
  .pf-block:last-child { margin-top: 20px; }
}
@media (max-width: 720px) {
  .cat-nav { position: static; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .cat-nav a { flex: 0 0 auto; }
  .nav-cta-mobile { display: block; margin-top: 8px; padding: 10px 6px 4px; border-top: 1px solid var(--border-dark); }
  .pf-main, .pf-side { padding: 24px 22px; }
}
/* Stock table → cards on small screens */
@media (max-width: 640px) {
  .table-wrap { overflow: visible; border: 0; border-radius: 0; }
  table.data { min-width: 0; border: 0; background: transparent; }
  table.data thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  table.data tbody, table.data tr, table.data td { display: block; width: 100%; }
  table.data tr { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 14px; background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; }
  table.data tr:hover { background: #fff; }
  table.data td { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 16px; border-bottom: 0; font-size: .95rem; }
  table.data td + td { border-top: 1px solid var(--border); }
  table.data td::before { content: attr(data-label); font-weight: 700; font-size: .7rem; letter-spacing: .04em; text-transform: uppercase; color: var(--text-muted); }
  table.data td[data-label="Action"] { padding-top: 14px; }
  table.data td[data-label="Action"]::before { display: none; }
  table.data td[data-label="Action"] .btn { width: 100%; }
}
