/* jj.supply · new look (sample, 2026-12-01). Every colour is a token below: light first, dark after.
   Colours and fonts from the brand kit (2026-12-03, rediseno/marca-antigravity): Precision Crimson, Heritage Maroon,
   Laser Crimson (dark), Architectural Obsidian, Carbide Steel, Warm Titanium; Plus Jakarta Sans, Space Grotesk, JetBrains Mono. */
:root {
  --wine: #9b1c31;
  --wine-strong: #7d1627; /* hover: darker crimson (Heritage Maroon #8a2b3e was too close to the main colour) */
  --wine-soft: #f8eaed;
  --bg: #ffffff;
  --bg-soft: #f4f4f6;
  --card: #ffffff;
  --ink: #111318;
  --muted: #5a5f6b;
  --line: #e2e4e9;
  --field-line: #868b96;
  --ok: #1e7e34;
  --err: #b3261e;
  --media: #000000;
  --focus: #1f6feb;
  --btn-ink: #ffffff;
  --on-wine: #ffffff;
  --on-wine-muted: rgba(255, 255, 255, .86);
  --on-wine-tint: rgba(255, 255, 255, .1);
  --on-wine-line: rgba(255, 255, 255, .18);
  --on-wine-hover: #f6e4e8;
  --focus-on-wine: #ffffff;
  --scrim: rgba(0, 0, 0, .55);
  --link: var(--wine);
  --shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 8px 24px rgba(0, 0, 0, .06);
  /* logo */
  --logo: var(--wine);
  --logo-gap: var(--bg);
  --logo-ink: var(--ink);
  --logo-on: #ffffff;
  /* drawings of the products */
  --ill-oak: #d9b38c;
  --ill-oak-2: #c49a70;
  --ill-gray: #c9c9ce;
  --ill-gray-2: #9c9ca3;
  --ill-white: #f4f4f6;
  --ill-line: #2a2f3a;
  --radius: 16px;
  --radius-s: 10px;
  --wrap: 1280px;
  --pad: 24px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Space Grotesk", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --font-logo: "Archivo", "Space Grotesk", system-ui, sans-serif; /* logo A wordmark only (loaded with just its 7 letters) */
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --wine-soft: #2b161c; --bg: #111318; --bg-soft: #171a20; --card: #1c2028; --ink: #f4f4f6; --muted: #a3a8b4;
    --line: #2a2f3a; --field-line: #6e7480; --ok: #5cd38a; --err: #ff8a80; --focus: #6ea8ff; --link: #f27d92; --logo: #d92b4b; --logo-on: #ffffff;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);
    --ill-oak: #b8916c; --ill-oak-2: #9c7754; --ill-gray: #6e6e76; --ill-gray-2: #8d8d95; --ill-white: #d9dbe0; --ill-line: #e9e9ee;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --wine-soft: #2b161c; --bg: #111318; --bg-soft: #171a20; --card: #1c2028; --ink: #f4f4f6; --muted: #a3a8b4;
  --line: #2a2f3a; --field-line: #6e7480; --ok: #5cd38a; --err: #ff8a80; --focus: #6ea8ff; --link: #f27d92; --logo: #d92b4b; --logo-on: #ffffff;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);
  --ill-oak: #b8916c; --ill-oak-2: #9c7754; --ill-gray: #6e6e76; --ill-gray-2: #8d8d95; --ill-white: #d9dbe0; --ill-line: #e9e9ee;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--font); word-spacing: .06em; } /* Plus Jakarta Sans sets words tight */
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3 { text-wrap: balance; font-family: var(--font-head); font-weight: 700; line-height: 1.1; margin: 0; letter-spacing: -.02em; word-spacing: normal; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.sr:focus { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 600; }
.sr:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- logo lockups ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand .mark { width: 38px; height: 38px; flex: none; }
.brand .wm { font-family: var(--font-logo); white-space: nowrap; }
.wm-a { font-weight: 800; font-stretch: 112%; letter-spacing: .07em; font-size: 18px; color: var(--logo); }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 50; background: var(--bg); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 16px; height: 68px; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: 8px; }
.nav > a, .nav > .dd > button { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 10px; border-radius: 999px; border: 0; background: none; color: var(--ink); font: 500 14.5px var(--font); text-decoration: none; white-space: nowrap; cursor: pointer; }
.nav > a:hover, .nav > .dd > button:hover, .nav > .dd > button[aria-expanded="true"] { background: var(--bg-soft); }
.nav .ic { width: 16px; height: 16px; }
.dd { position: relative; }
.dd-panel { position: absolute; top: calc(100% + 8px); left: 0; width: 520px; padding: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.dd-panel[hidden] { display: none; }
.dd-panel a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; color: var(--ink); text-decoration: none; }
.dd-panel a:hover { background: var(--bg-soft); }
.dd-panel svg.ill { width: 52px; height: 40px; flex: none; }
.dd-panel b { display: block; font-weight: 600; font-size: 15px; }
.dd-panel small { color: var(--muted); font-size: 13px; }
.tools { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.ibtn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 0; background: none; color: var(--ink); cursor: pointer; text-decoration: none; }
.ibtn:hover { background: var(--bg-soft); }
.ibtn .count { position: absolute; top: 6px; right: 5px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: var(--wine); color: var(--btn-ink); font: 600 11px/17px var(--font); text-align: center; }
.lang { display: inline-flex; align-items: center; height: 36px; padding: 0 4px; border: 1px solid var(--line); border-radius: 999px; }
.lang-dd > button { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; background: none; color: var(--ink); font: 600 13px var(--font); cursor: pointer; white-space: nowrap; }
.lang-dd > button:hover, .lang-dd > button[aria-expanded="true"] { border-color: var(--ink); }
.lang-dd > button .ic { width: 17px; height: 17px; }
.lang-dd .dd-panel { left: auto; right: 0; width: 180px; grid-template-columns: 1fr; }
.lang-dd .dd-panel a { justify-content: space-between; padding: 10px 12px; font-size: 14.5px; }
.lang-dd .dd-panel a[aria-current="true"] { font-weight: 700; }
.lang-dd .dd-panel a[aria-current="true"]::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--wine); }
.lang a { white-space: nowrap; display: inline-grid; place-items: center; min-width: 32px; height: 28px; padding: 0 6px; border-radius: 999px; color: var(--muted); font: 600 12.5px var(--font); text-decoration: none; }
.lang a[aria-current="true"] { background: var(--ink); color: var(--bg); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font: 600 15.5px var(--font); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .15s, border-color .15s, transform .15s; }
.btn:active { transform: scale(.98); }
.btn-wine { background: var(--wine); color: var(--btn-ink); }
.btn-wine:hover { background: var(--wine-strong); }
.btn-line { border-color: var(--line); color: var(--ink); background: var(--card); }
.btn-line:hover { border-color: var(--ink); }
.btn-s { height: 40px; padding: 0 16px; font-size: 14.5px; }
.menu-btn { display: none; }

