/* Bedrock Lubricants, round 2. Tokens from teardown/BLUEPRINT.md 1.4-1.6. One stylesheet. */
:root {
  --blue: #1F469C;
  --blue-dark: #15306E;
  --blue-hover: #1C3F8C;
  --red: #BE1E2D;
  --red-hover: #AB1B28;
  --ink: #1B1F27;
  --gray: #F2F2F2;
  --rule: #D9D9D9;
  --grid: #E6E6E6;
  --muted: #6B6F76;
  --zebra: #F7F7F7;
  --mapflat: #DDE3EA;
  --white: #FFFFFF;
  --display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Barlow", Arial, sans-serif;
  --gutter: 60px;
  --h1: clamp(40px, 4.45vw, 64px);
  --h1-inner: clamp(40px, 3.9vw, 56px);
  --h2: 40px;
  --h3: 24px;
  --util: 13px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.5; color: var(--ink); background: var(--white); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); }
p { margin: 0 0 12px; }
ul { margin: 0; }
h1, h2, h3, h4 { font-family: var(--display); text-transform: uppercase; letter-spacing: 0; margin: 0; line-height: 1; font-weight: 700; }
h1 { font-size: var(--h1); }
h1.inner { font-size: var(--h1-inner); }
h2 { font-size: var(--h2); line-height: 1.05; }
h3 { font-size: var(--h3); line-height: 1.1; }
h4 { font-size: 16px; font-weight: 600; }
.wrap { max-width: 1440px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
/* guard: sections that share the element with .wrap never use the padding shorthand, and keep the gutters here */
.wrap.pdp, .wrap.pdp-tables, .wrap.distributor { padding-left: var(--gutter); padding-right: var(--gutter); }
.muted { color: var(--muted); }
.eyebrow { font-family: var(--display); font-weight: 600; font-size: 14px; text-transform: uppercase; color: var(--blue); letter-spacing: 0; margin-bottom: 8px; }
.eyebrow.white { color: #fff; }
.textlink { font-family: var(--body); font-weight: 600; text-decoration: underline; color: var(--blue); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; width: 24px; height: 24px; flex: none; }

/* ---- buttons (1.6) ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; font-family: var(--display); font-weight: 700; font-size: 16px; line-height: 1; text-transform: uppercase; text-decoration: none; border: 0; border-radius: 0; cursor: pointer; white-space: nowrap; letter-spacing: 0; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-hover); }
.btn-secondary { background: var(--blue); color: #fff; }
.btn-secondary:hover { background: var(--blue-hover); }
.btn-outline { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-outline:hover { background: rgba(31, 70, 156, 0.08); }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-outline-white:hover { background: rgba(255, 255, 255, 0.12); }
.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { background: #E8E8E8; }
.btn-sm { height: 44px; padding: 0 20px; }
.btn-file { height: 36px; padding: 0 14px; font-size: 14px; }
.btn-file svg { width: 16px; height: 16px; }
.btn-file.pending { color: var(--muted); border-color: var(--rule); cursor: default; pointer-events: none; }
.btn-file.pending:hover { background: transparent; }
.btn-full { width: 100%; }

/* ---- utility strip (1.2) ---- */
.util { background: var(--blue); color: #fff; height: 36px; font-size: var(--util); line-height: 1; }
.util .wrap { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 16px; }
.util a, .util button { color: #fff; text-decoration: none; }
.util .left, .util .right { display: flex; align-items: center; gap: 20px; white-space: nowrap; }
.util .left span { display: inline-flex; align-items: center; gap: 6px; }
.util svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.util .dot { opacity: 0.6; }
.lang { display: inline-flex; align-items: center; gap: 6px; }
.lang button { background: none; border: 0; color: #fff; font: inherit; font-weight: 500; padding: 0; cursor: pointer; }
.lang button.on { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

/* ---- nav row (1.2) ---- */
.nav { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--rule); height: 64px; }
.nav .wrap { display: flex; align-items: center; height: 64px; gap: 24px; }
.nav .logo { display: block; flex: none; }
.nav .logo img { height: 44px; width: auto; }
.nav .menu { list-style: none; margin: 0 auto; padding: 0; display: flex; gap: 36px; height: 100%; }
.nav .menu > li { position: relative; display: flex; align-items: center; height: 100%; }
.nav .menu > li > a { font-family: var(--display); font-weight: 600; font-size: 18px; text-transform: uppercase; color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 6px; height: 100%; position: relative; }
.nav .menu > li > a svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nav .menu > li.current > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--red); }
.nav .dd { position: absolute; top: 100%; left: 0; width: 280px; background: #fff; border: 1px solid var(--rule); display: none; z-index: 60; padding: 0; margin: 0; list-style: none; }
.nav .has-dd:hover .dd, .nav .has-dd.open .dd { display: block; }
.nav .dd a { display: flex; align-items: center; height: 44px; padding: 0 16px; color: var(--ink); text-decoration: none; font-size: 15px; }
.nav .dd a:hover { background: var(--gray); }
.nav .dd li.sep { border-top: 1px solid var(--rule); }
.nav .dd li.subitem a { padding-left: 32px; font-size: 14px; color: var(--muted); height: 40px; }
.nav .tools { display: flex; align-items: center; gap: 16px; flex: none; }
.nav .search { display: flex; align-items: center; gap: 8px; }
.nav .search input { width: 0; opacity: 0; height: 36px; border: 1px solid var(--rule); padding: 0; font: inherit; font-size: 14px; transition: width 0.2s, opacity 0.2s, padding 0.2s; }
.nav .search.open input { width: 220px; opacity: 1; padding: 0 10px; }
.nav .iconbtn { background: none; border: 0; padding: 0; cursor: pointer; width: 24px; height: 24px; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.nav .iconbtn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nav .burger { display: none; }
.nav .burger svg { width: 24px; height: 24px; }

/* ---- drawer (1.7) ---- */
.scrim { position: fixed; inset: 0; background: rgba(27, 31, 39, 0.45); z-index: 90; display: none; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); background: #fff; z-index: 100; transform: translateX(100%); transition: transform 0.25s; border-left: 1px solid var(--rule); display: flex; flex-direction: column; overflow: auto; }
body.drawer-open .drawer { transform: none; }
body.drawer-open .scrim { display: block; }
.drawer .head { display: flex; align-items: center; justify-content: space-between; height: 60px; padding: 0 16px; border-bottom: 1px solid var(--rule); }
.drawer .head img { height: 32px; width: auto; }
.drawer .iconbtn { background: none; border: 0; padding: 0; cursor: pointer; width: 32px; height: 32px; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.drawer .iconbtn svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer > ul > li { border-bottom: 1px solid var(--rule); }
.drawer > ul > li > a, .drawer .dtoggle { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 0 16px; height: 56px; font-family: var(--display); font-weight: 600; font-size: 20px; text-transform: uppercase; color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; text-align: left; }
.drawer .dtoggle svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s; }
.drawer li.open .dtoggle svg { transform: rotate(180deg); }
.drawer .sub { display: none; background: var(--gray); }
.drawer li.open .sub { display: block; }
.drawer .sub a { display: block; padding: 12px 16px 12px 28px; font-size: 16px; color: var(--ink); text-decoration: none; border-top: 1px solid var(--rule); }
.drawer .sub li.subitem a { padding-left: 44px; font-size: 15px; color: var(--muted); }
.drawer .cta { margin: auto 16px 16px; padding-top: 24px; }
.drawer .cta .btn { width: 100%; }
.drawer .util2 { padding: 12px 16px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--rule); }

/* ---- footer (1.3) ---- */
.footer { background: var(--blue); color: #fff; padding: 72px 0; }
.footer .cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.footer h4 { font-size: 16px; font-weight: 600; margin-bottom: 14px; color: #fff; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin: 0 0 8px; font-size: 14px; }
.footer li.subitem { padding-left: 12px; opacity: 0.9; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer .blurb { font-size: 14px; margin-top: 16px; }
.footer .logo img { height: 40px; width: auto; }
.footer address { font-style: normal; font-size: 14px; line-height: 1.5; margin-bottom: 16px; }
.legal { background: var(--blue-dark); color: #fff; font-size: 12px; height: 40px; }
.legal .wrap { display: flex; justify-content: space-between; align-items: center; height: 100%; gap: 16px; }
.legal a { color: #fff; text-decoration: none; }
.legal .links { display: flex; gap: 8px; }

/* ---- bands and sections ---- */
.section { padding: 72px 0; }
.section.gray { background: var(--gray); }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.sec-head .desc { font-size: 16px; color: var(--muted); margin: 8px 0 0; }
.band-blue { background: var(--blue); color: #fff; text-align: center; min-height: 320px; display: flex; align-items: center; padding: 56px 0; }
.band-blue h2 { color: #fff; }
.band-blue p { font-size: 18px; margin: 16px auto 28px; max-width: 760px; }
.band-blue .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.band-line { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); min-height: 96px; display: flex; align-items: center; padding: 20px 0; }
.band-line .wrap { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; text-align: center; }
.band-line p { margin: 0; }
.band-line.gray { background: var(--gray); border: 0; }
.band-line.blue { background: var(--blue); color: #fff; border: 0; }
.band-line.blue h3 { color: #fff; margin-right: 12px; }
.band-line .pills { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.band-line .pills .btn { height: 40px; padding: 0 16px; font-size: 15px; }

/* ---- home: hero (2.1.2) ---- */
.hero { background: var(--blue-dark); color: #fff; position: relative; height: 560px; }
.hero .wrap { display: flex; align-items: stretch; justify-content: space-between; height: 100%; gap: 40px; }
/* flexible tracks: the copy gives way first, the stage is as wide as its lineup, the lineup scales with the viewport */
.hero .copy { flex: 1 1 640px; min-width: 0; display: flex; flex-direction: column; justify-content: center; padding-bottom: 48px; }
.hero h1 { color: #fff; }
.hero .sub { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.4; margin: 20px 0 28px; max-width: 600px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .stage { flex: 0 0 auto; max-width: 600px; display: flex; align-items: flex-end; justify-content: flex-end; padding-bottom: 64px; }
.hero .slot { position: absolute; top: 14px; right: 60px; font-size: 12px; color: #fff; opacity: 0.85; }
.lineup { --fam: clamp(160px, 17.4vw, 250px); display: flex; align-items: flex-end; gap: 10px; }
.lineup svg { width: auto; flex: none; }
.banner .lineup { --fam: clamp(140px, 15vw, 216px); justify-content: center; }
html[lang="es"] .hero h1 { font-size: clamp(36px, 3.75vw, 54px); }   /* the Spanish headline is longer; keeps its three lines */

/* ---- home: feature strip (2.1.3) ---- */
.features { margin-top: -48px; position: relative; z-index: 2; }
.features .cells { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border: 1px solid var(--rule); }
.features .cell { padding: 28px 32px; border-right: 1px solid var(--rule); display: flex; gap: 20px; align-items: flex-start; }
.features .cell:last-child { border-right: 0; }
.features .cell svg { width: 48px; height: 48px; color: var(--blue); flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.features h3 { font-size: 20px; font-weight: 600; }
.features p { font-size: 14px; margin: 4px 0 0; color: var(--muted); }

/* ---- home: categories (2.1.4) ---- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cat-card { display: block; text-decoration: none; color: var(--ink); }
.cat-card .panel { background: var(--gray); height: 260px; display: flex; align-items: center; justify-content: center; padding: 24px; }
.cat-card .panel svg { height: 100%; width: auto; max-width: 100%; }
.cat-card h3 { font-size: 20px; font-weight: 600; margin-top: 16px; }
.cat-card p { font-size: 14px; color: var(--muted); margin: 4px 0 8px; min-height: 42px; }
.cat-card .more { display: block; text-align: right; font-weight: 600; text-decoration: underline; color: var(--blue); }

/* ---- home: industries mosaic (2.1.5) ---- */
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; gap: 24px; }
.tile { position: relative; color: #fff; display: flex; align-items: center; justify-content: center; text-decoration: none; }
.tile.w2 { grid-column: span 2; }
.tile.blue { background: var(--blue); }
.tile.ink { background: var(--ink); }
.tile .picto { width: 160px; height: 96px; }
.tile .label { position: absolute; left: 24px; bottom: 20px; margin: 0; color: #fff; font-family: var(--display); font-weight: 700; font-size: 28px; text-transform: uppercase; line-height: 1; }
.tile .slot { position: absolute; right: 16px; top: 12px; font-size: 12px; opacity: 0.85; }

/* ---- home: featured product (2.1.6) ---- */
.featured { background: var(--gray); min-height: 420px; padding: 50px 0; display: flex; align-items: center; }
.featured .wrap { display: flex; align-items: center; gap: 60px; width: 100%; }
.featured .render { flex: none; }
.featured .render svg { height: 320px; width: auto; }
.featured ul { padding-left: 20px; margin: 16px 0 24px; }
.featured li { margin: 6px 0; }
.featured .actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.featured .note { width: 100%; font-size: 13px; color: var(--muted); margin: 0; }

/* ---- products: banner + toolbar (2.2.1-2) ---- */
.banner { background-color: var(--gray); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 48px 48px; min-height: 320px; padding-bottom: 36px; }
.banner .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 320px; gap: 40px; }
.banner .family { flex: 0 1 560px; min-width: 0; }
.banner .count { font-size: 16px; margin: 12px 0 0; color: var(--muted); }
.toolbar { margin-top: -36px; position: relative; z-index: 2; }
.toolbar .card { background: #fff; border: 1px solid var(--rule); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); padding: 20px 24px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.toolbar select, .search-card select { height: 48px; border: 1px solid var(--rule); padding: 0 12px; font: inherit; background: #fff; color: var(--ink); min-width: 240px; border-radius: 0; }
.q { display: flex; }
.q input { width: 400px; max-width: 100%; height: 48px; border: 1px solid var(--rule); border-right: 0; padding: 0 14px; font: inherit; border-radius: 0; }
.q button { width: 48px; height: 48px; background: var(--blue); border: 0; color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.q button:hover { background: var(--blue-hover); }
.q button svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.toolbar .count { margin-left: auto; font-size: 14px; color: var(--muted); }
.toolbar .count b { color: var(--ink); }

/* ---- products: jump strip (2.2.3) ---- */
.jump { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin: 40px 0 0; }
.jump a { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 10px; padding: 20px 12px; border-right: 1px solid var(--rule); text-decoration: none; font-family: var(--display); font-weight: 600; text-transform: uppercase; color: var(--blue); font-size: 16px; text-align: center; line-height: 1.1; }
.jump a:last-child { border-right: 0; }
.jump a:hover { background: var(--gray); }
.jump svg { height: 56px; width: auto; }

/* ---- products: sections, cards, matrix (2.2.4) ---- */
.psec { padding: 56px 0 24px; border-top: 1px solid var(--rule); }
.psec:first-of-type { border-top: 0; }
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin: 28px 0 40px; }
.prod-card { text-align: center; text-decoration: none; color: var(--ink); display: block; }
.prod-card .panel { background: var(--gray); height: 300px; display: flex; align-items: center; justify-content: center; padding: 28px; }
.prod-card .panel svg { height: 100%; width: auto; max-width: 100%; }
.prod-card h3 { font-family: var(--body); text-transform: none; font-size: 16px; font-weight: 700; margin-top: 14px; line-height: 1.3; }
.prod-card .line { font-size: 14px; color: var(--muted); margin: 4px 0; }
.prod-card .sizes { font-size: 13px; color: var(--muted); margin: 0; }
a.prod-card:hover h3 { text-decoration: underline; }
.table-wrap { overflow: auto; }
.swipe, .mshort { display: none; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { background: var(--blue); color: #fff; font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: 15px; padding: 12px 14px; text-align: left; border: 1px solid var(--blue); white-space: nowrap; }
.tbl td { padding: 11px 14px; border: 1px solid var(--rule); vertical-align: middle; }
.tbl tbody tr:nth-child(even) { background: var(--zebra); }
.tbl td.pn { font-weight: 600; white-space: nowrap; }
.tbl td.none { color: var(--muted); text-align: center; }
.tbl td.pic { width: 64px; }
.tbl td.pic svg { height: 48px; width: auto; margin: 0 auto; }
.caption { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* ---- product page (2.3) ---- */
.crumbs { font-size: 14px; color: var(--muted); border-bottom: 1px solid var(--rule); }
.crumbs .wrap { height: 40px; display: flex; align-items: center; gap: 8px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs .sep { opacity: 0.7; }
.crumbs .back { display: none; }
.pdp { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: clamp(32px, 6vw, 120px); padding-top: 32px; padding-bottom: 72px; }
.pdp .stage { background: var(--gray); width: 100%; max-width: 560px; height: auto; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; padding: 48px; }
.pdp .stage svg { height: 100%; width: auto; max-width: 100%; }
.pdp .thumbs { display: flex; gap: 12px; margin-top: 16px; }
.pdp .thumbs button { width: 88px; height: 88px; background: var(--gray); border: 1px solid transparent; cursor: pointer; padding: 10px; display: flex; align-items: center; justify-content: center; }
.pdp .thumbs button.on { border-color: var(--blue); }
.pdp .thumbs svg { height: 100%; width: auto; max-width: 100%; }
.pdp h1 { font-size: 48px; line-height: 1.02; }
.pdp h1 .b { color: var(--blue); white-space: nowrap; }
.pdp h1 .k { color: var(--ink); }
.plabel { font-family: var(--display); font-weight: 600; font-size: 14px; text-transform: uppercase; color: var(--muted); margin: 24px 0 8px; }
.tbl.matrix td:first-child { white-space: nowrap; }
.approvals { padding-left: 20px; font-size: 15px; }
.approvals li { margin: 4px 0; }
.files { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; align-items: center; }
.files .note { font-size: 13px; color: var(--muted); width: 100%; }
.pdp-tables { padding-bottom: 72px; }
.pdp-tables h3 { margin: 0 0 16px; }
.pdp-tables .block { margin-bottom: 48px; }

/* ---- data sheets (2.4) ---- */
.title-band { background: var(--gray); min-height: 260px; display: flex; align-items: center; text-align: center; padding: 40px 0; }
.title-band p { font-size: 18px; margin: 12px auto 0; max-width: 760px; }
.ds-sec { padding: 40px 0 8px; }
.ds-sec h2 { margin-bottom: 20px; }
.ds-card { display: flex; align-items: center; gap: 20px; background: var(--gray); border: 1px solid var(--rule); min-height: 112px; padding: 16px 20px; margin-bottom: 16px; }
.ds-card .pic { width: 56px; height: 64px; flex: none; display: flex; align-items: center; justify-content: center; }
.ds-card .pic svg { height: 64px; width: auto; max-width: 56px; }
.ds-card .info { flex: 1; min-width: 0; }
.ds-card .info h3 { font-family: var(--body); text-transform: none; font-size: 16px; font-weight: 700; line-height: 1.3; }
.ds-card .info h3 a { color: inherit; text-decoration: none; }
.ds-card .info h3 a:hover { text-decoration: underline; }
.ds-card .info p { font-size: 13px; color: var(--muted); margin: 4px 0 0; }
.ds-card .sub { width: 300px; flex: none; background: #fff; border: 1px solid var(--rule); padding: 10px 12px; }
.ds-card .sub .lbl { font-family: var(--display); font-weight: 600; font-size: 12px; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.ds-card .sub .btns { display: flex; gap: 8px; }
.ds-card .sub .btn { flex: 1; padding: 0 8px; }

/* ---- where to buy (2.5) ---- */
.locator-band { background: var(--blue); color: #fff; text-align: center; min-height: 360px; display: flex; align-items: center; padding: 48px 0 88px; }
.locator-band h1 { color: #fff; }
.locator-band p { font-size: 18px; margin: 16px 0 0; }
.search-card { margin-top: -48px; position: relative; z-index: 2; }
.search-card .card { background: #fff; border: 1px solid var(--rule); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); padding: 24px; display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.search-card label { display: block; font-size: 16px; font-weight: 600; }
.search-card .help { font-size: 14px; color: var(--muted); margin: 2px 0 8px; }
.search-card .card > div:first-child { flex: 1 1 360px; min-width: 0; }
.search-card .q input { width: 100%; flex: 1; }
.search-card .radius { display: flex; flex-direction: column; }
.search-card .radius span { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.search-card select { min-width: 150px; }
.search-card .status { width: 100%; font-size: 14px; color: var(--muted); margin: 4px 0 0; }
.maplist { display: grid; grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr); gap: 24px; margin: 40px 0 0; }
.mapbox { position: relative; height: 520px; background: var(--mapflat); }
#map { position: absolute; inset: 0; background: var(--mapflat); z-index: 1; }
.mapbox .mapbtns { position: absolute; top: 12px; right: 12px; z-index: 500; display: flex; gap: 6px; }
.mapbox .mapbtns button { height: 32px; padding: 0 12px; background: #fff; border: 1px solid var(--rule); font-family: var(--display); font-weight: 600; font-size: 14px; text-transform: uppercase; cursor: pointer; color: var(--blue); }
.mapbox .mapnote { position: absolute; left: 12px; top: 12px; z-index: 2; font-size: 12px; color: var(--muted); }
.dealers { overflow: auto; border: 1px solid var(--rule); height: 520px; }
.dealer { display: flex; gap: 14px; padding: 14px 16px; border-bottom: 1px solid var(--rule); }
.dealer:last-child { border-bottom: 0; }
.dealer .tile { width: 48px; height: 48px; flex: none; background: var(--blue); display: flex; align-items: center; justify-content: center; color: #fff; font-family: var(--display); font-weight: 700; font-size: 18px; }
.dealer .tile svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dealer .tile img { width: 36px; height: 36px; object-fit: contain; }
.dealer .role { font-size: 13px; color: var(--muted); margin: 0 0 4px; }
.dealer.sample .tile { background: #9AA0A6; }
.dealer h3 { font-family: var(--body); text-transform: none; font-size: 16px; font-weight: 700; line-height: 1.3; }
.dealer p { font-size: 14px; margin: 2px 0; }
.dealer .dist { color: var(--blue); font-weight: 600; }
.tag-sample { display: inline-block; border: 1px solid var(--muted); color: var(--muted); font-size: 12px; line-height: 1; padding: 3px 6px; text-transform: uppercase; font-family: var(--display); font-weight: 600; margin-left: 8px; vertical-align: middle; }
.leaflet-container { font-family: var(--body); }
.pin { width: 26px; height: 26px; background: var(--blue); border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45); display: flex; align-items: center; justify-content: center; color: #fff; font-family: var(--display); font-weight: 700; font-size: 13px; line-height: 1; }
.pin.hq { background: var(--red); width: 40px; height: 40px; }
.leaflet-container .leaflet-marker-pane .pin.hq img, .pin.hq img { width: 30px !important; height: 30px !important; object-fit: contain; }
.popup h4 { font-family: var(--body); text-transform: none; font-size: 15px; font-weight: 700; margin: 0 0 4px; }
.popup p { font-size: 13px; margin: 0; }

.distributor { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 60px; padding-top: 72px; padding-bottom: 72px; }
.distributor h2 { margin-bottom: 28px; }
.benefit { display: flex; gap: 20px; margin-bottom: 28px; }
.benefit .tile { width: 48px; height: 48px; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.benefit .tile svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.benefit h3 { font-size: 20px; font-weight: 600; }
.benefit p { font-size: 14px; color: var(--muted); margin: 4px 0 0; }
.form-card { background: #fff; border: 1px solid var(--rule); padding: 32px; }
.form-card .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-card label { display: block; font-size: 14px; font-weight: 600; margin: 0 0 6px; }
.form-card input, .form-card select, .form-card textarea { width: 100%; height: 48px; border: 1px solid var(--rule); padding: 0 12px; font: inherit; background: #fff; border-radius: 0; color: var(--ink); }
.form-card textarea { height: 120px; padding: 12px; resize: vertical; }
.form-card .field { margin-bottom: 16px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; font-size: 14px; }
.checks label { display: flex; align-items: center; gap: 8px; font-weight: 400; margin: 0; }
.checks input { width: 16px; height: 16px; margin: 0; }
.form-card .notice { font-size: 14px; margin: 12px 0 0; color: var(--blue); display: none; }
.form-card.sent .notice { display: block; }

/* ---- laptop 901-1100: 50 / 50 tracks on the product page and the distributor split (blueprint 2.3, 2.5) ----
   This block must stay BELOW the base .pdp / .distributor rules: at equal specificity the later rule wins, and when it
   sat above them (r2) the base 560px tracks overrode it at every laptop width. */
@media (min-width: 901px) and (max-width: 1100px) {
  .lineup { --fam: 150px; }
  .banner .lineup { --fam: 140px; }
  .distributor { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
  .pdp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
  .pdp h1 { font-size: 38px; }
}

/* ---- phone + tablet (1.7) ---- */
@media (max-width: 900px) {
  :root { --gutter: 16px; --h1: 40px; --h1-inner: 40px; --h2: 30px; --h3: 22px; --util: 12px; }
  .util { height: 32px; }
  .util .hide-m { display: none !important; }
  .nav { height: 60px; }
  .nav .wrap { height: 60px; gap: 12px; }
  .nav .logo img { height: 36px; }
  .nav .menu, .nav .cta { display: none; }
  .nav .burger { display: inline-flex; }
  .nav .search.open input { width: 140px; }
  .nav .tools { margin-left: auto; }
  .section { padding: 48px 0; }
  .hero { height: auto; min-height: 480px; }
  .hero .wrap { flex-direction: column; justify-content: flex-start; padding-top: 28px; gap: 20px; }
  /* flex: none on the stacked blocks: in the column layout the desktop flex-basis (640px copy, 560px family) would become the block's HEIGHT */
  .hero .stage { order: -1; width: 100%; justify-content: center; padding-bottom: 0; flex: none; }
  .lineup { --fam: 140px; gap: 8px; }   /* five packages = 2.21 x fam + 4 gaps, must fit 358px */
  .banner .lineup { --fam: 140px; }
  .hero .copy { width: 100%; padding-bottom: 80px; flex: none; }
  .hero .sub { font-size: 17px; }
  .hero .slot { right: 16px; top: 8px; }
  .features .cells { grid-template-columns: 1fr; }
  .features .cell { border-right: 0; border-bottom: 1px solid var(--rule); padding: 20px; }
  .features .cell:last-child { border-bottom: 0; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 24px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .cat-card .panel { height: 200px; }
  .mosaic { grid-template-columns: 1fr; grid-auto-rows: 180px; gap: 16px; }
  .tile .picto { width: 120px; height: 72px; }
  .tile.w2 { grid-column: span 1; }
  .tile .label { font-size: 24px; }
  .featured { min-height: 0; padding: 40px 0; }
  .featured .wrap { flex-direction: column; align-items: flex-start; gap: 24px; }
  .featured .render { align-self: center; }
  .featured .render svg { height: 240px; }
  .band-blue { min-height: 0; padding: 48px 0; }
  .footer { padding: 48px 0; }
  .footer .cols { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .legal { height: auto; padding: 10px 0; }
  .legal .wrap { flex-direction: column; gap: 4px; text-align: center; }
  .banner { min-height: 0; padding: 32px 0 60px; }
  .banner .wrap { flex-direction: column; align-items: flex-start; min-height: 0; gap: 24px; }
  .banner .family { width: 100%; max-width: 360px; align-self: center; flex: none; }
  .toolbar .card { padding: 16px; }
  .toolbar select { min-width: 0; width: 100%; }
  .q { width: 100%; }
  .q input { width: 100%; }
  .toolbar .count { margin-left: 0; }
  .jump { grid-template-columns: repeat(3, 1fr); }
  .jump a { border-bottom: 1px solid var(--rule); font-size: 14px; }
  .jump a:nth-child(3n) { border-right: 0; }
  .jump a:nth-last-child(-n+3) { border-bottom: 0; }
  .psec { padding: 40px 0 16px; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .prod-card .panel { height: 220px; padding: 20px; }
  /* tables scroll inside a bordered box (1.7): sticky product column, right-edge fade until scrolled to the end, swipe cue */
  .table-wrap { border: 1px solid var(--rule); overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .table-wrap.scrollable:not(.at-end):not(.no-scroll) { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 36px), rgba(0, 0, 0, 0.2)); mask-image: linear-gradient(90deg, #000 calc(100% - 36px), rgba(0, 0, 0, 0.2)); }
  .table-wrap .tbl.matrix { min-width: 560px; }
  .tbl th, .tbl td { padding: 9px 10px; font-size: 13px; }
  .tbl.matrix th:first-child, .tbl.matrix td:first-child { position: sticky; left: 0; z-index: 1; background: #fff; box-shadow: 1px 0 0 var(--rule); white-space: normal; min-width: 112px; max-width: 136px; }
  .tbl.matrix th:first-child { background: var(--blue); }
  .tbl.matrix tbody tr:nth-child(even) td:first-child { background: var(--zebra); }
  .mfull { display: none; }
  .mshort { display: inline; }
  .swipe { display: block; font-size: 13px; font-weight: 600; color: var(--blue); margin: 8px 0 0; }
  .table-wrap.no-scroll + .swipe { display: none; }
  .tbl.packs th, .tbl.packs td { white-space: normal; }
  .tbl.packs td.pn { white-space: nowrap; }
  .tbl.packs td.pic { width: 44px; padding: 6px; }
  .tbl.packs td.pic svg { height: 40px; }
  .crumbs .full { display: none; }
  .crumbs .back { display: inline; }
  .pdp { grid-template-columns: 1fr; gap: 32px; padding-top: 24px; padding-bottom: 48px; }
  .pdp .stage { width: 100%; height: auto; aspect-ratio: 1 / 1; padding: 32px; }
  .pdp .thumbs { flex-wrap: wrap; gap: 8px; }
  .pdp .thumbs button { width: 64px; height: 64px; padding: 8px; }
  .pdp h1 { font-size: 36px; }
  .pdp-tables { padding-bottom: 48px; }
  .title-band { min-height: 0; padding: 40px 0; }
  .title-band p { font-size: 16px; }
  .ds-card { flex-wrap: wrap; gap: 12px 16px; padding: 14px 16px; }
  .ds-card .info { flex-basis: calc(100% - 72px); }
  .ds-card .sub { width: calc(50% - 8px); }
  .locator-band { min-height: 0; padding: 40px 0 72px; }
  .search-card .card { padding: 16px; }
  .search-card .q input { width: 100%; }
  .search-card .q { width: 100%; }
  .search-card .radius { width: 100%; }
  .search-card select { width: 100%; }
  .maplist { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
  .mapbox { height: 300px; }
  .dealers { height: auto; max-height: none; }
  .distributor { grid-template-columns: 1fr; gap: 32px; padding-top: 48px; padding-bottom: 48px; }
  .form-card { padding: 20px; }
  .band-line .pills .btn { height: 36px; font-size: 14px; }
}
@media (max-width: 480px) {
  .nav .search.open input { width: 110px; }
  .hero .sub { font-size: 16px; }
  html[lang="es"] .hero h1 br { display: none; }   /* the Spanish lines outrun a 358px column: wrap naturally (four even lines) instead of five with orphans */
  .hero .actions .btn { width: 100%; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat-card .panel { height: 220px; }
  .prod-grid { grid-template-columns: 1fr; gap: 24px; }
  .prod-card .panel { height: 240px; }
  .jump { grid-template-columns: repeat(2, 1fr); }
  .jump a:nth-child(3n) { border-right: 1px solid var(--rule); }
  .jump a:nth-child(2n) { border-right: 0; }
  .jump a:nth-last-child(-n+3) { border-bottom: 1px solid var(--rule); }
  .jump a:nth-last-child(-n+2) { border-bottom: 0; }
  .footer .cols { grid-template-columns: 1fr; gap: 28px; }
  .ds-card .sub { width: 100%; }
  .form-card .row { grid-template-columns: 1fr; gap: 0; }
  .checks { grid-template-columns: 1fr; }
  .band-blue .actions .btn, .band-line .btn { width: 100%; }
  .band-line .pills .btn { width: auto; }
  .featured .actions .btn { flex: 1 1 auto; }
}

/* brand line: BUILT FOR EVERY LOAD. (approved 2026-11-12) */
.hero .eyebrow.white { color: #fff; opacity: .92; letter-spacing: .04em; margin-bottom: 10px; }
.prod-card .catch { font-family: var(--display); font-weight: 700; font-size: 14px; text-transform: uppercase; color: var(--blue); margin: 2px 0; }
.pdp .catch { font-family: var(--display); font-weight: 700; font-size: 18px; text-transform: uppercase; color: var(--blue); margin: 4px 0 14px; }
.footer .tagline { font-family: var(--display); font-weight: 700; font-size: 15px; text-transform: uppercase; color: #fff; margin: 10px 0 6px; }
