/* ==========================================================================
   MiGloves 3.0 — Factory identity (red / black / white)
   Loaded after theme.css. Every class starts with "fx-".
   Colours still come from Appearance > MiGloves Theme (preset "Factory Red & Black"):
   --mgs-acc = factory red, --mgs-dark = near-black, --mgs-bg = light grey.
   ========================================================================== */

.mgs {
  --fx-red: var(--mgs-acc);
  --fx-red-ink: var(--mgs-acc-ink);
  --fx-red-lt: #ff5a4f;            /* red text on black (AA) */
  --fx-ink: var(--mgs-dark);
  --fx-ink2: #18181b;
  --fx-grey: var(--mgs-bg);
  --fx-line: #e4e4e7;
  --fx-mut: #52525b;
  --fx-mut-d: #b4b4bc;             /* muted text on black (AA) */
  --fx-r: var(--mgs-r, 6px);
  --fx-gap: clamp(64px, 7.5vw, 112px);
  --fx-shadow: 0 18px 40px -24px rgba(0, 0, 0, .45);
}
.mgs-factory .mgs { color: #18181b; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- Skip link + top bar ---------- */
.fx-skip { position: absolute; left: 12px; top: -60px; z-index: 100000; background: var(--fx-red); color: #fff; padding: 10px 16px; font-weight: 600; border-radius: var(--fx-r); }
.fx-skip:focus { top: 12px; }
#mgs-content { display: block; height: 0; outline: 0; }

.fx-top { background: var(--fx-ink); color: var(--fx-mut-d); font-size: 12.5px; border-bottom: 3px solid var(--fx-red); }
.fx-top-in { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 38px; }
.fx-top-msg { display: flex; gap: 0; flex-wrap: nowrap; overflow: hidden; white-space: nowrap; margin: 0; letter-spacing: .02em; }
.fx-top-msg span { display: inline-flex; align-items: center; }
.fx-top-msg span + span::before { content: ""; width: 5px; height: 5px; background: var(--fx-red); margin: 0 14px; transform: rotate(45deg); }
.fx-top-msg span:first-child { color: #fff; font-weight: 600; }
.fx-top-c { display: flex; gap: 20px; margin: 0; flex: none; }
.fx-top-c a { display: inline-flex; align-items: center; gap: 7px; color: #fff; }
.fx-top-c a:hover { color: var(--fx-red-lt); }

/* ---------- Header + navigation ---------- */
.fx-hd { border-bottom: 1px solid var(--fx-line); }
.fx-hd .mgs-hb { height: 82px; gap: 26px; }
.fx-nav-w { flex: 1; display: flex; justify-content: center; }
.fx-nav > li > a, .fx-nav .mgs-n { font-size: 14.5px; font-weight: 600; letter-spacing: .01em; color: var(--fx-ink); display: inline-flex; align-items: center; gap: 6px; padding: 30px 13px; }
.fx-nav > li > a[aria-current="page"] { color: var(--fx-red-ink); }
.fx-nav > li > a::after, .fx-nav .mgs-n::after { bottom: 22px; height: 3px; transform: scaleX(0); left: 13px; right: 13px; }
.fx-nav > li:hover > a::after, .fx-nav > li:hover > .mgs-n::after, .fx-nav > li > a[aria-current="page"]::after, .fx-nav .mgs-has-mega.is-open > .mgs-n::after { transform: scaleX(1); }
.fx-nav .mgs-n svg { transition: transform .25s; }
.fx-nav .mgs-has-mega.is-open .mgs-n svg, .fx-nav .mgs-has-mega:hover .mgs-n svg { transform: rotate(180deg); }
.fx-nav .sub-menu { border-radius: var(--fx-r); border-top: 3px solid var(--fx-red); padding: 10px; min-width: 260px; }
.fx-nav .sub-menu a { font-size: 14px; font-weight: 500; padding: 10px 12px; }
.fx-hd-q { flex: none; }

.fx-mega { border-top: 3px solid var(--fx-red); }
.fx-mg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(240px, 1.15fr); gap: 0; padding-top: 0; padding-bottom: 0; }
.fx-mg-col { padding: 30px 26px 32px 0; border-right: 1px solid var(--fx-line); margin-right: 26px; }
.fx-mg-h { display: block; font-family: var(--mgs-hd); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--fx-ink); padding-bottom: 12px; margin-bottom: 10px; border-bottom: 2px solid var(--fx-ink); }
.fx-mg-h:hover { color: var(--fx-red-ink); border-color: var(--fx-red); }
.fx-mg ul { margin: 0; }
.fx-mg li a { display: flex; align-items: center; gap: 8px; padding: 7px 0; font-size: 14.5px; color: var(--fx-mut); transition: color .2s, transform .2s; }
.fx-mg li a::before { content: ""; width: 6px; height: 6px; border: 1.5px solid currentColor; transform: rotate(45deg); opacity: .5; flex: none; }
.fx-mg li a:hover { color: var(--fx-red-ink); transform: translateX(3px); }
.fx-mg li a:hover::before { background: var(--fx-red); border-color: var(--fx-red); opacity: 1; }
.fx-mg-side { margin: 22px 0 24px; padding: 24px; background: var(--fx-ink); color: var(--fx-mut-d); border-radius: var(--fx-r); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; position: relative; overflow: hidden; }
.fx-mg-side::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; background: repeating-linear-gradient(-45deg, rgba(255,255,255,.06) 0 2px, transparent 2px 12px); }
.fx-mg-k { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--fx-red-lt); font-weight: 600; }
.fx-mg-side b { color: #fff; font-family: var(--mgs-hd); font-size: 19px; line-height: 1.2; }
.fx-mg-side p { font-size: 13.5px; line-height: 1.5; margin: 0 0 6px; }
.fx-mg-all { color: #fff; font-size: 13px; font-weight: 600; margin-top: 4px; }
.fx-mg-all:hover { color: var(--fx-red-lt); }

/* ---------- Buttons ---------- */
.fx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--mgs-hd); font-weight: 600; font-size: 14.5px; letter-spacing: .01em; line-height: 1.2;
  padding: 14px 24px; min-height: 48px; border: 2px solid transparent; border-radius: var(--fx-r);
  white-space: nowrap; cursor: pointer; text-decoration: none;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.fx-btn span[aria-hidden] { transition: transform .2s; }
.fx-btn:hover span[aria-hidden] { transform: translateX(4px); }
.fx-btn--red { background: var(--fx-red); color: #fff; }
.fx-btn--red:hover { background: #b51d16; color: #fff; }
.fx-btn--dark { background: var(--fx-ink); color: #fff; }
.fx-btn--dark:hover { background: var(--fx-red); color: #fff; }
.fx-btn--line { border-color: var(--fx-ink); color: var(--fx-ink); background: transparent; }
.fx-btn--line:hover { background: var(--fx-ink); color: #fff; }
.fx-btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; background: transparent; }
.fx-btn--ghost:hover { background: #fff; color: var(--fx-ink); border-color: #fff; }
.fx-btn--wa { background: #0b7a3e; color: #fff; }
.fx-btn--wa:hover { background: #075e2f; color: #fff; }
.fx-btn--sm { padding: 10px 16px; min-height: 42px; font-size: 13.5px; }
.fx-btn--lg { padding: 17px 30px; min-height: 56px; font-size: 15.5px; }
.fx-btn[disabled] { opacity: .6; pointer-events: none; }
.fx-link { font-family: var(--mgs-hd); font-weight: 600; font-size: 14.5px; color: var(--fx-ink); display: inline-flex; align-items: center; gap: 8px; border-bottom: 2px solid var(--fx-red); padding-bottom: 3px; }
.fx-link::after { content: "→"; transition: transform .2s; }
.fx-link:hover { color: var(--fx-red-ink); }
.fx-link:hover::after { transform: translateX(4px); }
.fx-link--light { color: #fff; }
.fx-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 30px; }

/* ---------- Sections + headings ---------- */
.fx-sec { padding: var(--fx-gap) 0; position: relative; }
.fx-sec--grey { background: var(--fx-grey); }
.fx-dark { background: var(--fx-ink); color: var(--fx-mut-d); }
.fx-dark::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 48px 48px; pointer-events: none; }
.fx-dark > * { position: relative; }
.fx-dark .fx-h, .fx-dark h3 { color: #fff; }
.fx-dark .fx-sub { color: var(--fx-mut-d); }
.fx-dark .fx-eye { color: var(--fx-red-lt); }
.fx-head { margin-bottom: 44px; max-width: 760px; }
.fx-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap; max-width: none; }
.fx-head--split > div { max-width: 760px; }
.fx-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.fx-head--center .fx-eye { justify-content: center; }
.fx-head--center .fx-sub { margin-left: auto; margin-right: auto; }
.fx-eye { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mgs-hd); font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--fx-red-ink); }
.fx-eye::before { content: ""; width: 10px; height: 10px; background: currentColor; flex: none; }
.fx-eye--light { color: var(--fx-red-lt); }
.fx-h { font-family: var(--mgs-hd); font-weight: 800; font-size: clamp(28px, 3.3vw, 46px); line-height: 1.1; letter-spacing: -.02em; color: var(--fx-ink); margin: 14px 0 0; text-wrap: balance; }
.fx-h em { color: var(--fx-red-ink); font-style: normal; }
.fx-dark .fx-h em, .fx-final .fx-h em { color: var(--fx-red-lt); }
.fx-sub { margin: 16px 0 0; font-size: 17px; line-height: 1.65; color: var(--fx-mut); max-width: 62ch; }
.fx-center { text-align: center; margin-top: 36px; }
.fx-prose p { margin: 0 0 16px; font-size: 16.5px; line-height: 1.75; color: #3f3f46; }

/* ---------- Media (images + placeholder badge for editors) ---------- */
.fx-media { position: relative; margin: 0; overflow: hidden; background: #1c1c20; border-radius: var(--fx-r); }
.fx-media img { width: 100%; height: 100%; object-fit: cover; display: block; max-width: none; }
body.logged-in .fx-media:has(img[data-fx-ph])::after { content: "Placeholder · upload a real factory photo"; position: absolute; left: 10px; bottom: 10px; z-index: 3; font: 600 10.5px/1 system-ui, sans-serif; letter-spacing: .04em; text-transform: uppercase; background: #fde047; color: #111; padding: 6px 8px; border-radius: 3px; pointer-events: none; }

/* ==========================================================================
   1. Hero
   ========================================================================== */
.fx-hero { position: relative; background: var(--fx-ink); color: #fff; min-height: min(88vh, 860px); display: flex; overflow: hidden; isolation: isolate; }
.fx-hero-m { position: absolute; inset: 0; z-index: -2; }
.fx-hero-m img { width: 100%; height: 100%; object-fit: cover; max-width: none; }
.fx-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 10, 12, .96) 0%, rgba(10, 10, 12, .86) 42%, rgba(10, 10, 12, .45) 75%, rgba(10, 10, 12, .3) 100%), linear-gradient(0deg, rgba(10, 10, 12, .9) 0%, transparent 38%); }
.fx-hero::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--fx-red); z-index: 1; }
.fx-hero-in { width: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: 80px; padding-bottom: 40px; }
.fx-hero-c { max-width: 780px; }
.fx-pill { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22); padding: 9px 14px; border-radius: 3px; backdrop-filter: blur(4px); }
.fx-pill::before { content: ""; width: 8px; height: 8px; background: var(--fx-red); border-radius: 50%; box-shadow: 0 0 0 4px rgba(215, 38, 30, .3); }
.fx-hero-h { font-family: var(--mgs-hd); font-weight: 800; font-size: clamp(36px, 5.4vw, 74px); line-height: 1.02; letter-spacing: -.025em; text-transform: uppercase; color: #fff; margin: 24px 0 0; text-wrap: balance; }
.fx-hero-h em { color: var(--fx-red-lt); font-style: normal; display: block; }
.fx-hero-sub { font-family: var(--mgs-hd); font-size: clamp(17px, 1.6vw, 21px); font-weight: 600; color: #fff; margin: 22px 0 0; max-width: 46ch; padding-left: 16px; border-left: 3px solid var(--fx-red); }
.fx-hero-t { font-size: 16.5px; line-height: 1.7; color: #d4d4d8; margin: 16px 0 0; max-width: 60ch; }
.fx-hero-pts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 64px 0 0; border-top: 1px solid rgba(255, 255, 255, .2); }
.fx-hero-pts li { display: flex; align-items: center; gap: 14px; padding: 22px 20px 4px 0; font-family: var(--mgs-hd); font-weight: 600; font-size: 15px; color: #fff; }
.fx-hero-pts li + li { padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, .14); }
.fx-hero-pts b { color: var(--fx-red-lt); font-size: 13px; letter-spacing: .08em; }

/* ==========================================================================
   2. Intro + shared split layout
   ========================================================================== */
.fx-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.fx-split--rev > :first-child { order: 0; }
.fx-split--wide { grid-template-columns: .9fr 1.1fr; }
.fx-collage { position: relative; padding: 0 0 70px 0; }
.fx-collage-a { aspect-ratio: 4 / 3.4; }
.fx-collage-b { position: absolute; width: 52%; aspect-ratio: 4 / 3; right: -18px; bottom: 0; border: 8px solid #fff; box-shadow: var(--fx-shadow); }
.fx-loc { position: absolute; left: 20px; top: 20px; z-index: 2; display: inline-flex; gap: 8px; align-items: center; background: var(--fx-red); color: #fff; font-weight: 600; font-size: 13px; padding: 9px 14px; border-radius: 3px; }
.fx-intro .fx-prose { margin-top: 22px; }
.fx-ilist { display: grid; gap: 0; margin: 26px 0 0; border-top: 1px solid var(--fx-line); }
.fx-ilist li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--fx-line); }
.fx-ilist svg, .fx-checks svg { color: var(--fx-red); flex: none; margin-top: 2px; }
.fx-ilist b { display: block; font-family: var(--mgs-hd); font-weight: 600; font-size: 15.5px; color: var(--fx-ink); }
.fx-ilist span { display: block; font-size: 14.5px; color: var(--fx-mut); }

/* ==========================================================================
   3. Category cards
   ========================================================================== */
.fx-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.fx-cat { background: #fff; border: 1px solid var(--fx-line); border-radius: var(--fx-r); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.fx-cat:hover { box-shadow: var(--fx-shadow); transform: translateY(-4px); }
.fx-cat-im { display: block; aspect-ratio: 4 / 3.3; border-radius: 0; }
.fx-cat-im img { transition: transform .6s; }
.fx-cat:hover .fx-cat-im img { transform: scale(1.05); }
.fx-cat-im::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.45), transparent 55%); }
.fx-cat-n { position: absolute; left: 0; bottom: 0; z-index: 2; background: var(--fx-red); color: #fff; font-family: var(--mgs-hd); font-weight: 700; font-size: 15px; padding: 10px 14px; }
.fx-cat-b { padding: 24px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.fx-cat h3 { font-family: var(--mgs-hd); font-size: 20px; font-weight: 700; line-height: 1.2; }
.fx-cat h3 a:hover { color: var(--fx-red-ink); }
.fx-cat-b > p { margin: 10px 0 16px; font-size: 14.5px; line-height: 1.6; color: var(--fx-mut); }
.fx-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 20px; }
.fx-chips a { display: inline-block; font-size: 12.5px; font-weight: 500; padding: 6px 10px; border: 1px solid var(--fx-line); border-radius: 3px; color: #3f3f46; background: var(--fx-grey); transition: .2s; }
.fx-chips a:hover { border-color: var(--fx-red); color: var(--fx-red-ink); background: #fff; }
.fx-cat-bt { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fx-cat-bt .fx-btn { padding-left: 10px; padding-right: 10px; }

/* ==========================================================================
   4. Capabilities (dark)
   ========================================================================== */
.fx-caps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fx-cap { background: var(--fx-ink2); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--fx-r); overflow: hidden; display: flex; flex-direction: column; }
.fx-cap:first-child { grid-row: span 2; }
.fx-cap .fx-media { aspect-ratio: 16 / 10; border-radius: 0; }
.fx-cap:first-child .fx-media { aspect-ratio: auto; flex: 1; min-height: 260px; }
.fx-cap-b { padding: 20px 20px 22px; }
.fx-cap-n { font-family: var(--mgs-hd); color: var(--fx-red-lt); font-weight: 700; font-size: 13px; letter-spacing: .1em; }
.fx-cap h3 { font-family: var(--mgs-hd); font-size: 18px; font-weight: 700; margin: 6px 0 6px; }
.fx-cap p { font-size: 14px; line-height: 1.6; margin: 0; }

/* ==========================================================================
   5. Product cards (B2B, no prices)
   ========================================================================== */
.fx-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.fx-pc { background: #fff; border: 1px solid var(--fx-line); border-radius: var(--fx-r); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, border-color .25s; }
.fx-pc:hover { box-shadow: var(--fx-shadow); border-color: #d4d4d8; }
.fx-pc-im { display: block; aspect-ratio: 1; background: var(--fx-grey); overflow: hidden; }
.fx-pc-im img { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform .5s; }
.fx-pc:hover .fx-pc-im img { transform: scale(1.04); }
.fx-pc-im .mgs-pc-ph { display: grid; place-items: center; height: 100%; color: #d4d4d8; }
.fx-pc-im .mgs-pc-ph svg { width: 40%; }
.fx-pc-b { padding: 18px 18px 18px; display: flex; flex-direction: column; flex: 1; border-top: 3px solid transparent; transition: border-color .25s; }
.fx-pc:hover .fx-pc-b { border-top-color: var(--fx-red); }
.fx-pc-cat { font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--fx-red-ink); }
.fx-pc-t { font-family: var(--mgs-hd); font-size: 16.5px; font-weight: 700; line-height: 1.3; margin: 6px 0 0; color: var(--fx-ink); }
.fx-pc-t a:hover { color: var(--fx-red-ink); }
.fx-pc-b > p { font-size: 13.5px; line-height: 1.55; color: var(--fx-mut); margin: 8px 0 16px; }
.fx-pc-bt { margin-top: auto; display: grid; grid-template-columns: 1fr 1.25fr; gap: 8px; }
.fx-pc-bt .fx-btn { padding-left: 8px; padding-right: 8px; font-size: 13px; white-space: normal; text-align: center; }

/* ==========================================================================
   6. OEM
   ========================================================================== */
.fx-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 26px 0 0; }
.fx-checks li { display: flex; gap: 10px; font-size: 15px; line-height: 1.45; font-weight: 500; color: #27272a; }
.fx-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fx-stack .fx-media { aspect-ratio: 3 / 4; }
.fx-stack .fx-media:last-child { margin-top: 56px; }

/* ==========================================================================
   7. Process timeline
   ========================================================================== */
.fx-proc { display: grid; grid-template-columns: repeat(var(--fx-n, 7), minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: none; position: relative; }
.fx-proc::before { content: ""; position: absolute; left: 0; right: 0; top: calc(var(--fx-ph, 118px) + 1px); height: 2px; background: repeating-linear-gradient(90deg, var(--fx-red) 0 10px, transparent 10px 18px); }
.fx-step { position: relative; }
.fx-step .fx-media { aspect-ratio: 4 / 3; height: var(--fx-ph, 118px); width: 100%; }
.fx-step-n { position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; margin: -18px 0 0 14px; background: var(--fx-red); color: #fff; font-family: var(--mgs-hd); font-weight: 800; font-size: 16px; border: 4px solid #fff; border-radius: 50%; }
.fx-dark .fx-step-n { border-color: var(--fx-ink); }
.fx-step h3 { font-family: var(--mgs-hd); font-size: 16px; font-weight: 700; margin: 12px 0 6px; line-height: 1.25; }
.fx-step p { font-size: 13.5px; line-height: 1.55; color: var(--fx-mut); margin: 0; }
.fx-dark .fx-step p { color: var(--fx-mut-d); }
.fx-proc--4 { --fx-ph: 170px; }

/* ==========================================================================
   8. Materials (CSS textures, no fake photos)
   ========================================================================== */
.fx-mats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin: 0; }
.fx-mat > a, .fx-mat > div { display: flex; flex-direction: column; height: 100%; padding: 14px 14px 16px; background: var(--fx-ink2); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--fx-r); transition: border-color .2s, transform .2s; }
.fx-mat > a:hover { border-color: var(--fx-red); transform: translateY(-3px); }
.fx-mat-sw { display: block; height: 70px; border-radius: calc(var(--fx-r) - 2px); margin-bottom: 12px; background-color: #3a2a22; }
.fx-tex--leather .fx-mat-sw { background: radial-gradient(circle at 20% 30%, rgba(255,255,255,.08) 0 1px, transparent 2px) 0 0/7px 7px, radial-gradient(circle at 70% 60%, rgba(0,0,0,.25) 0 1.5px, transparent 2px) 0 0/9px 9px, linear-gradient(135deg, #6b4430, #3b2418); }
.fx-tex--knit .fx-mat-sw { background: repeating-linear-gradient(45deg, rgba(255,255,255,.1) 0 2px, transparent 2px 6px), repeating-linear-gradient(-45deg, rgba(0,0,0,.25) 0 2px, transparent 2px 6px), linear-gradient(135deg, #3f3f46, #1f1f23); }
.fx-tex--dots .fx-mat-sw { background: radial-gradient(circle, rgba(215,38,30,.9) 0 2.5px, transparent 3px) 0 0/12px 12px, linear-gradient(135deg, #27272a, #18181b); }
.fx-mat b { font-family: var(--mgs-hd); color: #fff; font-size: 15px; font-weight: 700; }
.fx-mat-t { font-size: 12.5px; line-height: 1.45; margin-top: 4px; color: var(--fx-mut-d); }
.fx-mats--light { grid-template-columns: repeat(2, 1fr); }
.fx-mats--light .fx-mat > a, .fx-mats--light .fx-mat > div { background: #fff; border-color: var(--fx-line); flex-direction: row; align-items: center; gap: 12px; padding: 10px; }
.fx-mats--light .fx-mat-sw { width: 44px; height: 44px; margin: 0; flex: none; }
.fx-mats--light .fx-mat b { color: var(--fx-ink); font-size: 14px; }

/* ==========================================================================
   9. Quality control
   ========================================================================== */
.fx-qc-im { aspect-ratio: 5 / 4.4; }
.fx-qcl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.fx-qcl li { display: flex; gap: 14px; align-items: flex-start; padding: 16px; background: var(--fx-grey); border-left: 3px solid var(--fx-red); border-radius: 0 var(--fx-r) var(--fx-r) 0; }
.fx-qcl li > span { font-family: var(--mgs-hd); font-weight: 800; color: var(--fx-red-ink); font-size: 14px; }
.fx-qcl b { display: block; font-family: var(--mgs-hd); font-weight: 700; font-size: 15px; color: var(--fx-ink); }
.fx-qcl small { display: block; font-size: 13.5px; color: var(--fx-mut); margin-top: 2px; }

/* ==========================================================================
   10. Industries + subcategory tiles
   ========================================================================== */
.fx-inds { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin: 0; }
.fx-subs { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin: 0; }
.fx-subs--3 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.fx-ind a { position: relative; display: block; aspect-ratio: 4 / 4.6; border-radius: var(--fx-r); overflow: hidden; background: #111; color: #fff; isolation: isolate; }
.fx-ind img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; max-width: none; }
.fx-ind a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10,10,12,.92) 8%, rgba(10,10,12,.2) 70%); transition: background .3s; }
.fx-ind a:hover img { transform: scale(1.06); }
.fx-ind a:hover::before { background: linear-gradient(0deg, rgba(160,20,14,.92) 8%, rgba(10,10,12,.2) 75%); }
.fx-ind-b { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.fx-ind-b b { font-family: var(--mgs-hd); font-size: 17px; font-weight: 700; line-height: 1.2; }
.fx-ind-b small { font-size: 12.5px; line-height: 1.4; color: #e4e4e7; }
.fx-subs .fx-ind a { aspect-ratio: 4 / 3.2; }

/* ==========================================================================
   11. Gallery
   ========================================================================== */
.fx-gal-f { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 28px; }
.fx-gal-f button { font: 600 13.5px/1 var(--mgs-hd); padding: 11px 16px; min-height: 42px; border: 1.5px solid var(--fx-line); border-radius: 3px; background: #fff; color: #3f3f46; cursor: pointer; transition: .2s; }
.fx-gal-f button:hover { border-color: var(--fx-ink); color: var(--fx-ink); }
.fx-gal-f button[aria-pressed="true"] { background: var(--fx-ink); border-color: var(--fx-ink); color: #fff; }
.fx-gal-g { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 12px; margin: 0; padding: 0; list-style: none; }
.fx-gal-g li:nth-child(6n+1) { grid-column: span 2; grid-row: span 2; }
.fx-gal-g li span { position: absolute; left: 12px; bottom: 12px; z-index: 2; background: rgba(10,10,12,.82); color: #fff; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 6px 9px; border-radius: 3px; }
.fx-gal-g li[hidden] { display: none !important; }

/* ==========================================================================
   12. Why (dark)
   ========================================================================== */
.fx-why-w { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
.fx-why-l .fx-media { margin-top: 34px; aspect-ratio: 4 / 3.2; }
.fx-why { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--fx-r); overflow: hidden; margin: 0; }
.fx-why li { background: var(--fx-ink); padding: 26px 24px; }
.fx-why li:last-child:nth-child(odd) { grid-column: span 2; }
.fx-why li > span { display: inline-block; font-family: var(--mgs-hd); font-weight: 800; color: var(--fx-red-lt); font-size: 13px; letter-spacing: .1em; }
.fx-why h3 { font-family: var(--mgs-hd); font-size: 17.5px; font-weight: 700; margin: 8px 0 6px; }
.fx-why p { font-size: 14.5px; line-height: 1.6; margin: 0; }

/* ==========================================================================
   13. Global supply
   ========================================================================== */
.fx-glob { background: #fff; overflow: hidden; }
.fx-glob::after { content: ""; position: absolute; right: -6%; top: 10%; width: 52%; height: 80%; background: radial-gradient(circle, rgba(24,24,27,.14) 1.4px, transparent 1.8px) 0 0/16px 16px; mask-image: radial-gradient(closest-side, #000 55%, transparent); -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent); pointer-events: none; z-index: 0; }
.fx-glob .mgs-wrap { position: relative; z-index: 1; }
.fx-glob .fx-btn { margin-top: 28px; }
.fx-mkts { display: grid; gap: 10px; margin: 0; }
.fx-mkts li { display: flex; gap: 18px; align-items: center; padding: 18px 22px; background: rgba(255, 255, 255, .92); border: 1px solid var(--fx-line); border-left: 4px solid var(--fx-ink); border-radius: var(--fx-r); transition: border-color .2s, transform .2s; }
.fx-mkts li:hover { border-left-color: var(--fx-red); transform: translateX(4px); }
.fx-mkt-n { font-family: var(--mgs-hd); font-weight: 800; color: var(--fx-red-ink); font-size: 14px; }
.fx-mkts b { display: block; font-family: var(--mgs-hd); font-weight: 700; font-size: 17px; color: var(--fx-ink); }
.fx-mkts small { display: block; font-size: 14px; color: var(--fx-mut); }

/* ==========================================================================
   14. Posts
   ========================================================================== */
.fx-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fx-post { background: #fff; border: 1px solid var(--fx-line); border-radius: var(--fx-r); overflow: hidden; display: flex; flex-direction: column; }
.fx-post-im { display: block; aspect-ratio: 16 / 9.5; border-radius: 0; }
.fx-post-b { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.fx-post-c { font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--fx-red-ink); }
.fx-post h3 { font-family: var(--mgs-hd); font-size: 18px; font-weight: 700; line-height: 1.3; margin: 8px 0 8px; }
.fx-post h3 a:hover { color: var(--fx-red-ink); }
.fx-post p { font-size: 14.5px; line-height: 1.6; color: var(--fx-mut); margin: 0 0 14px; }
.fx-post time { margin-top: auto; font-size: 13px; color: var(--fx-mut); }

/* ==========================================================================
   15. FAQ
   ========================================================================== */
.fx-faq-w { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.fx-faq-w > div:first-child .fx-btn { margin-top: 26px; }
.fx-faq details { border-bottom: 1px solid var(--fx-line); }
.fx-faq details:first-child { border-top: 1px solid var(--fx-line); }
.fx-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-family: var(--mgs-hd); font-weight: 600; font-size: 17px; color: var(--fx-ink); }
.fx-faq summary::-webkit-details-marker { display: none; }
.fx-faq summary::after { content: "+"; flex: none; width: 34px; height: 34px; display: grid; place-items: center; border: 1.5px solid var(--fx-line); border-radius: 3px; font-size: 20px; font-weight: 400; transition: .2s; }
.fx-faq details[open] summary::after { content: "−"; background: var(--fx-red); border-color: var(--fx-red); color: #fff; }
.fx-faq summary:hover { color: var(--fx-red-ink); }
.fx-faq details > p, .fx-faq-a { margin: 0; padding: 0 54px 22px 0; font-size: 15.5px; line-height: 1.7; color: #3f3f46; }
.fx-faq-a p { margin: 0 0 10px; }

/* ==========================================================================
   16. Final CTA
   ========================================================================== */
.fx-final { position: relative; isolation: isolate; color: #fff; padding: clamp(80px, 9vw, 130px) 0; overflow: hidden; background: var(--fx-ink); }
.fx-final-m { position: absolute; inset: 0; z-index: -2; }
.fx-final-m img { width: 100%; height: 100%; object-fit: cover; max-width: none; opacity: .5; }
.fx-final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(150, 18, 12, .95) 0%, rgba(120, 14, 10, .88) 40%, rgba(10, 10, 12, .9) 100%); }
.fx-final-in { text-align: center; max-width: 900px; }
.fx-final .fx-eye { justify-content: center; }
.fx-final .fx-h { color: #fff; font-size: clamp(30px, 4vw, 54px); }
.fx-final .fx-h em { color: #fff; }
.fx-final .fx-sub { color: #f4f4f5; margin-left: auto; margin-right: auto; font-size: 18px; }
.fx-final .fx-cta { justify-content: center; }
.fx-final .fx-btn--red { background: #fff; color: var(--fx-ink); }
.fx-final .fx-btn--red:hover { background: var(--fx-ink); color: #fff; }
.fx-final--compact { padding: clamp(64px, 7vw, 100px) 0; }
.fx-home + .mgs-ft, .fx-land + .mgs-ft { margin-top: 0; }
.fx-home + .mgs-ft .fx-ft-cta, .fx-land + .mgs-ft .fx-ft-cta { display: none; }
.mgs-factory .mgs-wa { left: auto; right: 22px; }

/* ==========================================================================
   Category landing pages
   ========================================================================== */
.fx-lhero { position: relative; isolation: isolate; color: #fff; background: var(--fx-ink); padding: 34px 0 0; overflow: hidden; }
.fx-lhero-m { position: absolute; inset: 0; z-index: -2; }
.fx-lhero-m img { width: 100%; height: 100%; object-fit: cover; max-width: none; }
.fx-lhero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,10,12,.95) 0%, rgba(10,10,12,.82) 50%, rgba(10,10,12,.4) 100%); }
.fx-lhero::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--fx-red); }
.fx-lhero-in { padding-top: 26px; padding-bottom: 64px; }
.fx-lhero-in > * { max-width: 760px; }
.fx-lhero .fx-pill { margin-top: 26px; }
.fx-lhero-h { font-family: var(--mgs-hd); font-weight: 800; font-size: clamp(34px, 4.6vw, 62px); line-height: 1.05; letter-spacing: -.02em; text-transform: uppercase; color: #fff; margin: 20px 0 0; }
.fx-lhero-t { font-size: 17.5px; line-height: 1.7; color: #e4e4e7; margin: 18px 0 0; }
.fx-facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 auto; border-top: 1px solid rgba(255,255,255,.18); }
.fx-facts li { display: flex; gap: 10px; align-items: center; padding: 20px 16px 22px 0; font-family: var(--mgs-hd); font-weight: 600; font-size: 14.5px; }
.fx-facts li + li { padding-left: 18px; border-left: 1px solid rgba(255,255,255,.12); }
.fx-facts svg { color: var(--fx-red-lt); flex: none; }

.fx-bc ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 13px; }
.fx-bc li { display: inline-flex; align-items: center; gap: 6px; color: var(--fx-mut); }
.fx-bc li + li::before { content: "/"; opacity: .5; }
.fx-bc a { color: inherit; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; }
.fx-bc a:hover { color: var(--fx-red-ink); text-decoration-color: currentColor; }
.fx-bc [aria-current] { color: var(--fx-ink); font-weight: 600; }
.fx-bc--light li, .fx-bc--light [aria-current] { color: #e4e4e7; }
.fx-bc--light a:hover { color: #fff; }
.mgs-ph .fx-bc { margin-bottom: 14px; }
.mgs-cban .fx-bc { margin-bottom: 18px; }

.fx-lbody { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.fx-prose--page { font-size: 16.5px; line-height: 1.75; color: #3f3f46; }
.fx-prose--page > * + * { margin-top: 1.1em; }
.fx-prose--page h2 { font-family: var(--mgs-hd); font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; line-height: 1.2; color: var(--fx-ink); margin-top: 1.8em; letter-spacing: -.01em; }
.fx-prose--page h2:first-child { margin-top: 0; }
.fx-prose--page h3 { font-family: var(--mgs-hd); font-size: 20px; font-weight: 700; color: var(--fx-ink); margin-top: 1.5em; }
.fx-prose--page ul { list-style: none; padding: 0; }
.fx-prose--page ul li { position: relative; padding-left: 22px; margin: 8px 0; }
.fx-prose--page ul li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; background: var(--fx-red); transform: rotate(45deg); }
.fx-prose--page ol { padding-left: 1.3em; }
.fx-prose--page a { color: var(--fx-red-ink); text-decoration: underline; text-underline-offset: 3px; }
.fx-prose--page img { border-radius: var(--fx-r); height: auto; }
.fx-prose--page table { width: 100%; border-collapse: collapse; font-size: 15px; }
.fx-prose--page th, .fx-prose--page td { border: 1px solid var(--fx-line); padding: 10px 12px; text-align: left; }
.fx-prose--page th { background: var(--fx-ink); color: #fff; }
.fx-side { position: sticky; top: 110px; display: grid; gap: 16px; }
.admin-bar .fx-side { top: 142px; }
.fx-side-q { background: var(--fx-ink); color: var(--fx-mut-d); padding: 26px; border-radius: var(--fx-r); border-top: 4px solid var(--fx-red); display: grid; gap: 10px; }
.fx-side-q .fx-btn { width: 100%; }
.fx-side-h { font-family: var(--mgs-hd); font-size: 21px; font-weight: 700; color: #fff; line-height: 1.25; margin: 0; }
.fx-side-q p { margin: 0; font-size: 14px; line-height: 1.6; }
.fx-side-n { border: 1px solid var(--fx-line); border-radius: var(--fx-r); padding: 20px; }
.fx-side-t { margin: 0 0 8px; font-family: var(--mgs-hd); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.fx-side-n ul { margin: 0; }
.fx-side-n a { display: block; padding: 8px 0; font-size: 14.5px; color: var(--fx-mut); border-bottom: 1px solid var(--fx-line); }
.fx-side-n li:last-child a { border-bottom: 0; }
.fx-side-n a:hover, .fx-side-n a[aria-current] { color: var(--fx-red-ink); }
.fx-side-n a[aria-current] { font-weight: 600; }
.fx-spec { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 20px; }
.fx-spec-c { border: 1px solid var(--fx-line); border-radius: var(--fx-r); padding: 26px; border-top: 4px solid var(--fx-ink); }
.fx-spec-c h3 { font-family: var(--mgs-hd); font-size: 18px; font-weight: 700; color: var(--fx-ink); margin-bottom: 18px; }
.fx-spec .fx-checks { grid-template-columns: 1fr; margin: 0; }
.fx-apps { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.fx-apps li { font-size: 14px; font-weight: 500; padding: 9px 13px; background: var(--fx-grey); border-radius: 3px; }

/* ==========================================================================
   RFQ form
   ========================================================================== */
.fx-qm { width: min(760px, 100%); border-radius: var(--fx-r); }
.fx-qm-h { background: var(--fx-ink); color: var(--fx-mut-d); padding: 24px 26px; align-items: flex-start; border-bottom: 4px solid var(--fx-red); }
.fx-qm-h h2 { font-family: var(--mgs-hd); color: #fff; font-size: 24px; font-weight: 800; margin: 6px 0 6px; }
.fx-qm-h p { margin: 0; font-size: 14px; line-height: 1.55; max-width: 56ch; }
.fx-qm-k { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--fx-red-lt); }
.fx-qm-h .mgs-x { color: #fff; }
.fx-rfq { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; padding: 24px 26px 26px; }
.fx-f { display: grid; gap: 6px; min-width: 0; margin: 0; border: 0; padding: 0; }
.fx-f--full { grid-column: 1 / -1; }
.fx-f > label, .fx-chk legend { font-size: 13px; font-weight: 600; color: var(--fx-ink); padding: 0; }
.fx-f abbr { color: var(--fx-red-ink); text-decoration: none; border: 0; }
.fx-rfq :is(input[type=text], input[type=email], input[type=tel], select, textarea) { width: 100%; font: inherit; font-size: 16px; color: var(--fx-ink); background: #fff; border: 1.5px solid #d4d4d8; border-radius: var(--fx-r); padding: 11px 13px; min-height: 48px; outline: 0; transition: border-color .2s, box-shadow .2s; }
.fx-rfq textarea { min-height: 110px; resize: vertical; }
.fx-rfq :is(input, select, textarea):focus { border-color: var(--fx-ink); box-shadow: 0 0 0 3px rgba(215, 38, 30, .18); }
.fx-rfq .is-bad { border-color: #c81e1e !important; background: #fff6f6 !important; }
.fx-chk { display: flex; flex-wrap: wrap; gap: 8px; }
.fx-chk legend { margin-bottom: 8px; width: 100%; }
.fx-chk label { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; padding: 9px 12px; border: 1.5px solid var(--fx-line); border-radius: 3px; cursor: pointer; min-height: 42px; }
.fx-chk label:has(input:checked) { border-color: var(--fx-red); background: #fff5f4; }
.fx-chk input { accent-color: var(--fx-red); width: 16px; height: 16px; }
.fx-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fx-rfq-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 4px; }
.fx-rfq-sub small { color: var(--fx-mut); font-size: 12.5px; }
.fx-msg { padding: 14px 16px; border-radius: var(--fx-r); font-size: 14.5px; line-height: 1.5; background: #ecfdf3; color: #05603a; border: 1px solid #a6f4c5; outline: 0; }
.fx-msg.is-error { background: #fef3f2; color: #b42318; border-color: #fecdca; }
.fx-rfq-inline { border: 1px solid var(--fx-line); border-top: 4px solid var(--fx-red); border-radius: var(--fx-r); background: #fff; }

/* ==========================================================================
   Footer + mobile menu
   ========================================================================== */
.mgs-factory .mgs-ft { background: #0a0a0b; border-top: 4px solid var(--fx-red); }
.fx-ft-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px 32px; flex-wrap: wrap; padding: 0 0 44px; margin-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.fx-ft-cta b { display: block; font-family: var(--mgs-hd); font-size: clamp(20px, 2vw, 26px); color: #fff; font-weight: 700; }
.fx-ft-cta span { color: var(--fx-mut-d); }
.fx-ft-cta-b { display: flex; gap: 10px; flex-wrap: wrap; }
.fx-ft-h { font-family: var(--mgs-hd); font-weight: 700; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin: 0 0 16px; padding-bottom: 10px; border-bottom: 2px solid var(--fx-red); display: inline-block; }
.mgs-factory .mgs-ft a:hover { color: #fff; }
.mgs-factory .mgs-ft .mgs-cp a { text-decoration: underline; }
.fx-dr-nav > li { border-bottom: 1px solid var(--fx-line); }
.fx-dr-nav > li > a, .fx-dr-nav summary { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; font-family: var(--mgs-hd); font-weight: 600; font-size: 16px; cursor: pointer; list-style: none; }
.fx-dr-nav summary::-webkit-details-marker { display: none; }
.fx-dr-nav summary::after { content: "+"; font-size: 20px; color: var(--fx-red-ink); }
.fx-dr-nav details[open] > summary::after { content: "−"; }
.fx-dr-g { padding: 0 0 12px 12px; border-left: 2px solid var(--fx-red); margin: 0 0 12px; }
.fx-dr-h { display: block; font-weight: 700; font-size: 14px; padding: 6px 0; }
.fx-dr-g ul, .fx-dr-nav details > ul { margin: 0 0 6px; }
.fx-dr-g li a, .fx-dr-nav details > ul a { display: block; padding: 7px 0; font-size: 14.5px; color: var(--fx-mut); }
.fx-dr-all { display: inline-block; font-weight: 600; font-size: 14px; padding: 4px 0 14px; color: var(--fx-red-ink); }
.mgs-dr-b > .fx-btn { width: 100%; margin: 18px 0; }

/* ==========================================================================
   Existing pages: bring the theme's own banners into the factory look
   ========================================================================== */
.mgs-factory .mgs-cban { border-radius: 0; margin: 0; }
.mgs-factory .mgs-cban::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--fx-red); }
.mgs-factory .mgs-btn { border-radius: var(--fx-r); }
.mgs-factory .mgs-mbar .fx-btn { min-height: 46px; padding: 10px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1280px) {
  .fx-nav > li > a, .fx-nav .mgs-n { padding-left: 9px; padding-right: 9px; font-size: 14px; }
  .fx-mats { grid-template-columns: repeat(4, 1fr); }
  .fx-inds { grid-template-columns: repeat(4, 1fr); }
  .fx-proc { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 34px; }
  .fx-proc::before { display: none; }
}
@media (max-width: 1100px) {
  .fx-top-c { display: none; }
  .fx-top-x { display: none !important; }
  .fx-hd .mgs-hb { height: 70px; }
  .fx-nav-w { display: none; }
  .fx-cats, .fx-grid { grid-template-columns: repeat(2, 1fr); }
  .fx-caps { grid-template-columns: repeat(2, 1fr); }
  .fx-cap:first-child { grid-row: auto; grid-column: span 2; }
  .fx-cap:first-child .fx-media { aspect-ratio: 16 / 8; flex: none; min-height: 0; }
  .fx-split, .fx-split--wide, .fx-why-w, .fx-faq-w, .fx-lbody { grid-template-columns: 1fr; }
  .fx-hero-pts { grid-template-columns: repeat(2, 1fr); }
  .fx-hero-pts li:nth-child(3) { border-left: 0; padding-left: 0; }
  .fx-posts { grid-template-columns: 1fr 1fr; }
  .fx-spec { grid-template-columns: 1fr 1fr; }
  .fx-spec-c:first-child { grid-column: span 2; }
  .fx-side { position: static; grid-template-columns: 1fr 1fr; }
  .fx-facts { grid-template-columns: repeat(2, 1fr); }
  .fx-facts li:nth-child(3) { border-left: 0; padding-left: 0; }
  .fx-collage { max-width: 640px; }
}
@media (max-width: 760px) {
  .fx-sec { padding: 64px 0; }
  .fx-head { margin-bottom: 30px; }
  .fx-hero { min-height: 0; }
  .fx-hero::before { background: linear-gradient(0deg, rgba(10,10,12,.96) 30%, rgba(10,10,12,.7) 100%); }
  .fx-hero-in { padding-top: 48px; padding-bottom: 28px; }
  .fx-hero-h { font-size: clamp(30px, 8.6vw, 40px); }
  .fx-hero-pts { margin-top: 36px; }
  .fx-hero-pts li { padding: 14px 10px 14px 0; font-size: 13.5px; }
  .fx-cta .fx-btn { width: 100%; }
  .fx-cats { grid-template-columns: 1fr; }
  .fx-grid { gap: 10px; }
  .fx-pc-b { padding: 14px 12px; }
  .fx-pc-b > p { display: none; }
  .fx-pc-bt { grid-template-columns: 1fr; margin-top: 12px; }
  .fx-hd-q { display: none; }
  .fx-caps { grid-template-columns: 1fr; }
  .fx-cap:first-child { grid-column: auto; }
  .fx-cap .fx-media, .fx-cap:first-child .fx-media { aspect-ratio: 16 / 7; }
  .fx-checks, .fx-qcl, .fx-why { grid-template-columns: 1fr; }
  .fx-why li:last-child:nth-child(odd) { grid-column: auto; }
  .fx-stack .fx-media:last-child { margin-top: 28px; }
  .fx-proc { grid-template-columns: 1fr; gap: 0; }
  .fx-step { display: grid; grid-template-columns: 96px 1fr; column-gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--fx-line); }
  .fx-dark .fx-step { border-color: rgba(255,255,255,.1); }
  .fx-step .fx-media { grid-row: span 3; height: 80px; width: 96px; aspect-ratio: auto; }
  .fx-step-n { margin: 0; width: 30px; height: 30px; font-size: 13px; border-width: 0; }
  .fx-step h3 { margin: 6px 0 4px; }
  .fx-mats { grid-template-columns: repeat(2, 1fr); }
  .fx-inds { grid-template-columns: repeat(2, 1fr); }
  .fx-ind a { aspect-ratio: 4 / 4.4; }
  .fx-ind-b { padding: 12px; }
  .fx-ind-b b { font-size: 15px; }
  .fx-gal-f { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; }
  .fx-gal-f button { flex: none; }
  .fx-gal-g { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .fx-posts { grid-template-columns: 1fr; }
  .fx-collage-b { right: 0; border-width: 5px; }
  .fx-faq details > p, .fx-faq-a { padding-right: 0; }
  .fx-rfq { grid-template-columns: 1fr; padding: 18px; }
  .fx-qm-h { padding: 18px; }
  .fx-spec, .fx-side { grid-template-columns: 1fr; }
  .fx-spec-c:first-child { grid-column: auto; }
  .fx-facts { grid-template-columns: 1fr 1fr; }
  .fx-facts li { font-size: 13px; padding: 14px 8px 14px 0; }
  .fx-facts li + li { padding-left: 10px; }
  .fx-ft-cta-b .fx-btn { flex: 1; }
  .mgs-factory .mgs-wa { right: 14px; left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .fx-cat, .fx-pc, .fx-ind img, .fx-cat-im img, .fx-pc-im img, .fx-mkts li { transition: none !important; transform: none !important; }
}

/* RFQ inside the old popup shell: undo the legacy .mgs-qm label styles */
.mgs .fx-rfq .fx-f > label { display: block; text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 600; color: var(--fx-ink); }
.mgs .fx-rfq .fx-chk label { display: inline-flex; text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 500; color: #27272a; }
.mgs .fx-rfq small { text-align: left; }

/* ==========================================================================
   Glove Manufacturer page
   ========================================================================== */
.fx-gm-cats { grid-template-columns: repeat(4, 1fr); }
.fx-gm-cats .fx-ind a { aspect-ratio: 4 / 4.8; }
.fx-cmp { max-width: 1060px; margin: 0 auto; border: 1px solid var(--fx-line); border-radius: var(--fx-r); overflow: hidden; }
.fx-cmp-r { display: grid; grid-template-columns: 1fr 1.4fr 1.4fr; }
.fx-cmp-r > * { padding: 16px 20px; border-top: 1px solid var(--fx-line); display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; }
.fx-cmp-hd > * { background: var(--fx-ink); color: #fff; font-family: var(--mgs-hd); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; border-top: 0; }
.fx-cmp-hd > :nth-child(2) { background: var(--fx-red); }
.fx-cmp-r b { font-family: var(--mgs-hd); color: var(--fx-ink); background: var(--fx-grey); }
.fx-cmp-y { background: #fff8f7; color: #27272a; font-weight: 500; }
.fx-cmp-y svg { color: var(--fx-red); flex: none; margin-top: 2px; }
.fx-cmp-n { color: var(--fx-mut); }
.fx-cmp-n svg { color: #a1a1aa; flex: none; margin-top: 3px; }
.fx-vid { display: block; width: 100%; aspect-ratio: 16 / 7.5; border: 0; padding: 0; cursor: pointer; }
.fx-vid::after { content: ""; position: absolute; inset: 0; background: rgba(10, 10, 12, .45); transition: background .3s; }
.fx-vid:hover::after { background: rgba(10, 10, 12, .25); }
.fx-vid-p { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 86px; height: 86px; border-radius: 50%; background: var(--fx-red); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 12px rgba(215, 38, 30, .25); transition: transform .3s; }
.fx-vid:hover .fx-vid-p { transform: translate(-50%, -50%) scale(1.08); }
@media (max-width: 1100px) { .fx-gm-cats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  .fx-cmp-hd { display: none; }
  .fx-cmp-r { grid-template-columns: 1fr; }
  .fx-cmp-r > * { padding: 10px 14px; border-top: 0; }
  .fx-cmp-r b { border-top: 1px solid var(--fx-line); padding-top: 14px; }
  .fx-cmp-y, .fx-cmp-n { flex-wrap: wrap; row-gap: 2px; }
  .fx-cmp-y::before, .fx-cmp-n::before { flex-basis: 100%; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; }
  .fx-cmp-y::before { content: "Mi-Gloves"; font-weight: 700; color: var(--fx-red-ink); }
  .fx-cmp-n::before { content: "Trading company"; font-weight: 600; }
  .fx-vid { aspect-ratio: 16 / 10; }
  .fx-vid-p { width: 64px; height: 64px; }
}
