/* =========================================================
   /shared/style.css — OPTIMA MULTI KREASI (Enterprise Master FINAL)
   No inline CSS required across pages
   Boardroom premium + export/B2B trust-first
   DEPLOY-CHECK: 20260226-ENTERPRISE-MASTER-FINAL-HEADER-LIGHT-CLEAN
   ========================================================= */

/* -------------------------
   Design Tokens
-------------------------- */
:root{
  --max: 980px;

  --bg: #f6f8fa;
  --card: #ffffff;

  --text: #0f172a;
  --muted: #64748b;

  --navy: #0f355a;
  --blue: #0b5ed7;

  --border: #e2e8f0;
  --ring: rgba(15,53,90,.10);

  --shadow: 0 10px 30px rgba(2,6,23,.08);

  --radius: 14px;
  --radius-sm: 12px;

  --okbg:#ecfdf3;
  --okbd:#bbf7d0;
  --ok:#166534;

  --erbg:#fef2f2;
  --erbd:#fecaca;
  --er:#991b1b;

  /* Enterprise rhythm / polish */
  --section-gap: 18px;
  --card-pad: 24px;
  --hairline: rgba(2,6,23,.08);
  --shadow-soft: 0 12px 34px rgba(2,6,23,.10);
  --shadow-card: 0 10px 26px rgba(2,6,23,.08);

  /* Boardroom premium surfaces */
  --surface: rgba(255,255,255,.62);
  --surface-2: rgba(255,255,255,.42);
  --glass: rgba(246,248,250,.72);

  /* Subtle dividers / highlights */
  --top-highlight: rgba(255,255,255,.70);
  --bottom-shadow: rgba(0,0,0,.12);
  --line-navy: rgba(15,53,90,.05);
  --line-navy-2: rgba(15,53,90,.045);

  /* CTA + focus */
  --cta-border: rgba(15,53,90,.20);

  /* =========================================================
     HEADER v3 sizing tokens (single source of truth)
     ========================================================= */
  --nav-h-pad: 16px;
  --nav-v-pad: 10px;
  --nav-gap: 12px;

  --nav-font: 15px;
  --nav-weight: 650;

  --logo-h: 38px;

  --rfq-font: 15px;
  --rfq-pad-y: 10px;
  --rfq-pad-x: 14px;
  --rfq-radius: 14px;
}

/* -------------------------
   Base Reset
-------------------------- */
*{ box-sizing:border-box; }
html, body{ height:100%; }

body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 600px at 20% 0%, #eef4ff 0%, var(--bg) 55%, var(--bg) 100%);
  line-height: 1.6;
}

/* IMPORTANT: avoid width:100% on img (prevents SVG logo stretching) */
img{ max-width:100%; height:auto; display:block; }

a{ color: inherit; }
a:focus-visible{
  outline: none;
  box-shadow: 0 0 0 4px var(--ring);
  border-radius: 10px;
}
strong{ font-weight:700; }
button, input, select, textarea{ font: inherit; }
svg{ display:block; }

