/* ------------------------------------------------------------------
 * Brazol Lubricants â€” inner pages (About / Products / Services / Contact)
 * Extends the home design system (home.css loaded alongside).
 * ------------------------------------------------------------------ */
.bx-page { background: #ffffff; color: #0e1118; overflow: clip; }

/* Page hero */
.bx-page-hero {
  position: relative;
  padding: clamp(150px, 20vw, 210px) 0 clamp(60px, 7vw, 96px);
  background:
    radial-gradient(900px 420px at 80% 0%, rgba(194,0,0, 0.08), transparent 60%),
    #ffffff;
  overflow: hidden;
}
.bx-page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(14,17,24,0.14), transparent);
}
.bx-crumb { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; font-size: 13px; color: rgba(14,17,24,0.525); }
.bx-crumb a { color: rgba(14,17,24,0.788); text-decoration: none; }
.bx-crumb a:hover { color: #0e1118; }
.bx-page-title {
  margin: 0; font-weight: 800; letter-spacing: -0.03em; line-height: 1.02;
  font-size: clamp(2.6rem, 6vw, 5rem); text-wrap: balance; max-width: 900px;
}
.bx-page-title .accent { color: #C20000; }
.bx-page-hero .bx-lead { margin-top: 22px; }

/* Compact video hero (template-parts/page-hero.php) */
.bx-page-hero--video {
  display: flex;
  align-items: flex-end;
  min-height: clamp(440px, 62vh, 640px);
  padding: 140px 0 clamp(44px, 6vw, 72px);
  background: #070708;
  color: #fff;
  isolation: isolate;
}
.bx-page-hero-media { position: absolute; inset: 0; z-index: -2; }
.bx-page-hero-media video {
  width: 100%; height: 100%; object-fit: cover; display: block;
  /* No zoom/filter here — the 1080p source must render pixel-sharp, never blurred. */
}
.bx-page-hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7,7,8,0.9) 0%, rgba(7,7,8,0.6) 45%, rgba(7,7,8,0.15) 100%),
    linear-gradient(0deg, #070708 0%, rgba(7,7,8,0) 40%),
    linear-gradient(180deg, rgba(7,7,8,0.6) 0%, rgba(7,7,8,0) 30%);
}
.bx-page-hero-inner { position: relative; animation: bxHeroRise 0.9s cubic-bezier(.2,.7,.2,1) 0.2s both; }
.bx-page-hero--video .bx-page-title {
  position: relative;
  padding-inline-start: 22px;
  font-size: clamp(2rem, 4.4vw, 3.8rem);
  line-height: 1.06;
  max-width: 820px;
}
.bx-page-hero--video .bx-page-title::before {
  content: ""; position: absolute; inset-block: 0.12em; inset-inline-start: 0;
  width: 5px; border-radius: 3px; background: linear-gradient(180deg, #ff3b3b, #C20000);
}
.bx-page-hero--video .bx-page-title .accent { display: block; }
.bx-page-hero--video .bx-lead { max-width: 600px; color: rgba(255,255,255,0.8); }
.bx-page-hero--video .bx-crumb { color: rgba(255,255,255,0.55); }
.bx-page-hero--video .bx-crumb a { color: rgba(255,255,255,0.8); }
.bx-page-hero--video .bx-eyebrow { color: rgba(255,255,255,0.6); }
@keyframes bxHeroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes bxHeroRise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@media (max-width: 700px) {
  .bx-page-hero--video { min-height: 460px; padding-top: 170px; }
  .bx-page-hero--video .bx-page-title { padding-inline-start: 16px; }
  .bx-page-hero-shade { background: linear-gradient(0deg, #070708 0%, rgba(7,7,8,0.65) 45%, rgba(7,7,8,0.5) 100%); }
}
@media (prefers-reduced-motion: reduce) {
  .bx-page-hero-media video, .bx-page-hero-inner { animation: none; }
}

/* Generic prose split */
.bx-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
.bx-split p { margin: 0 0 18px; color: rgba(14,17,24,0.714); line-height: 1.8; }
.bx-split p strong { color: #0e1118; }

/* Values grid */
.bx-values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: clamp(40px, 5vw, 64px); }
.bx-value {
  border: 1px solid rgba(14,17,24,0.09); border-radius: 22px; padding: 30px 26px;
  background: linear-gradient(180deg, rgba(14,17,24,0.045), rgba(14,17,24,0.009));
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.bx-value:hover { border-color: rgba(194,0,0,0.55); transform: translateY(-6px); }
.bx-value b { display: block; font-size: clamp(2rem, 3vw, 2.6rem); font-weight: 800; color: transparent; -webkit-text-stroke: 1.5px rgba(194,0,0,0.8); line-height: 1; margin-bottom: 16px; }
.bx-value h3 { margin: 0 0 8px; font-size: 1.05rem; }
.bx-value p { margin: 0; font-size: 0.92rem; color: rgba(14,17,24,0.63); line-height: 1.65; }

/* Alternating product rows */
.bx-rows { display: flex; flex-direction: column; gap: 22px; }
.bx-row {
  display: grid; grid-template-columns: 220px 1fr; gap: clamp(22px, 4vw, 54px); align-items: center;
  border: 1px solid rgba(14,17,24,0.09); border-radius: 26px; padding: clamp(26px, 3.4vw, 44px);
  background: #f3f4f7; transition: border-color 0.3s ease;
}
.bx-row:hover { border-color: rgba(194,0,0,0.5); }
.bx-row-grade { font-size: clamp(2.6rem, 5vw, 4.4rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1;
  background: linear-gradient(180deg, rgba(14,17,24,0.765), rgba(194,0,0,0.75));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.bx-row h3 { margin: 0 0 10px; font-size: clamp(1.3rem, 2.2vw, 1.8rem); letter-spacing: -0.02em; }
.bx-row p { margin: 0 0 16px; color: rgba(14,17,24,0.672); line-height: 1.7; max-width: 640px; }

/* Products page — category jump links */
.bx-cat-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(20px, 3vw, 36px); }
.bx-cat-nav a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px; text-decoration: none;
  color: rgba(14,17,24,0.892); font-size: 14px; font-weight: 600;
  border: 1px solid rgba(14,17,24,0.126); background: rgba(14,17,24,0.027);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.bx-cat-nav a small { font-size: 11px; font-weight: 700; color: rgba(14,17,24,0.473); }
.bx-cat-nav a:hover { background: #C20000; border-color: #C20000; color: #fff; }
.bx-cat-nav a:hover small { color: rgba(255,255,255,0.85); }

/* Products page — one block per category */
.bx-cat { padding-top: clamp(48px, 6vw, 84px); scroll-margin-top: 90px; }
.bx-cat + .bx-cat { border-top: 1px solid rgba(14,17,24,0.063); margin-top: clamp(48px, 6vw, 84px); }
.bx-cat-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 64px); align-items: end; margin-bottom: clamp(28px, 3.4vw, 44px); }
.bx-cat-head .bx-eyebrow { margin-bottom: 14px; }
.bx-cat-title { margin: 0; font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1.08; letter-spacing: -0.02em; font-weight: 800; }
.bx-cat-desc { margin: 0 0 16px; color: rgba(14,17,24,0.693); line-height: 1.7; }
.bx-cat-head .bx-prod-specs { margin: 0; }

.bx-pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.bx-pcard {
  display: flex; flex-direction: column;
  border: 1px solid rgba(14,17,24,0.09); border-radius: 24px; overflow: hidden;
  background: linear-gradient(180deg, rgba(14,17,24,0.045), rgba(14,17,24,0.011));
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.bx-pcard:hover { border-color: rgba(194,0,0,0.55); transform: translateY(-6px); }
.bx-pcard-img {
  position: relative; aspect-ratio: 1 / 1; min-height: 220px; flex: 0 0 auto;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 28px 22px 14px; box-sizing: border-box;
  overflow: hidden;
  background: radial-gradient(60% 55% at 50% 60%, rgba(194,0,0,0.16), transparent 72%);
}
/* Identical image box for every product — the packshot is fitted inside it, whatever its proportions.
   Flex box + contain = same visual size for low-res/small uploads and high-res files.
   Nothing is ever cropped: the whole bottle stays visible with padding on all sides. */
.bx-pcard-img img { /* white-theme drop shadow below */
  display: block;
  width: 100%; height: 100%; max-width: 100%; max-height: 100%;
  min-width: 0; min-height: 0; flex: 0 1 auto;
  position: static;
  object-fit: contain; object-position: center bottom;
  filter: drop-shadow(0 14px 18px rgba(15,20,35,0.22));
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.bx-pcard:hover .bx-pcard-img img { /* white-theme drop shadow below */ transform: scale(1.05) translateY(-4px); }
.bx-pcard-pack {
  position: absolute; top: 14px; right: 14px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(255,255,255,0.94); border: 1px solid rgba(14,17,24,0.126); color: rgba(14,17,24,0.892);
}
.bx-pcard-body { padding: 4px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.bx-pcard-body h3 { margin: 0 0 6px; font-size: 1.08rem; letter-spacing: -0.01em; }
.bx-pcard-body p { margin: 0 0 16px; font-size: 0.88rem; line-height: 1.55; color: rgba(14,17,24,0.609); flex: 1; }
.bx-pcard-body .bx-prod-cta { font-size: 13px; }
.bx-pcard:hover .bx-prod-cta .arr { transform: translateX(6px); color: #C20000; }
.bx-spec td a { color: #0e1118; text-decoration: none; }
.bx-spec td a:hover { color: #C20000; }

/* About page — company story (full-screen black parallax, 2-in-a-row) */
.bx-story {
  margin-top: clamp(64px, 8vw, 120px);
  background: #0c0d10; color: #fff;
  padding: clamp(64px, 8vw, 110px) 0;
  width: 100%;
}
.bx-story-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.bx-story-head .bx-title { color: #fff; }
.bx-story-head .bx-eyebrow { color: rgba(255,255,255,0.6); }
.bx-story-head .bx-lead { color: rgba(255,255,255,0.72); }
.bx-parallax {
  position: relative; overflow: hidden; isolation: isolate;
  background: transparent; color: #fff;
  border: 0; border-radius: 0; box-shadow: none;
}
.bx-parallax-bg {
  position: absolute; inset: -18% 0; z-index: 0;
  background:
    radial-gradient(700px 380px at 15% 10%, rgba(194,0,0,0.5), transparent 65%),
    radial-gradient(800px 460px at 90% 85%, rgba(194,0,0,0.34), transparent 62%),
    radial-gradient(500px 300px at 80% 15%, rgba(255,255,255,0.1), transparent 60%),
    repeating-linear-gradient(115deg, rgba(255,255,255,0.055) 0 2px, transparent 2px 26px),
    linear-gradient(160deg, #23242b, #101114 55%, #08090b);
  will-change: transform;
  transform: translate3d(0, 0, 0);
}
.bx-parallax-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,9,11,0.55), rgba(8,9,11,0.15) 35%, rgba(8,9,11,0.15) 65%, rgba(8,9,11,0.7));
}
.bx-parallax-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2.2vw, 26px);
  padding: clamp(8px, 1vw, 12px) 0 clamp(4px, 1vw, 8px);
}
.bx-story-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.bx-story-card:last-child:nth-child(odd) .bx-story-copy p { max-width: 110ch; }
.bx-story-card {
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.07);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 18px 50px rgba(0,0,0,0.35);
  overflow: hidden;
  transition: border-color 0.35s ease, transform 0.35s ease, background 0.35s ease;
}
.bx-story-card:hover { border-color: rgba(255,80,80,0.65); background: rgba(255,255,255,0.1); }
.bx-story-card-inner {
  display: grid; grid-template-columns: auto 1fr;
  gap: clamp(16px, 2.4vw, 30px);
  padding: clamp(24px, 3vw, 40px) clamp(20px, 3vw, 38px);
  align-items: start;
  will-change: transform;
  height: 100%;
}
.bx-story-card { display: flex; flex-direction: column; }
.bx-story-num {
  font-weight: 800; line-height: 1; letter-spacing: -0.03em;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,0.55);
  font-variant-numeric: tabular-nums;
}
.bx-story-copy h3 {
  margin: 0 0 12px; font-size: clamp(1.2rem, 2vw, 1.6rem);
  letter-spacing: -0.02em; line-height: 1.2; color: #fff;
  padding-inline-start: 16px; position: relative;
}
.bx-story-copy h3::before {
  content: ""; position: absolute; inset-block: 4px; inset-inline-start: 0;
  width: 4px; border-radius: 4px;
  background: linear-gradient(180deg, #ff3b3b, #C20000);
}
.bx-story-copy p {
  margin: 0; color: rgba(255,255,255,0.82);
  font-size: clamp(0.95rem, 1.3vw, 1.04rem); line-height: 1.8;
  max-width: 62ch; text-wrap: pretty;
}
@media (max-width: 900px) {
  .bx-parallax-inner { grid-template-columns: 1fr; }
  .bx-story-card:last-child:nth-child(odd) { grid-column: auto; }
}
@media (max-width: 700px) {
  .bx-parallax-inner { padding: 4px 0; }
  .bx-story-card-inner { grid-template-columns: 1fr; gap: 10px; padding: 24px 20px; }
  .bx-story-num { font-size: 2.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .bx-parallax-bg, .bx-story-card-inner { transform: none !important; }
  .bx-story-card { transition: none; }
}

/* Spec table */
.bx-table-wrap { overflow-x: auto; border: 1px solid rgba(14,17,24,0.09); border-radius: 22px; margin-top: clamp(36px, 4vw, 56px); }
table.bx-spec { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 640px; }
.bx-spec th, .bx-spec td { text-align: left; padding: 18px 24px; border-bottom: 1px solid rgba(14,17,24,0.072); }
.bx-spec thead th { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(14,17,24,0.525); background: rgba(14,17,24,0.027); }
.bx-spec tbody tr { transition: background 0.25s ease; }
.bx-spec tbody tr:hover { background: rgba(194,0,0,0.07); }
.bx-spec tbody tr:last-child th, .bx-spec tbody tr:last-child td { border-bottom: 0; }
.bx-spec td:first-child { font-weight: 800; color: #0e1118; white-space: nowrap; }

/* Service grid + process steps */
.bx-grid-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.bx-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: clamp(36px, 4vw, 54px); counter-reset: step; }
.bx-step { position: relative; border-top: 2px solid rgba(14,17,24,0.126); padding-top: 22px; transition: border-color 0.3s ease; }
.bx-step:hover { border-color: #C20000; }
.bx-step::before { counter-increment: step; content: "0" counter(step); display: block; font-weight: 800; font-size: 0.85rem; letter-spacing: 0.2em; color: #C20000; margin-bottom: 12px; }
.bx-step h3 { margin: 0 0 8px; font-size: 1.05rem; }
.bx-step p { margin: 0; font-size: 0.9rem; color: rgba(14,17,24,0.609); line-height: 1.65; }

/* CTA band */
.bx-cta-band {
  position: relative; overflow: hidden; text-align: center;
  border: 1px solid rgba(14,17,24,0.09); border-radius: 30px;
  padding: clamp(54px, 7vw, 90px) clamp(24px, 5vw, 60px);
  background: radial-gradient(600px 300px at 50% 120%, rgba(194,0,0,0.22), transparent 70%), #f3f4f7;
  margin-top: clamp(48px, 6vw, 84px);
}
.bx-cta-band h2 { margin: 0; font-size: clamp(1.8rem, 3.6vw, 2.8rem); letter-spacing: -0.02em; }
.bx-cta-band p { margin: 14px auto 0; color: rgba(14,17,24,0.651); max-width: 520px; }
.bx-cta-band .bx-contact-cta { margin-top: 30px; }

/* Contact layout */
.bx-contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 4vw, 54px); align-items: stretch; }

/* Contact side — dark premium details panel */
.bx-contact-side {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 26px; padding: clamp(28px, 3.6vw, 46px);
  background: linear-gradient(160deg, #26272e, #101114 58%, #08090b);
  border: 1px solid rgba(255,255,255,0.1); color: #fff;
  box-shadow: 0 30px 70px rgba(15,20,35,0.25);
  display: flex; flex-direction: column;
}
.bx-contact-side::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(480px 260px at 85% 0%, rgba(194,0,0,0.45), transparent 65%),
    repeating-linear-gradient(115deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 26px);
}
.bx-contact-side .bx-eyebrow { color: rgba(255,255,255,0.6); }
.bx-contact-side h2 { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -0.02em; line-height: 1.15; color: #fff; }
.bx-side-sub { margin: 12px 0 0; color: rgba(255,255,255,0.68); line-height: 1.7; font-size: 0.96rem; }
.bx-side-list { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; flex: 1; }
.bx-side-list li { display: flex; gap: 16px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.bx-side-list li:last-child { border-bottom: 0; }
.bx-side-ico {
  width: 50px; height: 50px; border-radius: 15px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(194,0,0,0.18); border: 1px solid rgba(255,90,90,0.45);
  box-shadow: 0 8px 24px rgba(194,0,0,0.25);
}
.bx-side-ico svg { width: 22px; height: 22px; stroke: #ff7a7a; fill: none; stroke-width: 1.8; }
.bx-side-list b { display: block; font-size: 11.5px; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 7px; }
.bx-side-list a, .bx-side-list .val { color: #fff; text-decoration: none; font-weight: 700; font-size: 1.04rem; line-height: 1.55; overflow-wrap: anywhere; }
.bx-side-list a:hover { color: #ff8a8a; }
.bx-side-list small { display: block; margin-top: 5px; color: rgba(255,255,255,0.55); font-size: 0.85rem; }
.bx-side-note {
  margin: 22px 0 0; padding: 15px 20px 15px 48px; position: relative;
  border-radius: 15px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.13);
  color: rgba(255,255,255,0.85); font-size: 0.9rem; font-weight: 600;
}
.bx-side-note::before {
  content: "✓"; position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; border-radius: 50%;
  background: #C20000; color: #fff; font-size: 12px; font-weight: 800; line-height: 20px; text-align: center;
}
.bx-info-card {
  display: flex; gap: 18px; align-items: flex-start;
  border: 1px solid rgba(14,17,24,0.09); border-radius: 20px; padding: 24px;
  background: rgba(14,17,24,0.023); margin-bottom: 16px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.bx-info-card:hover { border-color: rgba(194,0,0,0.5); transform: translateX(6px); }
.bx-info-card svg { width: 26px; height: 26px; stroke: #C20000; fill: none; stroke-width: 1.8; flex-shrink: 0; margin-top: 2px; }
.bx-info-card b { display: block; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(14,17,24,0.525); margin-bottom: 6px; }
.bx-info-card a, .bx-info-card span.val { color: #0e1118; text-decoration: none; font-weight: 600; font-size: 1.05rem; }
.bx-info-card a:hover { color: #C20000; }

/* Contact page — office addresses */
.bx-offices { margin-top: clamp(48px, 6vw, 84px); margin-bottom: clamp(48px, 6vw, 84px); }
.bx-offices-head { max-width: 720px; margin-bottom: clamp(24px, 3vw, 40px); }
.bx-offices-head h2 { margin: 0; font-size: clamp(1.5rem, 2.8vw, 2.2rem); letter-spacing: -0.02em; }
.bx-office-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bx-office-card { margin-bottom: 0; }
.bx-office-card span.val { display: block; font-weight: 500; font-size: 0.95rem; line-height: 1.7; color: rgba(14,17,24,0.8); }
.bx-office-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; }
.bx-office-links a { font-size: 0.9rem !important; font-weight: 700 !important; color: #C20000 !important; }
@media (max-width: 860px) {
  .bx-office-grid { grid-template-columns: 1fr; }
}
.bx-form-panel {
  border: 1px solid rgba(14,17,24,0.09); border-radius: 26px; padding: clamp(28px, 3.6vw, 48px);
  background: #fff;
  box-shadow: 0 24px 60px rgba(15,20,35,0.08);
}
.bx-form-panel .bx-eyebrow { margin-bottom: 14px; }
.bx-form-panel h2 { margin: 0 0 8px; font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -0.02em; }
.bx-form-panel > p { margin: 0 0 26px; color: rgba(14,17,24,0.63); line-height: 1.7; }

/* WPForms styling */
.bx-form-panel .wpforms-container { margin: 0; }
.bx-form-panel .wpforms-field { padding: 0 0 18px !important; }
.bx-form-panel .wpforms-field-label { color: #0e1118 !important; font-weight: 700 !important; font-size: 13px !important; letter-spacing: 0.04em; margin-bottom: 8px !important; }
.bx-form-panel .wpforms-field input[type="text"],
.bx-form-panel .wpforms-field input[type="email"],
.bx-form-panel .wpforms-field input[type="tel"],
.bx-form-panel .wpforms-field input[type="number"],
.bx-form-panel .wpforms-field select,
.bx-form-panel .wpforms-field textarea {
  background: #f6f7f9 !important; border: 1.5px solid rgba(14,17,24,0.12) !important;
  border-radius: 16px !important; color: #0e1118 !important; padding: 15px 18px !important;
  font-family: inherit !important; font-size: 15px !important; max-width: 100% !important;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease !important;
}
.bx-form-panel .wpforms-field input:hover,
.bx-form-panel .wpforms-field textarea:hover,
.bx-form-panel .wpforms-field select:hover { border-color: rgba(14,17,24,0.3) !important; }
.bx-form-panel .wpforms-field input:focus,
.bx-form-panel .wpforms-field textarea:focus,
.bx-form-panel .wpforms-field select:focus { background: #fff !important; border-color: #C20000 !important; outline: none !important; box-shadow: 0 0 0 4px rgba(194,0,0,0.14) !important; }
.bx-form-panel .wpforms-field input,
.bx-form-panel .wpforms-field textarea { width: 100% !important; }
.bx-form-panel .wpforms-field textarea { min-height: 140px !important; resize: vertical; }
.bx-form-panel .wpforms-field input::placeholder,
.bx-form-panel .wpforms-field textarea::placeholder { color: rgba(14,17,24,0.399) !important; opacity: 1; }
.bx-form-panel .wpforms-required-label { color: #ff4d4d !important; }
/* Validation errors */
.bx-form-panel .wpforms-field input.wpforms-error,
.bx-form-panel .wpforms-field textarea.wpforms-error,
.bx-form-panel .wpforms-has-error input,
.bx-form-panel .wpforms-has-error textarea { border-color: #ff4d4d !important; }
.bx-form-panel em.wpforms-error,
.bx-form-panel label.wpforms-error { color: #C20000 !important; font-size: 12.5px !important; font-weight: 600; margin-top: 8px !important; }
.bx-form-panel .wpforms-error-container,
.bx-form-panel .wpforms-error-alert { background: rgba(194,0,0,0.08) !important; border: 1px solid rgba(194,0,0,0.5) !important; color: #0e1118 !important; border-radius: 14px !important; }
.bx-form-panel .wpforms-submit {
  width: 100% !important;
  background: #C20000 !important; border: 1px solid #C20000 !important; color: #fff !important;
  font-weight: 800 !important; padding: 17px 38px !important; border-radius: 16px !important;
  cursor: pointer; transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease !important; font-size: 16px !important;
  letter-spacing: 0.02em !important;
}
.bx-form-panel .wpforms-submit:hover { background: #990000 !important; border-color: #990000 !important; color: #fff !important; box-shadow: 0 14px 30px rgba(194,0,0,0.35) !important; transform: translateY(-2px); }
.bx-form-panel .wpforms-submit::after { content: " →"; }
.bx-form-panel .wpforms-confirmation-container-full { background: rgba(194,0,0,0.08) !important; border: 1px solid rgba(194,0,0,0.5) !important; color: #0e1118 !important; border-radius: 14px; }

/* Responsive */
@media (max-width: 1024px) {
  .bx-split, .bx-contact-grid { grid-template-columns: 1fr; }
  .bx-values { grid-template-columns: 1fr 1fr; }
  .bx-steps { grid-template-columns: 1fr 1fr; }
  .bx-grid-cards { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .bx-cat-head { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 640px) {
  .bx-pgrid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .bx-pcard { border-radius: 18px; }
  .bx-pcard-img { min-height: 0; padding: 24px 12px 8px; }
  .bx-pcard-img img { width: 100%; height: 100%; }
  .bx-pcard-body { padding: 2px 14px 16px; }
  .bx-pcard-body h3 { font-size: 0.95rem; }
  .bx-pcard-body p { font-size: 0.8rem; }
  .bx-pcard-pack { top: 10px; right: 10px; font-size: 10px; padding: 4px 8px; }
  .bx-cat-nav { flex-wrap: nowrap; overflow-x: auto; margin-inline: -4vw; padding: 2px 4vw 8px; scrollbar-width: none; }
  .bx-cat-nav::-webkit-scrollbar { display: none; }
  .bx-cat-nav a { flex-shrink: 0; }
  .bx-row { grid-template-columns: 1fr; }
  .bx-values { grid-template-columns: 1fr; }
  .bx-steps { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .bx-value:hover, .bx-info-card:hover, .bx-pcard:hover { transform: none; }
}

/* Products page — category filter chips (buttons) + category pages */
.bx-cat-nav button {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px;
  color: rgba(14,17,24,0.892); font: 600 14px/1.2 inherit; font-family: inherit;
  border: 1px solid rgba(14,17,24,0.126); background: rgba(14,17,24,0.027);
  cursor: pointer; white-space: nowrap;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.bx-cat-nav button small { font-size: 11px; font-weight: 700; color: rgba(14,17,24,0.473); }
.bx-cat-nav button:hover { background: rgba(14,17,24,0.07); border-color: rgba(14,17,24,0.28); }
.bx-cat-nav button.is-active,
.bx-cat-nav a.is-active { background: #C20000; border-color: #C20000; color: #fff !important; }
.bx-cat-nav button.is-active small,
.bx-cat-nav a.is-active small { color: rgba(255,255,255,0.85) !important; }
.bx-cat-nav button:focus-visible,
.bx-cat-nav a:focus-visible { outline: 2px solid #C20000; outline-offset: 2px; }
.bx-cat[hidden] { display: none; }
.bx-cat-empty { margin: clamp(30px, 5vw, 60px) 0; text-align: center; color: rgba(14,17,24,0.6); }
.bx-cat-link { margin-top: 14px; display: inline-flex; }

/* Single product */
.bx-single-product { padding-top: clamp(120px, 14vw, 170px); }
.bx-single-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; margin-top: clamp(20px, 3vw, 36px); }
.bx-single-img { border-radius: 28px; border: 1px solid rgba(14,17,24,0.09); background: #f3f4f7; }
.bx-single-copy { margin: 18px 0 26px; color: rgba(14,17,24,0.714); line-height: 1.8; }
.bx-single-product .bx-contact-cta { justify-content: flex-start; margin-top: 26px; }
@media (max-width: 860px) {
  .bx-single-grid { grid-template-columns: 1fr; }
}

/* ---- Touch targets (phones + tablets) ---- */
@media (max-width: 1024px) {
  .bx-pcard-pack { font-size: 11px; }
  .bx-spec td a { display: inline-block; padding: 4px 0; }
  .bx-pcard-body .bx-prod-cta,
  .bx-cat-link { padding: 9px 0; }
  .bx-info-card a { display: inline-block; padding: 4px 0; }
}
@media (max-width: 1024px) {
  .bx-crumb { gap: 6px; }
  .bx-crumb a { padding: 4px 0; }
}
