/* ============================================================
   FUTURE VALVE — Rubber Expansion Joint Division
   Shared stylesheet
   Visual system: light grey canvas + deep navy industrial tone
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  --navy-900: #062544;
  --navy-800: #0a3159;
  --navy: #0c3b66;
  --navy-600: #15507f;
  --navy-100: #dbe5ef;
  --navy-050: #eaf0f6;
  --steel: #5c7288;
  --accent: #e8801a;
  --accent-dark: #c96a0c;
  --ink: #132433;
  --body: #43596e;
  --muted: #7a8b9c;
  --line: #dce3ea;
  --line-soft: #e8edf2;
  --bg: #f4f6f8;
  --card: #ffffff;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(11, 42, 74, 0.06), 0 2px 8px rgba(11, 42, 74, 0.05);
  --shadow-md: 0 10px 28px rgba(11, 42, 74, 0.09);
  --shadow-lg: 0 24px 64px rgba(6, 37, 68, 0.22);
  --container: 1220px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; color: var(--navy-900); line-height: 1.2; letter-spacing: -0.01em; }
p { margin: 0; }
input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- 3. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding-block: 88px; }
.section--tight { padding-block: 64px; }
.section--alt { background: #fff; }
.section--navy { background: var(--navy-900); color: #c9d7e4; }
.section--navy h2, .section--navy h3 { color: #fff; }

.sec-head { max-width: 760px; margin-bottom: 44px; }
.sec-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
}
.section--navy .eyebrow { color: #8fb2d1; }

.sec-head h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 700; }
.sec-head p { margin-top: 14px; font-size: 16.5px; color: var(--body); max-width: 62ch; }
.section--navy .sec-head p { color: #a9bfd3; }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease,
    transform 0.18s ease, box-shadow 0.18s ease;
}
.btn:active { transform: translateY(1px); }
.btn--sm { padding: 9px 16px; font-size: 13.5px; }
.btn--lg { padding: 16px 30px; font-size: 15.5px; }
.btn--block { width: 100%; }

.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(232, 128, 26, 0.28); }
.btn--primary:hover { background: var(--accent-dark); }

.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-800); }

.btn--ghost { border-color: rgba(255, 255, 255, 0.34); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }

.btn--outline { border-color: var(--line); background: #fff; color: var(--navy); }
.btn--outline:hover { border-color: var(--navy-600); background: var(--navy-050); }

.btn svg { width: 16px; height: 16px; flex: none; }

/* ---------- 5. Top bar ---------- */
.topbar {
  background: var(--navy-900);
  color: #9db6cc;
  font-size: 12.5px;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 38px;
}
.topbar__note { display: inline-flex; align-items: center; gap: 8px; letter-spacing: 0.02em; }
.topbar__note svg { width: 13px; height: 13px; color: #6f97b8; }
.topbar__links { display: flex; align-items: center; gap: 22px; }
.topbar__links a { transition: color 0.15s ease; }
.topbar__links a:hover { color: #fff; }

/* language switcher */
.lang { position: relative; }
.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  color: #cfe0ee;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.lang__btn svg { width: 10px; height: 10px; }
.lang__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 148px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  z-index: 60;
}
.lang__menu a {
  display: block;
  padding: 7px 10px;
  border-radius: 4px;
  color: var(--body);
  font-size: 13px;
}
.lang__menu a:hover { background: var(--navy-050); color: var(--navy); }
.lang__menu a.is-active { color: var(--navy); font-weight: 600; background: var(--navy-050); }

/* ---------- 6. Header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 100; }

.nav {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}
.site-header.is-scrolled .nav { box-shadow: 0 6px 24px rgba(11, 42, 74, 0.08); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--navy-600), var(--navy-900));
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-size: 16px; font-weight: 800; color: var(--navy-900); letter-spacing: 0.02em; }
.brand__text small { font-size: 10.5px; color: var(--muted); letter-spacing: 0.09em; text-transform: uppercase; margin-top: 3px; }

.nav__menu { display: flex; align-items: center; gap: 4px; }
.nav__menu a {
  position: relative;
  padding: 9px 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--steel);
  border-radius: 6px;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav__menu a:hover { color: var(--navy); background: var(--navy-050); }
.nav__menu a.is-active { color: var(--navy); font-weight: 600; }
.nav__menu a.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background: var(--accent);
}

.nav__actions { display: flex; align-items: center; gap: 10px; }

.cart-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.cart-btn:hover { border-color: var(--navy-600); background: var(--navy-050); }
.cart-btn svg { width: 18px; height: 18px; }
.cart-btn__count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  border: 2px solid #fff;
}

.burger {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.burger span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  background: var(--navy);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(1100px 560px at 82% -18%, #1a5588 0%, rgba(26, 85, 136, 0) 62%),
    linear-gradient(158deg, #082a4c 0%, #0c3b66 52%, #0a3159 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.15) 88%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.15) 88%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
  padding-block: 76px 84px;
}
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 13px;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #cfe2f2;
}
.hero__tag i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38c88f;
  box-shadow: 0 0 0 3px rgba(56, 200, 143, 0.22);
}
.hero h1 {
  font-size: clamp(32px, 4.2vw, 54px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #fff;
}
.hero h1 em { font-style: normal; color: #ffb96a; }
.hero__lead {
  margin-top: 20px;
  max-width: 52ch;
  font-size: 17px;
  color: #b7cde0;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.chip-spec {
  padding: 6px 11px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.03em;
  color: #b9cfe2;
}

.hero__visual { position: relative; }
.hero__plate {
  position: relative;
  padding: 34px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #f7fafc 0%, #e3ebf3 100%);
  box-shadow: var(--shadow-lg);
}
.hero__plate::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.6);
  pointer-events: none;
}
.hero__plate img { width: 100%; height: auto; }

.hero__badge {
  position: absolute;
  left: -18px;
  bottom: 26px;
  padding: 13px 16px;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow-md);
  color: var(--navy-900);
}
.hero__badge span { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.hero__badge strong { font-size: 15px; font-weight: 700; }
.hero__badge strong small { font-size: 11.5px; font-weight: 500; color: var(--muted); }

/* ---------- 8. Trust strip ---------- */
.trustbar { background: #fff; border-bottom: 1px solid var(--line); }
.trustbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: 22px;
  flex-wrap: wrap;
}
.trustbar__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.trustbar__list { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; }
.trustbar__item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--steel);
  letter-spacing: 0.02em;
}
.trustbar__item svg { width: 15px; height: 15px; color: var(--navy-600); }

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