/* Reduce motion (accessibility) */
@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior:auto !important; }
  *, *::before, *::after{
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* -------------------------
   Accessibility
-------------------------- */
.skip-link{
  position:absolute;
  left:-9999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}
.skip-link:focus{
  left: 12px;
  top: 12px;
  width: auto;
  height: auto;
  padding: 10px 12px;
  background:#fff;
  border:1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  z-index: 999;
}

/* -------------------------
   Layout Containers
-------------------------- */
.wrap{
  max-width: var(--max);
  margin: 52px auto;
  padding: 0 16px;
}
@media (max-width: 820px){
  .wrap{ margin: 26px auto; }
}

/* All top-level sections breathe like a corporate deck */
main.wrap > section{ margin-top: var(--section-gap); }
main.wrap > section:first-child{ margin-top: 0; }

/* -------------------------
   Typography Utilities
-------------------------- */
h1, h2, h3{ line-height:1.2; letter-spacing:.2px; }
h1{
  font-size: 32px;
  margin: 0 0 10px 0;
  letter-spacing: -.02em;
  line-height: 1.12;
}
h2{
  font-size: 22px;
  margin: 0 0 10px 0;
  letter-spacing: -.01em;
}
h3{ font-size: 16px; margin: 0 0 8px 0; }

.kicker{
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 8px 0;
}

.muted{ color: var(--muted); }
.small{ font-size: 12.5px; }
.text-14{ font-size: 14px; }
.text-15{ font-size: 15px; }

/* spacing helpers */
.mt-10{ margin-top: 10px; }
.mt-12{ margin-top: 12px; }
.mt-14{ margin-top: 14px; }
.mt-16{ margin-top: 16px; }
.mb-10{ margin-bottom: 10px; }
.m-0{ margin:0; }

/* Subhead readability */
.hero-sub, p.muted{ max-width: 70ch; }

/* -------------------------
   Header / Nav (Enterprise v3)
   NOTE: base generic rules for safety only.
   Final styling is LOCKED to #omk-header-v2 at bottom.
-------------------------- */
header, header *{ box-sizing: border-box; }
header{ overflow: visible; }
header nav{ overflow: visible; }

header{
  position: sticky;
  top: 0;
  z-index: 50;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: var(--glass);
  border-bottom: 1px solid rgba(0,0,0,.06);

  transition: background .18s ease, border-color .18s ease;
}

/* Header layout */
header nav{
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--nav-v-pad) var(--nav-h-pad);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: var(--nav-gap);

  /* tight screens: keep 1 line via horizontal scroll */
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
header nav::-webkit-scrollbar{ height: 6px; }
header nav::-webkit-scrollbar-thumb{
  background: rgba(0,0,0,.15);
  border-radius: 999px;
}

/* Brand */
.brand{
  display: inline-flex;
  align-items: center;
  justify-content:flex-start;
  line-height: 1;
  text-decoration: none;
  gap: 10px;
  min-height: 40px;
  flex: 0 0 auto;
  margin: 0;
}

/* Logo */
.brand .omk-logo{
  display: block;
  height: var(--logo-h);
  width: auto;
  max-height: var(--logo-h);
  flex: 0 0 auto;
}

/* Menu container (1-line lock desktop) */
.nav-links{
  flex: 1 1 auto;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap: var(--nav-gap);

  flex-wrap: nowrap;
  white-space: nowrap;

  text-align: right;
  min-width: max-content; /* important for 1-line lock + scroll */
}

/* Nav links */
header nav .nav-links a{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  font-size: var(--nav-font);
  font-weight: var(--nav-weight);
  letter-spacing: -0.005em;
  line-height: 1.15;

  text-decoration: none;
  color: var(--text);
  opacity: .92;
  white-space: nowrap;
}
header nav .nav-links a:hover{
  opacity: 1;
  text-decoration: underline;
}

/* RFQ Highlight (button style) */
header nav a.nav-rfq,
header nav .nav-links a.nav-rfq,
.nav-rfq{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  padding: var(--rfq-pad-y) var(--rfq-pad-x);
  border-radius: var(--rfq-radius);

  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1;
  font-size: var(--rfq-font);

  text-decoration:none;
  border: 1px solid rgba(2,6,23,.10);
  background: rgba(15,53,90,.10);
  color: var(--navy);

  opacity: 1;
  transition: background .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

header nav a.nav-rfq:focus-visible,
header nav .nav-links a.nav-rfq:focus-visible,
.nav-rfq:focus-visible{
  outline:none;
  box-shadow: 0 0 0 4px var(--ring);
}

header nav a.nav-rfq:hover,
header nav .nav-links a.nav-rfq:hover,
.nav-rfq:hover{
  background: rgba(15,53,90,.16);
  border-color: rgba(15,53,90,.22);
  transform: translateY(-1px);
  text-decoration:none;
}

header nav a.nav-rfq:active,
header nav .nav-links a.nav-rfq:active,
.nav-rfq:active{
  transform: translateY(0);
}

/* Active state (on RFQ page) */
header nav a.nav-rfq.is-active,
header nav .nav-links a.nav-rfq.is-active,
.nav-rfq.is-active{
  background:#fff;
  color: var(--navy);
  border-color: rgba(255,255,255,.0);
}

/* =========================================================
   HEADER v3 — Shrink on Scroll (Token switch)
   Works with JS: header.is-shrink
   ========================================================= */
header nav{ transition: padding .18s ease; }
header .omk-logo{ transition: height .18s ease, max-height .18s ease; }
header nav .nav-links{ transition: gap .18s ease; }
header nav .nav-links a{ transition: font-size .18s ease; }
header nav a.nav-rfq,
header nav .nav-links a.nav-rfq{ transition: padding .18s ease, font-size .18s ease; }

header.is-shrink{
  --nav-v-pad: 7px;
  --nav-gap: 10px;
  --nav-font: 14.5px;
  --logo-h: 32px;

  --rfq-font: 14px;
  --rfq-pad-y: 9px;
  --rfq-pad-x: 12px;
  --rfq-radius: 12px;

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Mobile tuning */
@media (max-width: 768px){
  :root{
    --nav-v-pad: 10px;
    --nav-gap: 10px;
    --nav-font: 15px;
    --logo-h: 32px;

    --rfq-font: 15px;
    --rfq-pad-y: 9px;
    --rfq-pad-x: 12px;
    --rfq-radius: 12px;
  }

  header.is-shrink{
    --nav-v-pad: 8px;
    --logo-h: 30px;
    --rfq-font: 14.5px;
    --rfq-pad-y: 9px;
    --rfq-pad-x: 12px;
    --rfq-radius: 12px;
  }
}

/* -------------------------
   Back Home Link
-------------------------- */
.back-home{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  text-decoration:none;
  font-weight: 800;
  font-size: 13px;
  color: var(--text);
  user-select:none;
}
.back-home:hover{ text-decoration: underline; }
.back-home svg{
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* -------------------------
   Card / Divider
-------------------------- */
.card{
  background: var(--card);
  border: 1px solid rgba(2,6,23,.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: var(--card-pad);
}

.card.card-cta{
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
@media (hover:hover) and (pointer:fine){
  .card.card-cta:hover{
    transform: translateY(-2px);
    box-shadow: 0 18px 46px rgba(2,6,23,.14);
    border-color: rgba(15,53,90,.18);
  }
}

.hr{
  height: 1px;
  background: var(--hairline);
  margin: 16px 0;
  border: 0;
}

/* Softer HR variant (used on forms/pages if needed) */
hr.soft{
  border: 0;
  height: 1px;
  background: rgba(2,6,23,.06);
  margin: 16px 0;
}

/* -------------------------
   Grids
-------------------------- */
.grid{ display:grid; gap: 14px; }
.grid2{ display:grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid3{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

/* KPI row standardization (alias to grid3) */
.kpi{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

@media (max-width: 820px){
  .grid2{ grid-template-columns: 1fr; }
  .grid3, .kpi{ grid-template-columns: 1fr; }
}

/* full-width helper inside grid2/grid */
.full{ grid-column: 1 / -1; }

/* Value row (homepage) */
.value-row{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}
@media (max-width: 820px){
  .value-row{ grid-template-columns: 1fr; }
}

/* -------------------------
   Buttons / CTA Bar / Pills
-------------------------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;

  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  text-decoration:none;
  font-weight: 800;
  font-size: 14px;
  line-height: 1.1;
  cursor:pointer;
  user-select:none;

  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.btn:hover{
  background: #f8fafc;
  border-color: #d7e0ea;
}
@media (hover:hover) and (pointer:fine){
  .btn:active{ transform: translateY(1px); }
}

.btn.primary{
  background: var(--navy);
  border-color: var(--cta-border);
  color:#fff;
}
.btn.primary:hover{ background: #0b2a45; }

.btn:focus-visible{
  outline: none;
  box-shadow: 0 0 0 4px var(--ring);
}
.btn:disabled, button:disabled{
  opacity: .7;
  cursor: not-allowed;
}

.cta-bar{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.pill{
  display:inline-block;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  margin: 0 8px 8px 0;
}

/* -------------------------
   Lists / Steps / Tables
-------------------------- */
.list-tight{
  margin: 8px 0 0 18px;
  padding: 0;
}
.list-tight li{ margin: 6px 0; }

.steps{
  margin: 10px 0 0 18px;
  padding: 0;
}
.steps li{ margin: 10px 0; }

table{
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
td, th{
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  font-size: 14px;
}
tr:last-child td{ border-bottom: none; }

/* -------------------------
   Forms (Global)
-------------------------- */
.field, .c-field{
  display:flex;
  flex-direction: column;
  gap: 6px;
}

label{
  font-weight: 800;
  font-size: 13px;
}

input, select, textarea{
  width:100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus{
  border-color: rgba(15,53,90,.22);
  box-shadow: 0 0 0 4px var(--ring);
}
textarea{
  min-height: 140px;
  resize: vertical;
}

.help, .hint{
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.45;
}

/* honeypot */
.hp{
  position:absolute !important;
  left:-9999px !important;
  top:auto !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
}

/* Validation */
.field-error{
  display:none;
  color: var(--er);
  font-size: 12px;
  margin-top: 2px;
}
.is-invalid input,
.is-invalid select,
.is-invalid textarea{
  border-color: rgba(153,27,27,.35);
  box-shadow: 0 0 0 4px rgba(153,27,27,.08);
}
.is-invalid .field-error{ display:block; }

/* Messages */
.msg{
  display:none;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
}
.msg.success{
  background: var(--okbg);
  border: 1px solid var(--okbd);
  color: var(--ok);
}
.msg.error{
  background: var(--erbg);
  border: 1px solid var(--erbd);
  color: var(--er);
}
#errorDetail{
  display:block;
  margin-top: 6px;
  font-size: 12px;
  opacity: .9;
  white-space: pre-wrap;
  word-break: break-word;
}

/* -------------------------
   RFQ: Origin Shortcuts
-------------------------- */
.origin-shortcuts{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
}

.origin-btn{
  border: 1px solid var(--border);
  background: #fff;
  padding: 10px 14px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 800;
  font-size: 14px;
  transition: .15s ease;
  color: var(--text);
  display:inline-flex;
  align-items:center;
  gap: 8px;
  line-height: 1.1;
  user-select:none;
}
.origin-btn:hover{
  border-color: rgba(15,53,90,.25);
  color: var(--navy);
  background: #f8fafc;
}
.origin-btn.active{
  border-color: rgba(15,53,90,.35);
  color: var(--navy);
  background: rgba(15,53,90,.06);
  box-shadow: 0 0 0 4px var(--ring);
}

/* -------------------------
   Contact Page (no inline)
-------------------------- */
.contact-wrap{ display:flex; justify-content:center; }

.contact-card{
  width: 100%;
  max-width: 860px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow:hidden;
}

.contact-header{
  padding: 24px 22px 12px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}
.contact-header h1{
  margin: 0 0 6px 0;
  font-size: 28px;
}
.contact-sub{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.contact-form{ padding: 18px 22px 22px; }

.c-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.c-full{ grid-column: 1 / -1; }
@media (max-width: 720px){
  .c-grid{ grid-template-columns: 1fr; }
}

.c-actions{
  margin-top: 14px;
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.error-detail{
  margin-top: 6px;
  font-size: 12px;
  opacity: .85;
  white-space: pre-wrap;
  word-break: break-word;
}

.wa-fallback{ margin-top: 10px; }
.wa-fallback__link{ font-weight: 900; text-decoration: underline; }

/* -------------------------
   Catalog Page
-------------------------- */
.topbar{
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
@media (max-width: 820px){
  .topbar{ flex-direction: column; }
}

.search{
  width: 100%;
  max-width: 360px;
  padding: 12px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background:#fff;
  outline: none;
}
.search:focus{
  border-color: rgba(15,53,90,.22);
  box-shadow: 0 0 0 4px var(--ring);
}

.product h3{ margin-top: 10px; }
.product ul{ margin: 10px 0 0 18px; }
.product .btn{ margin-right: 10px; margin-top: 8px; }

/* -------------------------
   HERO SYSTEM (Enterprise / Boardroom Premium) — v2
-------------------------- */
.hero{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 14px;
}
@media (max-width: 820px){
  .hero{ grid-template-columns: 1fr; }
}

/* Boardroom wrapper: visible frame + calm overlay */
section.hero{
  position: relative;
  margin-bottom: 18px;
  padding: 12px;

  background:
    radial-gradient(900px 420px at 18% 0%, rgba(15,53,90,.10), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.66) 0%, rgba(255,255,255,.40) 100%);

  border: 1px solid rgba(0,0,0,.06);
  border-radius: calc(var(--radius) + 4px);

  box-shadow:
    0 18px 46px rgba(2,6,23,.12),
    0 2px 10px rgba(2,6,23,.06),
    inset 0 1px 0 rgba(255,255,255,.70);

  overflow: hidden;
  isolation: isolate;
}

/* 1px top highlight line (boardroom) */
section.hero::before{
  content:"";
  position:absolute;
  left:0; right:0; top:0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.75) 12%, rgba(255,255,255,.35) 88%, transparent 100%);
  pointer-events:none;
  z-index: 0;
}

/* Subtle divider lines + bottom shadow separator (calm) */
section.hero::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  border-radius: calc(var(--radius) + 4px);
  z-index: 0;

  background:
    repeating-linear-gradient(
      90deg,
      rgba(15,53,90,.045) 0px,
      rgba(15,53,90,.045) 1px,
      transparent 1px,
      transparent 20px
    ),
    linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.12) 92%, transparent 100%) 0 100% / 100% 16px no-repeat;

  opacity: .55;
}

/* Ensure hero content sits above overlays */
section.hero > *{ position: relative; z-index: 1; }

/* Cards inside hero: slightly translucent (premium) */
section.hero .hero-left,
section.hero .hero-panel,
section.hero .quick-info{
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  border: 1px solid rgba(2,6,23,.10);
  border-radius: var(--radius);

  box-shadow:
    0 10px 26px rgba(2,6,23,.10),
    inset 0 1px 0 rgba(255,255,255,.60);
}

/* Mobile: reduce padding a bit */
@media (max-width: 720px){
  section.hero{ padding: 10px; }
  section.hero::after{
    background:
      repeating-linear-gradient(
        90deg,
        rgba(15,53,90,.040) 0px,
        rgba(15,53,90,.040) 1px,
        transparent 1px,
        transparent 20px
      ),
      linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.10) 92%, transparent 100%) 0 100% / 100% 14px no-repeat;
    opacity: .55;
  }
}

/* =========================
   Premium Product Media (Boardroom) — v2
========================= */
.product-media{
  width:100%;
  aspect-ratio: 1200 / 750;
  border-radius: 18px;
  overflow:hidden;
  position: relative;
  isolation: isolate;

  background:
    radial-gradient(900px 420px at 22% 8%, rgba(255,255,255,.85), rgba(255,255,255,.20) 55%, rgba(15,53,90,.08) 100%),
    linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.35));

  border: 1px solid rgba(2,6,23,.10);

  box-shadow:
    0 14px 36px rgba(2,6,23,.12),
    0 2px 10px rgba(2,6,23,.06),
    inset 0 1px 0 rgba(255,255,255,.70);

  margin: 12px 0 12px;
}

/* top hairline highlight */
.product-media::before{
  content:"";
  position:absolute;
  left:0; right:0; top:0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.80) 14%, rgba(255,255,255,.35) 86%, transparent 100%);
  z-index: 2;
  pointer-events:none;
}

/* subtle vignette + edge polish */
.product-media::after{
  content:"";
  position:absolute;
  inset:0;
  z-index: 2;
  pointer-events:none;
  background:
    radial-gradient(800px 420px at 30% 10%, rgba(255,255,255,.22), transparent 60%),
    linear-gradient(to bottom, rgba(2,6,23,.06), transparent 22%, transparent 78%, rgba(2,6,23,.10));
  opacity: .95;
}

/* image treatment */
.product-media img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;

  transform: scale(1.01);
  filter: saturate(1.02) contrast(1.03);
  transition: transform .35s ease;
}

