/* OMEGA BRAND — Industrial light design system */
@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700&family=Barlow+Condensed:wght@600;700;800&display=swap');

:root {
  --orange: #e8590c;
  --orange-dark: #c44a08;
  --black: #141414;
  --ink: #222;
  --grey-900: #2b2b2b;
  --grey-600: #5f6368;
  --grey-400: #9aa0a6;
  --grey-200: #dcdcdc;
  --grey-100: #f1f1ef;
  --white: #fff;
  --line: #dcdcdc;

  /* compat vars used by main.js modals */
  --primary: var(--orange);
  --primary-light: #fdeee5;
  --text-white: var(--black);
  --text-primary: var(--ink);
  --text-secondary: var(--grey-600);
  --text-muted: var(--grey-400);
  --bg-card: var(--grey-100);
  --bg-surface: var(--white);
  --border-subtle: var(--line);
  --radius-sm: 2px;
  --radius-md: 2px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Barlow', Arial, sans-serif; font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--white); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4, .cond { font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-weight: 700; line-height: 1.05; text-transform: uppercase; letter-spacing: .01em; color: var(--black); }
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .03em; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-dark); }
.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-line { border-color: var(--black); color: var(--black); background: transparent; }
.btn-line:hover { background: var(--black); color: #fff; }
.btn-line-light { border-color: #fff; color: #fff; }
.btn-line-light:hover { background: #fff; color: var(--black); }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn[disabled] { opacity: .4; cursor: not-allowed; }
/* compat with main.js */
.btn-primary { composes: btn; display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; background: var(--orange); color: #fff; border: 0; font-weight: 700; text-transform: uppercase; font-size: 14px; cursor: pointer; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-secondary { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; background: #fff; color: var(--black); border: 2px solid var(--black); font-weight: 700; text-transform: uppercase; font-size: 14px; cursor: pointer; }

/* ---------- Top bar / header ---------- */
.topbar { background: var(--black); color: #cfcfcf; font-size: 12px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 32px; padding-top: 4px; padding-bottom: 4px; gap: 14px; }
.topbar a:hover { color: #fff; }
.topbar-l, .topbar-r { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.topbar strong { color: #fff; font-weight: 600; }

.header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header .container { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 44px; height: 44px; background: var(--orange); color: #fff; display: grid; place-items: center; font: 800 30px/1 'Barlow Condensed', sans-serif; }
.logo-name { font: 800 28px/1 'Barlow Condensed', sans-serif; letter-spacing: .02em; color: var(--black); }
.logo-name span { color: var(--orange); }
.logo-tag { display: block; font-size: 11px; font-weight: 600; letter-spacing: .14em; color: var(--grey-600); text-transform: uppercase; margin-top: 3px; }
.header-search { flex: 1; max-width: 460px; display: flex; border: 2px solid var(--black); }
.header-search input { flex: 1; border: 0; padding: 10px 14px; outline: none; }
.header-search button { background: var(--black); color: #fff; border: 0; padding: 0 16px; cursor: pointer; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-actions .about-link { font-weight: 700; font-size: 14px; text-transform: uppercase; color: var(--black); }
.header-actions .about-link:hover { color: var(--orange); }
.quote-btn-orange { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-transform: uppercase; font-size: 14px; padding: 10px 16px; background: var(--orange); color: #fff; border: 0; cursor: pointer; transition: background .15s; }
.quote-btn-orange:hover { background: var(--orange-dark); }
.quote-count { background: #fff; color: var(--orange); min-width: 20px; height: 20px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; padding: 0 4px; }
.menu-toggle { display: none; background: none; border: 2px solid var(--black); width: 42px; height: 42px; font-size: 20px; cursor: pointer; }

.catnav { background: var(--grey-900); }
.catnav ul { display: flex; align-items: center; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
.catnav ul::-webkit-scrollbar { display: none; }
.catnav a { display: block; padding: 12px 14px; color: #dfdfdf; font: 600 14px 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; border-bottom: 3px solid transparent; }
.catnav a:hover { color: #fff; background: #2b2b2b; }
.catnav a.active { color: #fff; border-bottom-color: var(--orange); background: #1c1c1c; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; background: var(--grey-100); }
.hero-text { padding: 72px 56px 64px max(24px, calc((100vw - 1240px) / 2 + 24px)); display: flex; flex-direction: column; justify-content: center; }
.kicker { display: inline-block; font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.hero h1 { font-size: 64px; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero p { font-size: 18px; color: var(--grey-600); max-width: 520px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-photo { position: relative; overflow: hidden; background: #222; }

/* crop the photo area (top-right) of the official flyers */
.crop { position: relative; overflow: hidden; background: #1a1a1a; }
.crop img { position: absolute; top: 0; right: 0; width: 185%; max-width: none; height: auto; }
.hero-photo.crop img { width: 175%; }

.facts { background: var(--black); color: #fff; }
.facts .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 26px 20px; border-left: 1px solid #333; }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact b { display: block; font: 800 38px/1 'Barlow Condensed', sans-serif; color: var(--orange); }
.fact span { font-size: 14px; color: #bdbdbd; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-grey { background: var(--grey-100); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; border-bottom: 2px solid var(--black); padding-bottom: 16px; }
.section-head h2 { font-size: 44px; }
.section-head p { color: var(--grey-600); max-width: 460px; }

/* Category grid */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cat-card { background: #fff; display: flex; flex-direction: column; transition: background .15s; }
.cat-card:hover { background: var(--grey-100); }
.cat-card .crop { height: 190px; }
.cat-card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.cat-num { font: 700 13px 'Barlow Condensed', sans-serif; color: var(--orange); letter-spacing: .1em; }
.cat-card h3 { font-size: 24px; margin: 4px 0 10px; }
.cat-card ul { font-size: 14px; color: var(--grey-600); margin-bottom: 16px; flex: 1; }
.cat-card li { padding: 3px 0; border-bottom: 1px dotted var(--grey-200); }
.cat-link { font-weight: 700; font-size: 14px; text-transform: uppercase; display: inline-flex; align-items: center; gap: 6px; color: var(--black); }
.cat-card:hover .cat-link { color: var(--orange); }

/* Strengths */
.strengths { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--line); }
.strength { padding: 28px 22px 10px 0; }
.strength-n { font: 800 15px 'Barlow Condensed', sans-serif; color: var(--orange); }
.strength h3 { font-size: 22px; margin: 6px 0 8px; }
.strength p { font-size: 15px; color: var(--grey-600); }

/* About split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split h2 { font-size: 44px; margin-bottom: 18px; }
.split p { color: var(--grey-600); margin-bottom: 14px; }
.checklist li { padding: 9px 0 9px 28px; border-bottom: 1px solid var(--line); position: relative; font-weight: 600; }
.checklist li::before { content: ''; position: absolute; left: 0; top: 15px; width: 12px; height: 12px; background: var(--orange); }

.sectors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.sectors div { background: #fff; padding: 22px; font-weight: 700; font-family: 'Barlow Condensed', sans-serif; font-size: 20px; text-transform: uppercase; }

/* CTA band */
.band { background: var(--orange); color: #fff; padding: 46px 0; }
.band .container { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.band h2 { color: #fff; font-size: 38px; }
.band p { opacity: .9; }

/* ---------- Category Page Header (Clean & Compact) ---------- */
.cat-header { background: #fff; border-bottom: 1px solid var(--line); padding: 18px 0; }
.cat-header-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cat-header-info { flex: 1; min-width: 280px; }
.cat-crumbs { font-size: 13px; color: var(--grey-600); margin-bottom: 6px; }
.cat-crumbs a:hover { color: var(--orange); }
.cat-crumbs span { margin: 0 6px; color: var(--grey-400); }
.cat-header-info h1 { font: 800 34px/1 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: .02em; color: var(--black); margin-bottom: 4px; }
.cat-header-info p { font-size: 14px; color: var(--grey-600); margin: 0; max-width: 760px; line-height: 1.4; }
.cat-header-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

.layout { display: grid; grid-template-columns: 240px 1fr; gap: 32px; padding: 24px 0 60px; }
.sidebar h4 { font: 800 15px/1 'Barlow Condensed', sans-serif; letter-spacing: .08em; text-transform: uppercase; padding-bottom: 8px; border-bottom: 2px solid var(--orange); margin-bottom: 12px; color: var(--black); }
.filter-list { display: flex; flex-direction: column; gap: 4px; }
.filter-list button { display: flex; justify-content: space-between; align-items: center; width: 100%; text-align: left; background: #f6f6f3; border: 1px solid #e0dfd8; padding: 8px 12px; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--ink); transition: all .15s; }
.filter-list button:hover { background: #eee; color: var(--orange); border-color: var(--orange); }
.filter-list button.active { background: var(--black); color: #fff; border-color: var(--black); }
.filter-list button small { background: #fff; color: var(--grey-600); font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 10px; border: 1px solid #ddd; margin-left: 8px; flex-shrink: 0; }
.filter-list button.active small { background: var(--orange); color: #fff; border-color: var(--orange); }
.side-box { margin-top: 28px; background: var(--black); color: #fff; padding: 22px; }
.side-box h4 { color: #fff; border-color: var(--orange); }
.side-box p { font-size: 14px; color: #bdbdbd; margin: 8px 0 16px; }

.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
.toolbar .count { color: var(--grey-600); font-size: 15px; }
.toolbar input { border: 2px solid var(--black); padding: 9px 12px; min-width: 280px; outline: none; }

.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.product { border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; }
.product:hover { border-color: var(--grey-600); }
.product-top { display: flex; justify-content: space-between; align-items: center; padding: 10px 18px; background: var(--grey-100); border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.product-top .sub { color: var(--orange); }
.product-top .ref { color: var(--grey-600); }
.product-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.product h3 { font-size: 22px; margin-bottom: 4px; }
.product .norm { font-size: 13px; color: var(--grey-600); margin-bottom: 10px; }
.product p { font-size: 15px; color: var(--grey-600); margin-bottom: 14px; }
.specs { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 16px; }
.specs th, .specs td { text-align: left; padding: 7px 0; border-top: 1px solid var(--line); vertical-align: top; }
.specs th { width: 42%; color: var(--grey-600); font-weight: 500; }
.specs td { font-weight: 600; }
.product-actions { margin-top: auto; display: flex; gap: 8px; }
.product-actions .btn { flex: 1; }
.empty { display: none; padding: 40px; text-align: center; border: 1px dashed var(--grey-400); color: var(--grey-600); }

/* ---------- Contact form ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 5px; }
.field input, .field select, .field textarea, .form-input { width: 100%; border: 1px solid var(--grey-400); padding: 11px 12px; background: #fff; outline: none; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus, .form-input:focus { border-color: var(--black); box-shadow: inset 0 0 0 1px var(--black); }
.contact-info div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-info small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--grey-600); }
.contact-info strong { font-size: 20px; font-family: 'Barlow Condensed', sans-serif; }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: #bdbdbd; padding: 60px 0 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.footer h4 { color: #fff; font-size: 18px; margin-bottom: 16px; }
.footer li { padding: 4px 0; }
.footer a:hover { color: var(--orange); }
.footer .logo-name { color: #fff; }
.footer-bottom { border-top: 1px solid #333; padding: 18px 0; font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Modals (used by main.js) ---------- */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.6); display: flex; align-items: center; justify-content: center; padding: 20px; z-index: 200; opacity: 0; visibility: hidden; transition: opacity .15s; }
.modal-overlay.active { opacity: 1; visibility: visible; }
.flyer-modal-container, .quote-modal-container { background: #fff; width: 100%; max-width: 640px; max-height: 92vh; display: flex; flex-direction: column; border-top: 4px solid var(--orange); }
.flyer-modal-container { max-width: 860px; }
.modal-header { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.modal-title { font: 700 20px 'Barlow Condensed', sans-serif; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.btn-close-modal { background: none; border: 0; font-size: 28px; cursor: pointer; line-height: 1; }
.modal-body { padding: 20px; overflow-y: auto; display: flex; justify-content: center; }
.modal-flyer-img { max-width: 100%; height: auto; }
.quote-items-list { display: flex; flex-direction: column; margin-bottom: 10px; max-height: 240px; overflow-y: auto; border-top: 1px solid var(--line); }
.quote-item-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.quote-item-info { flex: 1; }
.quote-item-name { font-weight: 700; }
.quote-item-cat { font-size: 12px; color: var(--orange); font-weight: 700; text-transform: uppercase; }
.quote-item-qty { display: flex; align-items: center; gap: 6px; }
.btn-qty { width: 28px; height: 28px; border: 1px solid var(--grey-400); background: #fff; cursor: pointer; font-weight: 700; }
.btn-remove-item { background: none; border: 0; color: #b42318; cursor: pointer; }
.quote-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group { display: flex; flex-direction: column; gap: 4px; }
.form-group.full-width { grid-column: 1 / -1; }
.form-label { font-size: 12px; font-weight: 700; text-transform: uppercase; }
.spec-row { display: flex; justify-content: space-between; gap: 12px; }
.product-badge-subcat { font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--orange); border: 1px solid var(--orange); padding: 2px 8px; }
.toast-container { position: fixed; bottom: 20px; right: 20px; z-index: 300; display: flex; flex-direction: column; gap: 8px; }
.toast { background: var(--black); color: #fff; padding: 12px 16px; display: flex; gap: 10px; align-items: center; font-size: 14px; border-left: 4px solid var(--orange); max-width: 380px; }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 100; background: #1fa855; color: #fff; font-weight: 700; padding: 12px 16px; display: flex; align-items: center; gap: 8px; font-size: 14px; }
.wa-float:hover { background: #178a45; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .strengths { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-search { display: none; }
  .layout { grid-template-columns: 1fr; gap: 20px; }
  .sidebar .filter-list { display: flex; flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .sidebar .filter-list button { width: auto; }
  .side-box { display: none; }
}

@media (max-width: 760px) {
  .topbar { padding: 4px 0; }
  .topbar .container { justify-content: center; min-height: auto; text-align: center; }
  .topbar-r { display: none; }
  .topbar-l { justify-content: center; gap: 12px; font-size: 11px; }
  .topbar-l span:nth-child(3) { display: none; }

  .header .container { min-height: 54px; padding: 6px 14px; }
  .logo-mark { width: 34px; height: 34px; font-size: 22px; }
  .logo-name { font-size: 20px; }
  .logo-tag { display: none; }
  .header-actions { gap: 8px; }
  .header-actions .about-link { font-size: 12px; }
  .quote-btn-orange { padding: 7px 11px; font-size: 12px; }

  .cat-header { padding: 14px 0; }
  .cat-header-info h1 { font-size: 24px; }
  .cat-header-info p { font-size: 13px; }
  .cat-header-actions { width: 100%; }
  .cat-header-actions .btn { flex: 1; text-align: center; justify-content: center; }

  .sidebar .filter-list button { padding: 6px 10px; font-size: 12px; }

  .hero, .split { grid-template-columns: 1fr; }
  .hero-text { padding: 36px 16px; }
  .hero h1 { font-size: 34px; }
  .hero-photo { min-height: 240px; }
  .facts .container { grid-template-columns: 1fr 1fr; }
  .fact { border-left: 0; padding: 16px 12px; }
  .fact b { font-size: 28px; }
  .cat-grid, .products, .sectors, .footer-grid, .form-grid, .quote-form { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head h2, .split h2 { font-size: 26px; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .toolbar input { min-width: 0; }
  .catnav ul { padding: 4px 6px; }
  .catnav a { padding: 8px 10px; font-size: 12px; }
}