.p-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.p-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #c8d5e1; }

.p-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: linear-gradient(155deg, #f8fafc 0%, #e6edf4 100%);
  border-bottom: 1px solid var(--line-soft);
}
.p-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
}
.p-card__flag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 9px;
  border-radius: 3px;
  background: var(--navy);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.p-card__flag--hot { background: #c0392b; }

.p-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 20px 22px; }
.p-card__series {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}
.p-card__title { margin-top: 7px; font-size: 16.5px; font-weight: 700; line-height: 1.35; }
.p-card__title a:hover { color: var(--navy-600); }
.p-card__specs { margin-top: 10px; font-size: 13px; color: var(--muted); line-height: 1.55; }

.p-card__meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
}
.price { display: flex; flex-direction: column; line-height: 1.2; }
.price small { font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.price strong { font-size: 19px; font-weight: 800; color: var(--navy-900); letter-spacing: -0.01em; }
.price strong span { font-size: 12px; font-weight: 500; color: var(--muted); }

.p-card__actions { display: flex; gap: 8px; margin-top: 16px; }
.p-card__actions .btn { flex: 1; }

/* ---------- 10. Feature / stat blocks ---------- */
.feature {
  padding: 28px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.feature__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 9px;
  background: var(--navy-050);
  color: var(--navy-600);
}
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 16.5px; font-weight: 700; }
.feature p { margin-top: 9px; font-size: 14px; line-height: 1.65; color: var(--body); }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: rgba(255, 255, 255, 0.1); }
.stats__item { padding: 30px 24px; background: var(--navy-900); }
.stats__item strong { display: block; font-size: 34px; font-weight: 800; color: #fff; letter-spacing: -0.02em; line-height: 1; }
.stats__item strong small { font-size: 16px; font-weight: 600; color: #7fa8ca; }
.stats__item span { display: block; margin-top: 9px; font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: #8fa9c0; }

/* photo placeholder (to be replaced with real factory shots) */
.photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(150deg, #e9eff5, #d3dee9);
  min-height: 220px;
}
.photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(12, 59, 102, 0.055) 0 2px, transparent 2px 13px);
}
.photo::after {
  content: attr(data-label);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  text-align: center;
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.7;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #7d90a4;
}

/* ---------- 11. Table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.spec { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 620px; }
table.spec caption {
  padding: 16px 20px;
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
  background: #fbfcfd;
}
table.spec th, table.spec td { padding: 13px 20px; text-align: left; border-bottom: 1px solid var(--line-soft); }
table.spec thead th {
  background: var(--navy-050);
  color: var(--navy-900);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}
table.spec tbody th { font-weight: 600; color: var(--navy-900); width: 34%; background: #fcfdfe; }
table.spec tbody tr:last-child th, table.spec tbody tr:last-child td { border-bottom: 0; }
table.spec td.mono { font-family: var(--mono); font-size: 12.5px; color: var(--steel); }

/* ---------- 12. FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 880px; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 20px;
  transition: border-color 0.18s ease;
}
.faq details[open] { border-color: #c3d2e0; }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy-900);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  font-size: 19px;
  font-weight: 400;
  color: var(--navy-600);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { content: "–"; }
.faq p { padding-bottom: 18px; font-size: 14px; color: var(--body); max-width: 74ch; }

/* ---------- 13. CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--navy-900) 0%, var(--navy) 62%, #16558a 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 52px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -60px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 46px rgba(255, 255, 255, 0.045), 0 0 0 92px rgba(255, 255, 255, 0.025);
}
.cta-band h2 { color: #fff; font-size: clamp(23px, 2.6vw, 32px); font-weight: 700; }
.cta-band p { margin-top: 10px; color: #b3cbe0; max-width: 56ch; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; }

/* ---------- 14. Footer ---------- */
.footer { background: var(--navy-900); color: #90a9bf; padding-block: 64px 0; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 48px;
}
.footer h4 {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer p { font-size: 13.5px; line-height: 1.7; }
.footer__links { display: grid; gap: 9px; font-size: 13.5px; }
.footer__links a:hover { color: #fff; }
.footer .brand__text strong { color: #fff; }
.footer .brand__text small { color: #7e99b2; }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12.5px;
}

/* ---------- 15. Cart drawer ---------- */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 30, 54, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 200;
}
.overlay.is-open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100vw);
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: var(--shadow-lg);
  transform: translateX(102%);
  transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
  z-index: 210;
}
.drawer.is-open { transform: translateX(0); }
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}
.drawer__head h3 { font-size: 16px; font-weight: 700; }
.drawer__head p { font-size: 12px; color: var(--muted); margin-top: 3px; }
.drawer__close {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--steel);
}
.drawer__close:hover { background: var(--navy-050); color: var(--navy); }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 22px; }