/* placeholder sits behind image, used if img fails */
.product-media .pm-ph{
  position:absolute;
  inset:0;
  display:block;
  z-index: 1;
}

.product-media[data-img-failed="1"] img{ display:none; }
.product-media[data-img-failed="1"] .pm-ph{ display:block; }
.product-media:not([data-img-failed="1"]) .pm-ph{ display:none; }

/* Hover lift (only on desktop) */
@media (hover:hover) and (pointer:fine){
  .product-media{
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  }
  .card:hover .product-media{
    transform: translateY(-1px);
    box-shadow:
      0 22px 60px rgba(2,6,23,.16),
      0 3px 12px rgba(2,6,23,.08),
      inset 0 1px 0 rgba(255,255,255,.72);
    border-color: rgba(15,53,90,.16);
  }
  .card:hover .product-media img{
    transform: scale(1.03);
  }
}

/* aspect-ratio fallback */
@supports not (aspect-ratio: 1 / 1){
  .product-media{ height: 220px; }
}

.media-cap{
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--muted);
}

/* -------------------------
   Export strip
-------------------------- */
.export-strip{ margin: 14px 0; }
.export-highlights{
  margin: 0;
  padding: 0;
  list-style: none;
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
}
.export-highlights li{
  border: 1px solid var(--border);
  background:#fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 800;
  font-size: 12.5px;
}