/* phone menu */
.sheet { position: fixed; inset: 68px 0 0; z-index: 49; background: var(--bg); padding: 12px var(--pad) 32px; overflow: auto; }
.sheet[hidden] { display: none; }
.sheet > a:not(.btn), .sheet .sub a, .sheet .sheet-row { width: 100%; background: none; border: 0; cursor: pointer; text-align: left; display: flex; align-items: center; justify-content: space-between; min-height: 52px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font: 600 17px var(--font); }
.sheet .sub a { font-weight: 500; font-size: 15.5px; padding-left: 14px; color: var(--muted); }
.sheet .btn { width: 100%; margin-top: 20px; }
.sheet-search { display: flex; gap: 8px; align-items: center; margin: 4px 0 6px; }
.sheet-search input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 1px solid var(--field-line); border-radius: 999px; background: var(--card); color: var(--ink); font: 400 16px var(--font); }
.sheet .lang { display: flex; width: max-content; height: 52px; }
.sheet .lang a { display: inline-grid; place-items: center; min-height: 0; min-width: 52px; height: 44px; padding: 0 10px; border: 0; font: 600 14px var(--font); color: var(--muted); }
.sheet .lang a[aria-current="true"] { color: var(--bg); }

/* ---------- hero ---------- */
.hero { padding: 56px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font: 600 13px var(--font); letter-spacing: .08em; text-transform: uppercase; }
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wine); }
.hero h1 { font-size: clamp(38px, 5.2vw, 64px); margin: 16px 0 18px; }
.hero h1 em { font-style: normal; color: var(--link); }
.hero .lead { font-size: 19px; color: var(--muted); max-width: 34em; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 30px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 18px; padding: 0; margin: 0; list-style: none; color: var(--muted); font-size: 14.5px; }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts .ic { width: 18px; height: 18px; color: var(--link); }
.hero figure { margin: 0; position: relative; }
.hero figure img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 24px; }
.hero figcaption { position: absolute; left: 14px; bottom: 14px; padding: 4px 10px; border-radius: 999px; background: var(--scrim); color: var(--on-wine); font-size: 12px; }
.hero .chip { position: absolute; right: -14px; top: 26px; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 14px; }
.hero .chip b { display: block; font-size: 15px; }
.hero .chip .ic { width: 26px; height: 26px; color: var(--link); }