.cart-line { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.cart-line__img {
  flex: none;
  width: 62px;
  height: 62px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fafc;
}
.cart-line__img img { width: 100%; height: 100%; object-fit: contain; }
.cart-line__main { flex: 1; min-width: 0; }
.cart-line__name { font-size: 13.5px; font-weight: 600; color: var(--navy-900); line-height: 1.4; }
.cart-line__spec { font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.cart-line__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.qty button {
  width: 26px;
  height: 26px;
  background: #fff;
  border: 0;
  color: var(--navy);
  font-size: 15px;
  line-height: 1;
}
.qty button:hover { background: var(--navy-050); }
.qty span { min-width: 30px; text-align: center; font-size: 12.5px; font-weight: 600; color: var(--navy-900); }
.cart-line__price { font-size: 13.5px; font-weight: 700; color: var(--navy-900); }
.cart-line__del { background: none; border: 0; font-size: 11.5px; color: var(--muted); text-decoration: underline; padding: 0; }
.cart-line__del:hover { color: #c0392b; }

.drawer__empty { padding: 64px 10px; text-align: center; color: var(--muted); font-size: 14px; }
.drawer__empty svg { width: 42px; height: 42px; margin: 0 auto 16px; color: #c3d0dc; }

.drawer__foot { padding: 20px 22px 24px; border-top: 1px solid var(--line); background: #fbfcfd; }
.drawer__sum { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 6px; }
.drawer__sum span { font-size: 13px; color: var(--steel); }
.drawer__sum strong { font-size: 20px; font-weight: 800; color: var(--navy-900); }
.drawer__note { font-size: 11.5px; line-height: 1.6; color: var(--muted); margin-bottom: 16px; }

/* ---------- 16. Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--navy-900) 0%, var(--navy) 100%);
  color: #fff;
  padding-block: 54px 58px;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 70%);
  mask-image: linear-gradient(90deg, #000, transparent 70%);
}
.page-hero__inner { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(27px, 3.4vw, 40px); font-weight: 800; letter-spacing: -0.02em; }
.page-hero p { margin-top: 12px; max-width: 64ch; color: #b8cfe2; font-size: 15.5px; }

.breadcrumb { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: #8fb0cb; margin-bottom: 20px; flex-wrap: wrap; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: #5f86a6; }

/* ---------- 17. Filter bar ---------- */
.filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 16px 0 26px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}
.filters__group { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.filters__label { font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.filter-chip {
  padding: 8px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--steel);
  transition: all 0.15s ease;
}
.filter-chip:hover { border-color: var(--navy-600); color: var(--navy); }
.filter-chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 600; }

.select-wrap { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--steel); }
.select-wrap select {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 13px;
  color: var(--navy-900);
}

.result-count { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.p-card.is-hidden { display: none; }

/* ---------- 18. Product detail ---------- */
.pd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }

.pd__gallery { position: sticky; top: 100px; }
.pd__stage {
  position: relative;
  aspect-ratio: 5 / 4;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(155deg, #fbfdfe 0%, #e6edf4 100%);
  overflow: hidden;
}
.pd__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 34px; }
.pd__thumbs { display: flex; gap: 10px; margin-top: 12px; }
.pd__thumb {
  flex: 1;
  aspect-ratio: 1;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: border-color 0.15s ease;
}
.pd__thumb img { width: 100%; height: 100%; object-fit: contain; }
.pd__thumb.is-active, .pd__thumb:hover { border-color: var(--navy-600); }

.pd__head { padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.pd__series { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.pd h1 { margin-top: 8px; font-size: clamp(25px, 2.8vw, 33px); font-weight: 800; }
.pd__sub { margin-top: 12px; font-size: 15px; color: var(--body); max-width: 58ch; }

.pd__price-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.pd__price-box .price strong { font-size: 26px; }
.pd__price-box .price small { font-size: 10px; }

.pd__keyfacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); margin-top: 22px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pd__fact { padding: 14px 16px; background: #fff; }
.pd__fact span { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.pd__fact strong { display: block; margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--navy-900); }

.pd__buy { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.qty--lg { height: 46px; }
.qty--lg button { width: 38px; height: 44px; font-size: 18px; }
.qty--lg span { min-width: 38px; font-size: 14px; }
#detailQty { width: 44px; text-align: center; border: 0; font-size: 14px; font-weight: 600; color: var(--navy-900); }

.pd__assure { display: grid; gap: 10px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.pd__assure li { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--steel); }
.pd__assure svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: #2f8f63; }

/* tabs */
.tabs { margin-top: 64px; }
.tabs__nav { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 26px; flex-wrap: wrap; }
.tabs__btn {
  padding: 12px 18px;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: -1px;
}
.tabs__btn:hover { color: var(--navy); }
.tabs__btn.is-active { color: var(--navy); border-bottom-color: var(--accent); }
.tabs__panel[hidden] { display: none; }
.tabs__panel p { font-size: 14.5px; line-height: 1.75; max-width: 82ch; }
.tabs__panel p + p { margin-top: 14px; }

.dl-list { display: grid; gap: 10px; }
.dl-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.dl-item__main { display: flex; align-items: center; gap: 12px; }
.dl-item__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 6px; background: var(--navy-050); color: var(--navy-600); }
.dl-item__icon svg { width: 16px; height: 16px; }
.dl-item strong { display: block; font-size: 13.5px; color: var(--navy-900); font-weight: 600; }
.dl-item small { font-size: 11.5px; color: var(--muted); }

/* ---------- 19. Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 12.5px; font-weight: 600; color: var(--navy-900); letter-spacing: 0.01em; }
.field label span { color: #c0392b; }
.field input, .field select, .field textarea {
  padding: 12px 14px;
  background: #fbfcfd;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--navy-600);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(21, 80, 127, 0.1);
}
.field textarea { min-height: 118px; resize: vertical; }
.field__hint { font-size: 11.5px; color: var(--muted); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #d1604f; background: #fdf7f6; }
.field__err { font-size: 11.5px; color: #c0392b; display: none; }
.field.has-error .field__err { display: block; }

.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 26px; flex-wrap: wrap; }
.form-foot p { font-size: 11.5px; color: var(--muted); max-width: 46ch; line-height: 1.6; }

.form-success {
  display: flex;
  gap: 14px;
  padding: 18px;
  border: 1px solid #bfe0cd;
  border-radius: var(--radius-sm);
  background: #f2faf6;
  margin-bottom: 22px;
}
.form-success svg { width: 20px; height: 20px; flex: none; color: #2f8f63; margin-top: 2px; }
.form-success strong { display: block; font-size: 14px; color: #1f6b4a; }
.form-success p { font-size: 13px; color: #3c6b55; margin-top: 3px; }

.contact-list { display: grid; gap: 18px; }
.contact-item { display: flex; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line-soft); }
.contact-item:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-item__icon { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 8px; background: var(--navy-050); color: var(--navy-600); }
.contact-item__icon svg { width: 17px; height: 17px; }
.contact-item span { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.contact-item strong { display: block; margin-top: 3px; font-size: 14.5px; font-weight: 600; color: var(--navy-900); }
.contact-item p { font-size: 13px; color: var(--body); margin-top: 2px; }

/* ---------- 19b. RFQ page layout ---------- */
.rfq {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 30px;
  align-items: start;
}
.rfq__aside { display: grid; gap: 18px; }

.card {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.card ol { padding-left: 0; }

@media (max-width: 980px) {
  .rfq { grid-template-columns: 1fr; }
}

/* ---------- 20. Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 18px 12px 14px;
  border-radius: 100px;
  background: #1f9d55;
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 10px 26px rgba(20, 110, 62, 0.34);
  transition: transform 0.18s ease, background 0.18s ease;
}
.wa-float:hover { background: #178a49; transform: translateY(-2px); }
.wa-float svg { width: 20px; height: 20px; }

/* ---------- 21. Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translate(-50%, 20px);
  opacity: 0;
  visibility: hidden;
  padding: 12px 20px;
  border-radius: 8px;
  background: var(--navy-900);
  color: #fff;
  font-size: 13.5px;
  font-weight: 500;
  box-shadow: var(--shadow-md);
  z-index: 300;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}
.toast.is-show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- 22. Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 23. Responsive ---------- */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; gap: 44px; padding-block: 56px 64px; }
  .hero__visual { max-width: 520px; }
  .hero__badge { left: 12px; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .pd { grid-template-columns: 1fr; gap: 38px; }
  .pd__gallery { position: static; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .section { padding-block: 62px; }
  .nav__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 24px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(11, 42, 74, 0.1);
    display: none;
  }
  .nav__menu.is-open { display: flex; }
  .nav__menu a { padding: 12px 10px; font-size: 15px; }
  .nav__menu a.is-active::after { display: none; }
  .burger { display: block; }
  .btn--quote-nav { display: none; }
  .topbar__note { display: none; }
  .topbar__inner { justify-content: flex-end; }
  .trustbar__inner { gap: 18px; }
  .trustbar__list { gap: 18px; }
  .cta-band { padding: 34px 26px; }
  .form-card { padding: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer { padding-top: 46px; }
  .footer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .container { padding-inline: 18px; }
  .grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .hero__cta .btn { flex: 1 1 100%; }
  .pd__keyfacts { grid-template-columns: 1fr; }
  .pd__buy .btn { flex: 1 1 100%; }
  .drawer { width: 100vw; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; border-radius: 50%; }
  .filters { gap: 14px; }
  .sec-head { margin-bottom: 30px; }
}

/* ---------- 24. WordPress-specific additions ---------- */
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  white-space: nowrap;
}

.custom-logo { max-height: 40px; width: auto; }

/* posts pagination */
.nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.nav-links .page-numbers {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--steel);
}
.nav-links .page-numbers:hover { border-color: var(--navy-600); color: var(--navy); }
.nav-links .page-numbers.current { background: var(--navy); border-color: var(--navy); color: #fff; }
.nav-links .page-numbers.dots { border: 0; background: none; }

/* long-form page content */
.entry-content { font-size: 15.5px; line-height: 1.8; }
.entry-content h2 { margin-top: 36px; font-size: 24px; }
.entry-content h3 { margin-top: 28px; font-size: 19px; }
.entry-content p + p { margin-top: 14px; }
.entry-content a { color: var(--navy-600); text-decoration: underline; }
.entry-content ul { list-style: disc; padding-left: 22px; margin-block: 14px; }
.entry-content ol { list-style: decimal; padding-left: 22px; margin-block: 14px; }
.entry-content img { border-radius: var(--radius); }

/* admin metabox grid fallback */
.fv-rj-meta p { margin: 0 0 12px; }

/* ---------- 25. Product configuration selector ---------- */
.pd__config {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 16px 12px;
  background: #fff;
}
.pd__config-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.pd__config-head strong { font-size: 14.5px; color: var(--navy); }
.pd__config-head span { font-size: 12px; color: #7a8b9c; }
.pd__config-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 14px;
}
.cfg {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #7a8b9c;
  font-weight: 700;
}
.cfg select {
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: #132433;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  width: 100%;
}
.cfg select:focus-visible {
  outline: 2px solid rgba(12, 59, 102, .3);
  outline-offset: 1px;
  border-color: var(--navy-600);
}
.pd__config-note { margin: 12px 0 0; font-size: 12px; color: #7a8b9c; }
@media (max-width: 560px) {
  .pd__config-grid { grid-template-columns: 1fr; }
}