/* -------------------------
   Small polish
-------------------------- */
a.btn{ text-decoration:none; }
button.btn{ border: 1px solid var(--cta-border); }

/* =========================================================
   HEADER — SINGLE SOURCE (SCOPED TO INJECTED HEADER ONLY)
   FINAL: LIGHT / GLASS / NAVY (NO DARK BAR)
   ========================================================= */

#omk-header-v2,
#omk-header-v2 *{ box-sizing: border-box; }

#omk-header-v2{
  position: sticky;
  top: 0;
  z-index: 50;
  overflow: visible;

  /* subtle glass */
  background: rgba(246,248,250,.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-bottom: 1px solid rgba(2,6,23,.06);
  box-shadow: none;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

/* Layout */
#omk-header-v2 nav{
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--nav-v-pad) var(--nav-h-pad);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: var(--nav-gap);

  /* this is the ONLY scroll container */
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

#omk-header-v2 nav::-webkit-scrollbar{ height: 6px; }
#omk-header-v2 nav::-webkit-scrollbar-thumb{
  background: rgba(0,0,0,.15);
  border-radius: 999px;
}

/* Brand (GLOBAL WORDMARK STACK) */
#omk-header-v2 .brand{
  display:inline-flex;
  flex-direction: column;
  align-items:flex-start;
  justify-content:center;
  gap: 2px;
  min-height: 40px;
  flex: 0 0 auto;
  text-decoration:none;
  line-height: 1.05;
}