/* ---------- sections ---------- */
.sec { padding: 64px 0; }
.sec-soft { background: var(--bg-soft); }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.sec-head h2 { font-size: clamp(28px, 3.4vw, 40px); }
.sec-head p { color: var(--muted); margin-top: 8px; font-size: 17px; }
.sec-head .more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; white-space: nowrap; }

/* categories */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; align-items: end; gap: 14px 12px; padding: 14px 14px 18px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.cat:hover { border-color: color-mix(in srgb, var(--wine) 45%, var(--line)); box-shadow: var(--shadow); transform: translateY(-2px); }
.cat svg.ill { grid-column: 1 / -1; width: 100%; height: 150px; padding: 18px 0; border-radius: 12px; background: var(--bg-soft); }
.cat > div { padding: 0 6px; min-width: 0; }
.cat h3, .cat p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cat > .ic { margin: 0 6px 4px 0; }
.cat h3 { font-size: 19px; }
.cat p { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.cat > .ic { color: var(--muted); }
.cat:hover > .ic { color: var(--link); }

/* trade price band */
.trade { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; padding: 40px; border-radius: 24px; background: var(--wine); color: var(--on-wine); }
.trade h2 { font-size: clamp(28px, 3.2vw, 38px); }
.trade p { color: var(--on-wine-muted); font-size: 17px; margin-top: 10px; max-width: 32em; }
.trade .btn { margin-top: 24px; background: var(--on-wine); color: var(--wine-strong); }
.trade .btn:hover { background: var(--on-wine-hover); }
.trade :focus-visible { outline-color: var(--focus-on-wine); }
.tiers { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.tier { padding: 18px 16px; border-radius: 16px; background: var(--on-wine-tint); border: 1px solid var(--on-wine-line); text-align: center; }
.tier b { white-space: nowrap; display: block; font: 700 34px/1.05 var(--font-head); }
.tier span { display: block; margin-top: 6px; font-size: 14px; color: var(--on-wine-muted); }

/* feeds and speeds */
.feed { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.feed h2 { font-size: clamp(28px, 3.2vw, 38px); }
.feed .lead { color: var(--muted); font-size: 17px; margin-top: 12px; max-width: 30em; }
.feed ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.feed li { display: flex; gap: 10px; align-items: center; }
.feed li .ic { color: var(--link); }
.spec { border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.spec-top { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.spec-top svg.ill { width: 64px; height: 64px; flex: none; }
.spec-top b { display: block; font-size: 17px; white-space: nowrap; }
.spec-top small { color: var(--muted); }
.spec-top .tag { margin-left: auto; padding: 4px 10px; border-radius: 999px; background: var(--wine-soft); color: var(--link); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.spec table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.spec th, .spec td { white-space: nowrap; padding: 11px 20px; text-align: right; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec td, .jjn table.jj-speeds td, .jjn .sku { font-family: var(--font-mono); font-size: 14px; font-weight: 500; }
.spec th:first-child, .spec td:first-child { text-align: left; }
.spec th { color: var(--muted); font-weight: 600; font-size: 13px; background: var(--bg-soft); }
.spec tr:last-child td { border-bottom: 0; }

/* services */
.svcs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.svc img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.svc .ph { display: grid; place-items: center; aspect-ratio: 16 / 7; background: var(--wine-soft); color: var(--link); }
.svc .ph .ic { width: 56px; height: 56px; stroke-width: 1.5; }
.svc div.t { padding: 16px 18px 18px; }
.svc h3 { display: flex; align-items: center; justify-content: space-between; font-size: 19px; }
.svc p { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.svc:hover h3 .ic { color: var(--link); transform: translateX(3px); }
.svc h3 .ic { transition: transform .15s; color: var(--muted); }

/* delivery + contact */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.box { padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.box h3 { font-size: 22px; margin-bottom: 14px; }
.rows { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.rows li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; }
.rows .ib { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--wine-soft); color: var(--link); }
.rows b { display: block; font-weight: 600; }
.rows span { color: var(--muted); font-size: 14.5px; }
.box .btn { margin-top: 20px; }

/* footer */
.foot { padding: 40px 0 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot .wrap { display: grid; gap: 22px; }
.foot .row1 { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot nav a { color: var(--ink); text-decoration: none; }
.foot nav a:hover { color: var(--link); }
.foot .legal { display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: space-between; }
.foot .legal a { color: inherit; }


/* ---------- tablet and phone ---------- */
@media (max-width: 1240px) {
  .nav > a.opt { display: none; }
  .menu-btn { display: inline-grid; }
  .top .wrap { gap: 10px; }
}
@media (max-width: 1060px) {
  .nav, .tools .lang-dd, .tools .cta-top { display: none; }
  .menu-btn { display: inline-grid; }
}
@media (min-width: 641px) {
  #sheetTheme { display: none; }
}
@media (max-width: 400px) {
  .spec-top { gap: 12px; padding: 16px 14px; }
  .spec-top svg.ill { width: 40px; height: 40px; }
}
@media (max-width: 980px) {
  .hero .wrap, .feed, .trade, .duo { grid-template-columns: 1fr; }
  .hero { padding-top: 32px; }
  .hero .chip { right: 12px; }
  .cats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { --pad: 16px; }
  .top .wrap { height: 60px; gap: 8px; }
  .sheet { inset: 60px 0 0; }
  .brand .mark { width: 34px; height: 34px; }
  .tools .theme { display: none; }
  .hero h1 { font-size: 36px; }
  .hero .lead { font-size: 17px; }
  .hero .cta .btn { flex: 1 1 100%; }
  .hero .chip { display: none; }
  .sec { padding: 44px 0; }
  .sec-head { flex-direction: column; align-items: start; }
  .cats, .svcs { grid-template-columns: 1fr; }
  .cat { grid-template-columns: 80px 1fr auto; grid-template-rows: auto; align-items: center; padding: 12px; gap: 14px; }
  .cat svg.ill { grid-column: auto; width: 80px; height: 64px; padding: 6px 0; }
  .cat > div { padding: 0; }
  .trade { padding: 26px 20px; }
  .tier b { font-size: 22px; }
  .tiers { gap: 8px; }
  .tier { padding: 14px 6px; }
  .cat h3 { font-size: 17px; }
  .cat p { font-size: 14px; }
  .spec th, .spec td { padding: 10px 12px; font-size: 14px; }
  .svc .ph { aspect-ratio: 16 / 6; }
  .svc .ph .ic { width: 40px; height: 40px; }
  .foot nav a { padding: 10px 0; }
  .sec-head .more { min-height: 44px; }
}
@media (max-width: 400px) {
  .wm-a { font-size: 14px; letter-spacing: .03em; }
  .brand .mark { width: 30px; height: 30px; }
  .cat { grid-template-columns: 64px 1fr; }
  .cat svg.ill { width: 64px; height: 52px; }
  .cat > .ic { display: none; }
}

/* ================= WordPress glue (jj.supply, 2026-12) ================= */
.jjn .skip-link.screen-reader-text { display: none; }
.jjn .jj-skip:focus { z-index: 100000; }
.jjn .wp-site-blocks { padding: 0; }
.jjn .wp-site-blocks > * { margin-block-start: 0; }
.jjn-page main { margin: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important; }
.jjn .jjn-content { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; width: 100%; }
.jjn-page main.has-global-padding { padding-left: 0 !important; padding-right: 0 !important; }
.jjn .jjn-content * { box-sizing: border-box; }
.jjn .jjn-content p, .jjn .jjn-content ul, .jjn .jjn-content figure { margin-block: 0; }
.jjn .top .search { display: flex; align-items: center; }
.jjn .top .search-in { height: 40px; width: 200px; padding: 0 14px; border: 1px solid var(--field-line); border-radius: 999px; background: var(--card); color: var(--ink); font: 400 15px var(--font); }
.jjn .top .search-in[hidden] { display: none; }
.jjn .dd-panel a.dd-wa > .ic { margin-left: auto; color: var(--link); }
.jjn .dd-panel a.dd-all { grid-column: 1 / -1; justify-content: space-between; border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; color: var(--link); }
.jjn .nav > a[aria-current="page"] { background: var(--bg-soft); }
.jjn .foot .foot-langs { display: inline-flex; gap: 12px; }
.jjn .foot .foot-langs a { color: var(--muted); text-decoration: none; }
.jjn .foot .foot-langs a[aria-current="true"] { color: var(--ink); font-weight: 600; }
@media (max-width: 1400px) { .jjn .nav > a.opt2 { display: none; } .jjn .menu-btn { display: inline-grid; } }
.jjn .top { top: var(--wp-admin--admin-bar--height, 0px); }
.jjn .sheet { inset: calc(68px + var(--wp-admin--admin-bar--height, 0px)) 0 0; }

/* ================= Inner pages ================= */
.phero { padding: 56px 0 36px; background: var(--bg-soft); }
.phero h1 { font-size: clamp(34px, 4.6vw, 54px); margin: 14px 0 14px; }
.phero .lead { font-size: 19px; color: var(--muted); max-width: 40em; }
.phero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split figure { margin: 0; position: relative; }
.split figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; }
.split figcaption { position: absolute; left: 14px; bottom: 14px; padding: 4px 10px; border-radius: 999px; background: var(--scrim); color: var(--on-wine); font-size: 12px; }
.prose p { font-size: 17.5px; color: var(--ink); line-height: 1.65; }
.prose p + p { margin-top: 14px; }
.prose h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 16px; }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.card .ib { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--wine-soft); color: var(--link); margin-bottom: 14px; }
.card h3 { font-size: 20px; }
.card p { color: var(--muted); margin-top: 6px; font-size: 15.5px; }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 600; text-decoration: none; min-height: 44px; }
.band { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 32px 36px; border-radius: 24px; background: var(--wine); color: var(--on-wine); }
.band h2 { font-size: clamp(24px, 2.8vw, 32px); }
.band p { color: var(--on-wine-muted); margin-top: 6px; }
.band .btn { background: var(--on-wine); color: var(--wine-strong); flex: none; }
.band .btn:hover { background: var(--on-wine-hover); }
.band :focus-visible { outline-color: var(--focus-on-wine); }
.tag { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--wine-soft); color: var(--link); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.brands { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.brandc { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.brandc:hover { border-color: color-mix(in srgb, var(--wine) 45%, var(--line)); box-shadow: var(--shadow); }
.brandc b { font: 700 22px var(--font-head); }
.brandc span { color: var(--muted); font-size: 15px; }
.brandc em { margin-top: 8px; font-style: normal; color: var(--link); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
/* videos: picture first, the player loads only on click */
.vids { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vid { border-radius: var(--radius); overflow: hidden; background: var(--card); border: 1px solid var(--line); }
.vid .yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; cursor: pointer; }
.vid .yt img { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.vid .yt .play { position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; border-radius: 50%; background: var(--wine); color: var(--on-wine); display: grid; place-items: center; box-shadow: 0 6px 24px rgba(0, 0, 0, .35); }
.vid .yt .play .ic { width: 30px; height: 30px; fill: currentColor; stroke: none; margin-left: 4px; }
.vid iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.vid .t { padding: 16px 18px 20px; }
.vid h3 { font-size: 19px; }
.vid p { color: var(--muted); margin-top: 4px; font-size: 15px; }
/* tools */
.calc { max-width: 520px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.calc iframe { display: block; width: 100%; height: 760px; border: 0; background: var(--bg); }
.toolsgrid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; align-items: start; }
.stack { display: grid; gap: 16px; }
/* contact */
.contactgrid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; align-items: start; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-top: 16px; }
.map iframe { display: block; width: 100%; height: 320px; border: 0; }
.jjn .jjf { max-width: none; margin: 0; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); color: var(--ink); }
.jjn .jjf-h { font: 700 26px var(--font-head); color: var(--ink); }
.jjn .jjf-p, .jjn .jjf-priv, .jjn .jjf-g small, .jjn .jjf-c small { color: var(--muted); }
.jjn .jjf input, .jjn .jjf select, .jjn .jjf textarea { min-height: 44px; border-color: var(--field-line); background: var(--bg); color: var(--ink); }
.jjn .jjn-content .jjf-p { margin: 0 0 16px; }
.jjn .jjn-content .jjf-msg { margin: 12px 0 0; }
.jjn .jjn-content .jjf-priv { margin: 8px 0 0; }
.jjn .jjf-msg.ok { color: var(--ok); }
.jjn .jjf-msg.err { color: var(--err); }
.jjn .jjf input:focus, .jjn .jjf select:focus, .jjn .jjf textarea:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--field-line); }
.jjn .jjf-c input { min-height: 0; accent-color: var(--wine); }
.jjn .jjf-b { background: var(--wine); color: var(--btn-ink); min-height: 48px; }
.jjn .jjf-b:hover { background: var(--wine-strong); }

@media (max-width: 980px) {
  .split, .cards3, .brands, .vids, .toolsgrid, .contactgrid { grid-template-columns: 1fr; }
  .band { flex-direction: column; align-items: flex-start; }
  .jjn .top .search-in { width: 150px; }
}
@media (max-width: 640px) {
  .phero { padding: 36px 0 28px; }
  .calc iframe { height: 700px; }
  .band { padding: 24px 20px; }
  .jjn .top .search { display: none; }
}
.catc .catill { display: block; width: 100%; height: 128px; padding: 14px 0; margin-bottom: 14px; border-radius: 12px; background: var(--bg-soft); }
.card h3 .tag, .vid h3 .tag { margin-left: 6px; vertical-align: 3px; }

/* ================= Store (WooCommerce) ================= */
.jjn main.has-global-padding:not(:has(.jjn-content)) { padding-left: var(--pad) !important; padding-right: var(--pad) !important; padding-bottom: 56px !important; }
.jjn main:not(:has(.jjn-content)) > .alignwide { max-width: var(--wrap) !important; margin-left: auto !important; margin-right: auto !important; }
.jjn .wc-block-breadcrumbs { margin-top: 24px; font-size: 14px; color: var(--muted); }
.jjn .wc-block-breadcrumbs a { color: var(--muted); }
.jjn h1.wp-block-query-title, .jjn .wp-block-woocommerce-product-collection ~ h1, .jjn .single-product h1, .jjn main h1.wp-block-post-title { font-family: var(--font-head); font-weight: 700; font-size: clamp(30px, 3.8vw, 46px); letter-spacing: -.01em; margin: 10px 0 8px; }
.jjn .wc-block-product-results-count, .jjn .woocommerce-result-count { color: var(--muted); font-size: 14px; }
.jjn .wc-block-catalog-sorting select, .jjn .orderby { min-height: 44px; padding: 0 12px; border: 1px solid var(--field-line); border-radius: 999px; background: var(--card); color: var(--ink); font: 500 14px var(--font); }
.jjn ul.wc-block-product-template { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 16px !important; margin-top: 16px; padding: 0; }
.jjn .wc-block-product { display: flex; flex-direction: column; gap: 8px; margin: 0 !important; padding: 10px 10px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); transition: border-color .15s, box-shadow .15s; }
.jjn .wc-block-product:hover { border-color: color-mix(in srgb, var(--wine) 45%, var(--line)); box-shadow: var(--shadow); }
.jjn .wc-block-product .wc-block-components-product-image { margin: 0 !important; border-radius: 12px; overflow: hidden; background: var(--bg-soft); }
.jjn .wc-block-product .wc-block-components-product-image img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.jjn .wc-block-product .wp-block-post-title { margin: 4px 4px 0 !important; text-align: left !important; font: 600 15px/1.35 var(--font) !important; min-height: 2.7em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.jjn .wc-block-product .wp-block-post-title a { color: var(--ink); text-decoration: none; }
.jjn .wc-block-product .wc-block-components-product-price { margin: 0 4px !important; text-align: left !important; font: 700 17px var(--font); color: var(--ink); }
.jjn .wc-block-product .wp-block-woocommerce-product-button { margin: auto 4px 0 !important; text-align: left !important; }
.jjn .wc-block-components-product-button__button, .jjn .wp-block-button__link.wp-element-button, .jjn .single_add_to_cart_button, .jjn .wc-block-components-button:not(.is-link),
.jjn main .wp-element-button, .jjn main .woocommerce-button, .jjn main button.button, .jjn main a.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px !important; border: 0 !important; border-radius: 999px !important;
  background: var(--wine) !important; color: var(--btn-ink) !important; font: 600 14.5px var(--font) !important; text-decoration: none; cursor: pointer; }
.jjn .wc-block-components-product-button__button:hover, .jjn .single_add_to_cart_button:hover { background: var(--wine-strong) !important; }
.jjn .wp-block-query-pagination, .jjn .wc-block-pagination { margin-top: 28px; gap: 6px; font-weight: 600; }
.jjn .wp-block-query-pagination a, .jjn .wp-block-query-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; border-radius: 999px; color: var(--ink); text-decoration: none; }
.jjn .wp-block-query-pagination .page-numbers.current { background: var(--ink); color: var(--bg); }
.jjn .wc-block-components-product-sale-badge, .jjn .onsale { background: var(--wine); color: var(--btn-ink); border: 0; border-radius: 999px; }
/* single product */
.jjn .wp-block-woocommerce-product-price, .jjn .single-product .price { font: 700 26px var(--font-head); color: var(--ink); }
.jjn .wp-block-woocommerce-product-image-gallery img, .jjn .woocommerce-product-gallery img { border-radius: var(--radius); background: var(--bg-soft); }
.jjn .quantity input.qty { min-height: 44px; width: 72px; border: 1px solid var(--field-line); border-radius: 12px; background: var(--card); color: var(--ink); text-align: center; }
.jjn .woocommerce-tabs ul.tabs, .jjn .wc-tabs { display: flex; gap: 6px; padding: 0; border: 0; list-style: none; }
.jjn .woocommerce-tabs ul.tabs li a, .jjn .wc-tabs li a { display: inline-grid; place-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; }
.jjn .woocommerce-tabs ul.tabs li.active a, .jjn .wc-tabs li.active a { background: var(--ink) !important; color: var(--bg) !important; border-color: var(--ink) !important; }
.jjn table.jj-speeds, .jjn .woocommerce-product-attributes { border-collapse: collapse; font-variant-numeric: tabular-nums; }
.jjn table.jj-speeds th, .jjn table.jj-speeds td, .jjn .woocommerce-product-attributes th, .jjn .woocommerce-product-attributes td { padding: 10px 14px; border-bottom: 1px solid var(--line); }
.jjn table.jj-speeds th, .jjn .woocommerce-product-attributes th { background: var(--bg-soft); color: var(--muted); font-size: 13px; text-align: left; }
/* jj-velocidades.php brings its own light colours: follow the tokens so the table reads in dark mode too */
.jjn table.jj-speeds tbody tr:nth-child(even) { background: var(--bg-soft); }
.jjn table.jj-speeds small, .jjn table.jj-speeds th small { color: var(--muted); }
/* coming-soon page and notices */
.jjn .wc-block-components-notice-banner { border-radius: 12px; }
.jjn .cookieadmin_re_consent { background-color: var(--wine) !important; }
@media (max-width: 1100px) { .jjn ul.wc-block-product-template { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 780px) { .jjn ul.wc-block-product-template { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; } }

.jjn main input[type="text"], .jjn main input[type="email"], .jjn main input[type="password"], .jjn main input[type="tel"], .jjn main input[type="number"], .jjn main input[type="search"], .jjn main select, .jjn main textarea {
  min-height: 44px; padding: 0 12px; border: 1px solid var(--field-line); border-radius: 10px; background: var(--card); color: var(--ink); font: 400 16px var(--font); }
.jjn main textarea { padding: 10px 12px; }
.jjn .required, .jjn abbr.required { color: var(--link); text-decoration: none; }
.vid .yt { background: var(--media); }
:lang(zh) .hero h1 em { white-space: nowrap; }
@media (max-width: 980px) { .svcs { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .jjn .foot nav a { padding: 11px 0; }
  .jjn .foot .foot-langs a { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; }
  .jjn .sheet { inset: calc(60px + var(--wp-admin--admin-bar--height, 0px)) 0 0; }
}
/* home hero with a real product photo (wide, shown whole) */
:root { --photo-bg: #ffffff; }
.hero figure.wide img { width: 100%; height: auto; aspect-ratio: 1528 / 708; object-fit: contain; border-radius: 20px; background: var(--photo-bg); }
/* product page: long tool names fit in 2-3 lines (2026-12-03, clear product names) */
.jjn.single-product main h1.wp-block-post-title { font-size: clamp(24px, 2.3vw, 32px); line-height: 1.2; letter-spacing: 0; text-wrap: balance; }
/* Manufacturer squares: sample photo + what they are known for, whole square opens the brand site (2026-12-03, Juan).
   >=1300px 7 squares in one row · 900-1299px 4 per row · <900px compact rows (photo left), 2 per row, 1 per row on phones */
.brands { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.brandc { gap: 0; padding: 0; overflow: hidden; }
.brandc .bimg { display: block; aspect-ratio: 1; overflow: hidden; background: var(--bg-soft); }
.brandc .bimg img { display: block; width: 100%; height: 100%; object-fit: cover; }
.brandc .bword { display: grid; place-items: center; color: var(--ink); font: 700 24px var(--font-head); }
.brandc .bt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; padding: 12px 12px 14px; color: var(--ink); font-size: inherit; }
.brandc b { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-width: 0; font: 700 17px/1.2 var(--font-head); }
.brandc b .ic { width: 15px; height: 15px; color: var(--muted); transition: color .15s; }
.brandc .bd { color: var(--muted); font-size: 13.5px; line-height: 1.35; min-height: 2.7em; }
.brandc .dom { margin-top: auto; padding-top: 6px; color: var(--link); font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brandc:focus-visible { border-color: color-mix(in srgb, var(--wine) 45%, var(--line)); box-shadow: var(--shadow); }
.brandc:hover b .ic, .brandc:focus-visible b .ic { color: var(--link); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .brandc .bimg img { transition: transform .3s; }
  .brandc:hover .bimg img { transform: scale(1.05); }
}
@media (max-width: 1299px) { .brands { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 899px) {
  .brands { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .brandc { flex-direction: row; align-items: stretch; }
  .brandc .bimg { width: 76px; flex: none; align-self: center; margin: 10px 0 10px 10px; border-radius: var(--radius-s); }
  .brandc .bword { font-size: 15px; }
  .brandc .bt { padding: 10px 14px; }
  .brandc .bd { min-height: 0; }
}
@media (max-width: 640px) { .brands { grid-template-columns: 1fr; gap: 8px; } }