/* PRIMARY WORDMARK */
#omk-header-v2 .brand-text{
  display:block;
  font-family: "Playfair Display","Cormorant Garamond",Georgia,serif;
  font-weight: 650;
  letter-spacing: 1.6px;
  font-size: 18px;
  text-transform: uppercase;
  color: var(--navy);
}

/* TAGLINE */
#omk-header-v2 .brand-tagline{
  display:block;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 400;
  font-size: 12.5px;
  color: rgba(15,53,90,.70);
  letter-spacing: 0;
}

/* Typography-first: hide SVG logo assets */
#omk-header-v2 .omk-logo{ display:none !important; }

/* Nav links row */
#omk-header-v2 .nav-links{
  flex: 1 1 auto;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap: var(--nav-gap);
  flex-wrap: nowrap;
  white-space: nowrap;

  overflow: visible;
  min-width: max-content;
}

/* Nav links */
#omk-header-v2 nav .nav-links a{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  font-size: var(--nav-font);
  font-weight: var(--nav-weight);
  letter-spacing: -0.005em;
  line-height: 1.15;

  text-decoration:none;
  color: var(--navy);
  opacity: .94;
  position: relative;
}
#omk-header-v2 nav .nav-links a:hover{
  opacity: 1;
  text-decoration: none;
}

/* Active underline */
#omk-header-v2 nav .nav-links a[aria-current="page"]::after{
  content:"";
  position:absolute;
  left: 14%;
  right: 14%;
  bottom: -9px;
  height: 2px;
  border-radius: 999px;
  background: rgba(15,53,90,.42);
}
/* RFQ already highlighted */
#omk-header-v2 nav .nav-links a.nav-rfq[aria-current="page"]::after{ display:none; }

/* RFQ highlight — premium filled navy */
#omk-header-v2 nav .nav-links a.nav-rfq{
  padding: var(--rfq-pad-y) var(--rfq-pad-x);
  border-radius: var(--rfq-radius);

  font-weight: 850;
  letter-spacing: -0.01em;
  line-height: 1;
  font-size: var(--rfq-font);

  background: var(--navy);
  color: #fff;
  border: 1px solid rgba(15,53,90,.22);
  box-shadow: 0 10px 24px rgba(2,6,23,.10);

  opacity: 1;
  transition: background .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
  text-decoration:none;
}
#omk-header-v2 nav .nav-links a.nav-rfq:hover{
  background: #0b2a45;
  border-color: rgba(15,53,90,.26);
  transform: translateY(-1px);
}
#omk-header-v2 nav .nav-links a.nav-rfq.is-active{
  background: #0b2a45;
  color: #fff;
  border-color: rgba(15,53,90,.26);
}

/* JS injected: executive hairline element */
#omk-header-v2 .nav-hairline{
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(2,6,23,.10), transparent);
  opacity: .9;
}

/* JS injected: scroll progress */
#omk-header-v2 .nav-progress{
  position:absolute;
  left:0; right:0; bottom:0;
  height: 2px;
  pointer-events:none;
  z-index: 3;
  opacity: .9;
}
#omk-header-v2 .nav-progress > span{
  display:block;
  height: 100%;
  width: 0%;
  background: rgba(15,53,90,.32);
  border-radius: 999px;
}

/* Solidify + Shrink states (match JS) */
#omk-header-v2.is-solid{
  background: rgba(246,248,250,.92);
  border-bottom-color: rgba(2,6,23,.08);
}
#omk-header-v2.is-shrink{
  --nav-v-pad: 7px;
  --nav-gap: 10px;
  --nav-font: 14.5px;
  --logo-h: 32px;

  --rfq-font: 14px;
  --rfq-pad-y: 9px;
  --rfq-pad-x: 12px;
  --rfq-radius: 12px;

  /* more executive */
  box-shadow: 0 1px 0 rgba(2,6,23,.06), 0 10px 26px rgba(2,6,23,.10);
}

/* Mobile tuning */
@media (max-width: 768px){
  #omk-header-v2 .brand-text{ font-size: 17px; }
  #omk-header-v2 .brand-tagline{ font-size: 12px; }
  #omk-header-v2.is-shrink{
    --nav-v-pad: 8px;
    --logo-h: 30px;
  }
  #omk-header-v2 nav .nav-links a{ opacity: .96; }
  #omk-header-v2 nav .nav-links a.nav-rfq{
    box-shadow: 0 8px 20px rgba(2,6,23,.10);
  }
}

/* Reduce motion safety */
@media (prefers-reduced-motion: reduce){
  #omk-header-v2, #omk-header-v2 *{ transition: none !important; }
}

/* =========================================================
   FORCE “NO DARK BAR” (anti-cache safety)
   Even if old JS sets data-nav-theme="dark", we stay LIGHT.
   ========================================================= */
#omk-header-v2[data-nav-theme="dark"]{
  background: rgba(246,248,250,.78) !important;
  border-bottom-color: rgba(2,6,23,.06) !important;
}
#omk-header-v2[data-nav-theme="dark"] .brand-text{ color: var(--navy) !important; }
#omk-header-v2[data-nav-theme="dark"] .brand-tagline{ color: rgba(15,53,90,.70) !important; }
#omk-header-v2[data-nav-theme="dark"] nav .nav-links a{
  color: var(--navy) !important;
  opacity: .94 !important;
}
#omk-header-v2[data-nav-theme="dark"] .nav-progress > span{ background: rgba(15,53,90,.32) !important; }

/* OMK-AUDIT: STYLE=ENTERPRISE-MASTER-FINAL-HEADER-LIGHT-CLEAN PATCH=HEADER-SINGLE-SOURCE */