/* Reuse the template's layout, typography and controls with Jiemao content. */
:root { --jm-bg-white:#fff; --jm-bg-muted:#f4f6f8; --page:var(--jm-bg-muted); --surface-muted:var(--jm-bg-muted); --ink:#172c40; --ink-soft:#5a6a78; --line:#d9e1e7; --brand:#b6371c; --brand-dark:#912710; --header-height:86px; --radius:14px; }
.jm-site { --jm-logo-blue:#0f479e; --jm-logo-blue-dark:color-mix(in srgb,var(--jm-logo-blue) 80%,#000); --jm-logo-blue-soft:color-mix(in srgb,var(--jm-logo-blue) 28%,#fff); --focus:var(--jm-logo-blue); background:var(--page); }
.jm-site .shell { width:min(calc(100% - 48px),1440px); }
.jm-site .fact-item { min-height:144px; padding-block:28px; }
.jm-site .fact-item strong { font-size:34px; line-height:1.25; font-weight:750; white-space:nowrap; }
.jm-site .fact-item strong small { font-size:.6em; font-weight:650; letter-spacing:0; }
.jm-site .fact-item div { gap:7px; }
@media (max-width:900px) { .jm-site .shell { width:calc(100% - 36px); } }
@media (max-width:640px) { .jm-site .shell { width:calc(100% - 28px); } }
body:has(.jm-site) { min-width:0; }
.jm-site h4 { margin:0; line-height:1.25; letter-spacing:-.025em; }
.jm-site :is(a,button,input,select,textarea,summary):focus-visible { outline:3px solid var(--jm-logo-blue); outline-offset:4px; }
.jm-site .header-inner { grid-template-columns:265px 1fr auto; gap:22px; }
.jm-site .desktop-nav { gap:clamp(18px,1.6vw,30px); }
.jm-brand { display:flex; align-items:center; gap:12px; width:max-content; }
.jm-brand img { width:76px; height:60px; object-fit:contain; }
.jm-brand > span { color:var(--jm-logo-blue); font-weight:800; font-size:20px; letter-spacing:.055em; line-height:1.3; }
.jm-brand small { display:block; font-size:14px; letter-spacing:.045em; }
.jm-menu-toggle { display:none; width:44px; height:44px; }
.jm-hero { background:#102234; }
.jm-hero .hero-overlay { background:linear-gradient(90deg,rgba(9,26,43,.70),rgba(9,26,43,.46) 37%,rgba(9,26,43,.06) 80%),linear-gradient(0deg,rgba(9,26,43,.28),transparent 40%); }
.jm-hero .hero-copy { max-width:780px; }
.jm-hero h1 { font-size:clamp(44px,5.2vw,76px); max-width:780px; font-weight:650; }
.jm-hero h1 span { white-space:normal; }
.jm-hero .eyebrow { color:#efad99; }
.jm-hero .hero-body { max-width:570px; }
.jm-hero .hero-inner { padding-block:90px; }
.jm-split { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:center; gap:clamp(45px,6vw,94px); }
.jm-copy h2 { font-size:clamp(32px,3.5vw,51px); font-weight:660; margin-bottom:26px; }
.jm-copy > p:not(.eyebrow) { font-size:16px; line-height:1.85; }
.jm-about { background:var(--jm-bg-white); }
.jm-about-visual { position:relative; padding-bottom:44px; }
.jm-about-visual > img { width:100%; height:auto; aspect-ratio:1.3; object-fit:cover; border-radius:var(--radius); }
.jm-image-caption { position:absolute; right:auto; bottom:14px; left:0; padding:17px 24px; display:flex; align-items:center; gap:16px; color:#fff; background:var(--jm-logo-blue); }
.jm-image-caption span { font-weight:700; font-size:15px; }
.jm-image-caption small { display:block; color:#fff; font-size:14px; font-weight:400; }
.jm-checklist { list-style:none; margin:24px 0 15px; padding:0; font-size:14px; font-weight:650; }
.jm-checklist li { display:flex; align-items:center; gap:10px; margin:10px 0; }
.jm-checklist svg { flex-shrink:0; color:var(--brand); }
.jm-section-heading { display:grid; grid-template-columns:1fr 1fr; max-width:none; align-items:end; gap:65px; }
.jm-section-heading h2 { margin-bottom:0; }
.jm-section-heading > p,
.jm-section-heading > div > p:not(.eyebrow) { max-width:53ch; font-size:16px; line-height:1.8; }
.jm-manufacturing { background:var(--jm-bg-white); }
.jm-process { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); list-style:none; padding:0; margin:0 0 95px; }
.jm-process li { border-top:2px solid var(--jm-logo-blue-soft); padding:22px 22px 0 0; position:relative; }
.jm-process li::before { content:''; width:10px; height:10px; position:absolute; top:-6px; left:0; border-radius:50%; background:var(--jm-logo-blue); }
.jm-process li > span { font-size:14px; color:var(--jm-logo-blue); font-weight:750; }
.jm-process h3 { margin:18px 0 14px; font-size:20px; line-height:1.2; letter-spacing:-.025em; font-weight:700; }
.jm-process p { font-size:14px; line-height:1.8; }
.jm-tour-heading { display:flex; justify-content:space-between; align-items:end; gap:25px; margin-bottom:32px; }
.jm-tour-heading h3 { font-size:clamp(28px,2.8vw,40px); margin-bottom:0; font-weight:660; }
.jm-tour-heading .button-secondary { background:var(--jm-logo-blue); border-color:var(--jm-logo-blue); color:#fff; }
.jm-tour-heading .button-secondary:hover { background:var(--jm-logo-blue-dark); border-color:var(--jm-logo-blue-dark); }
.jm-factory-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; }
.jm-factory-grid figure { margin:0; background:var(--jm-bg-muted); border-radius:var(--radius); overflow:hidden; }
.jm-factory-grid img { width:100%; aspect-ratio:16/9; height:auto; object-fit:cover; }
.jm-factory-grid figcaption { display:flex; flex-direction:column; gap:4px; padding:20px; }
.jm-factory-grid strong { font-size:19px; font-weight:700; }
.jm-factory-grid figcaption span { font-size:14px; color:var(--ink-soft); }
.jm-quality { background:var(--jm-bg-muted); }
.jm-quality-visual { background:var(--jm-bg-white); border-radius:var(--radius); overflow:hidden; }
.jm-quality-visual > img { width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; }
.jm-news .featured-update > img,
.jm-news .featured-update:hover > img { object-position:58% 75%; transform:scale(1.35); transform-origin:60% bottom; }
.jm-quality-caption { display:flex; gap:15px; padding:28px; color:var(--jm-logo-blue); }
.jm-quality-caption svg { flex-shrink:0; }
.jm-quality-caption strong { color:var(--ink); font-size:19px; }
.jm-quality-caption p { margin:7px 0 0; font-size:14px; }
.jm-contact { background:var(--jm-logo-blue); color:#fff; }
.jm-contact .eyebrow { color:#f1b39f; }
.jm-contact .jm-copy > p:not(.eyebrow) { color:#c1d1dc; max-width:44ch; }
.jm-inquiry-form { display:grid; gap:17px; }
.jm-inquiry-form label { display:block; font-size:14px; font-weight:750; }
.jm-inquiry-form label > span { color:var(--brand); }
.jm-inquiry-form :is(input,select,textarea) { display:block; width:100%; min-width:0; border:1px solid #cad5dd; border-radius:3px; padding:11px 12px; margin-top:7px; background:#f8fafb; color:var(--ink); font-size:14px; font-weight:450; }
.jm-inquiry-form textarea { resize:vertical; }
.jm-field-pair { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.jm-form-submit { display:flex; flex-wrap:wrap; align-items:center; gap:15px; margin-top:5px; }
.jm-form-submit > span { font-size:14px; color:var(--ink-soft); }
.jm-inquiry-form .jm-form-note { margin:-3px 0 0; font-size:14px; line-height:1.7; }
.jm-draft-ready { display:flex; gap:12px; padding:15px; border:1px solid #a4bdaf; background:#f2f8f4; font-size:14px; }
.jm-draft-ready > svg { flex-shrink:0; color:#285d41; }
.jm-draft-ready p { margin:5px 0 0; font-size:14px; }
.jm-draft-ready a { color:#285d41; text-decoration:underline; font-weight:750; }
.jm-draft-ready a > svg { vertical-align:middle; }
.jm-footer { --ink:#fff; --ink-soft:#fff; --line:#ffffff40; background:var(--jm-logo-blue); color:#fff; }
.jm-footer .jm-brand > span { color:#fff; }
.jm-footer .jm-brand img { filter:brightness(0) invert(1); }
.jm-site .jm-footer a:focus-visible { outline-color:#fff; }
.jm-footer-main { display:grid; grid-template-columns:1.4fr .6fr 1.2fr 1fr; gap:45px; padding-block:65px 50px; }
.jm-footer h3 { font-size:14px; letter-spacing:0; margin-bottom:20px; }
.jm-footer-main > div > a:not(.jm-brand) { display:flex; gap:6px; align-items:center; color:var(--ink-soft); font-size:14px; margin-bottom:10px; overflow-wrap:anywhere; }
.jm-footer a:hover { color:#fff; text-decoration:underline; text-underline-offset:4px; }
.jm-footer-main p { font-size:14px; margin-top:18px; line-height:1.8; }
.jm-footer-company > p:first-of-type { font-weight:700; color:var(--ink); }
.jm-footer-bottom { border-top:1px solid var(--line); display:flex; gap:25px; justify-content:space-between; padding-block:22px; font-size:14px; color:var(--ink-soft); }
.jm-dialog { width:min(600px,calc(100% - 32px)); max-height:calc(100dvh - 40px); border:0; border-radius:var(--radius); padding:30px; color:var(--ink); background:#fff; box-shadow:0 25px 100px #081c3d60; }
.jm-dialog::backdrop { background:#071c32b3; backdrop-filter:blur(4px); }
.jm-dialog[open] { animation:jm-dialog-enter 220ms cubic-bezier(.2,.8,.2,1) both; }
.jm-dialog[open]::backdrop { animation:jm-backdrop-enter 220ms ease-out both; }
.jm-dialog.jm-dialog-closing[open] { animation:jm-dialog-exit 180ms ease-in both; }
.jm-dialog.jm-dialog-closing[open]::backdrop { animation:jm-backdrop-exit 180ms ease-in both; }
@keyframes jm-dialog-enter { from { opacity:0; transform:translateY(18px) scale(.98); } to { opacity:1; transform:translateY(0) scale(1); } }
@keyframes jm-dialog-exit { from { opacity:1; transform:translateY(0) scale(1); } to { opacity:0; transform:translateY(12px) scale(.98); } }
@keyframes jm-backdrop-enter { from { opacity:0; } to { opacity:1; } }
@keyframes jm-backdrop-exit { from { opacity:1; } to { opacity:0; } }
.jm-dialog-heading { display:flex; gap:25px; align-items:start; justify-content:space-between; margin-bottom:22px; }
.jm-dialog-heading h2 { font-size:27px; font-weight:650; margin:0; line-height:1.25; }
.jm-dialog-heading button { flex-shrink:0; width:34px; height:34px; }
.jm-dialog > p { font-size:14px; margin:0 0 24px; }
.jm-dialog-wide { width:min(1040px,calc(100% - 32px)); }
.jm-modal-video { width:100%; display:block; max-height:65dvh; background:#102334; }
.jm-dialog .jm-media-caption { font-size:14px; margin:16px 0 0; }
.jm-mobile-nav { display:grid; margin-bottom:25px; }
.jm-mobile-nav a { display:flex; justify-content:space-between; align-items:center; border-top:1px solid var(--line); padding:15px 0; font-weight:650; }
@media (max-width:1180px) {
  .jm-site .header-inner { grid-template-columns:185px 1fr auto; gap:12px; }
  .jm-site .desktop-nav { gap:16px; }
  .jm-site .desktop-nav a { font-size:14px; }
  .jm-site .jm-header-quote { font-size:14px; padding-inline:16px; }
}
@media (max-width:960px) {
  .jm-site .header-inner { grid-template-columns:1fr auto; }
  .jm-site .desktop-nav { display:none; }
  .jm-menu-toggle { display:flex; }
  .jm-split { gap:36px; }
  .jm-process { grid-template-columns:repeat(3,minmax(0,1fr)); gap:25px 0; }
  .jm-process li:nth-child(4),
.jm-process li:nth-child(5) { border-top-width:1px; }
  .jm-footer-main { grid-template-columns:1fr 1fr; gap:30px; }
}
@media (max-width:700px) {
  :root { --header-height:74px; }
  .jm-site .section { padding-block:72px; }
  .jm-brand img { width:60px; height:48px; }
  .jm-brand > span { font-size:17px; }
  .jm-brand small { font-size:14px; }
  .jm-site .jm-header-quote { display:none; }
  .jm-site .header-actions { gap:4px; }
  .jm-hero { background:#eeece9; }
  .jm-hero,
.jm-hero .hero-inner { min-height:780px; }
  .jm-hero img.hero-background { top:auto; bottom:0; height:auto; max-width:430px; margin-inline:auto; object-fit:contain; }
  .jm-hero .hero-inner { padding-block:44px 480px; align-items:start; }
  .jm-hero .hero-overlay { background:linear-gradient(180deg,rgba(255,255,255,.24),transparent 58%); }
  .jm-hero .hero-copy { color:var(--ink); }
  .jm-hero .eyebrow { color:var(--brand); }
  .jm-hero .hero-body { color:#465563; }
  .jm-hero .button-secondary { border-color:#77838a; background:rgba(255,255,255,.72); color:var(--ink); backdrop-filter:none; }
  .jm-hero h1 { font-size:clamp(37px,8.5vw,56px); line-height:1.08; }
  .jm-hero .eyebrow { max-width:32ch; font-size:14px; line-height:1.8; }
  .jm-hero .hero-body { font-size:16px; }
  .jm-hero .hero-actions { gap:10px; }
  .jm-hero .button { font-size:14px; padding-inline:16px; }
  .jm-site .fact-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .jm-site .fact-item { min-height:118px; padding:20px 8px; gap:9px; }
  .jm-site .fact-item:nth-child(2) { border-right:0; }
  .jm-site .fact-item:nth-child(-n+2) { border-bottom:1px solid var(--line); }
  .jm-site .fact-item strong { font-size:26px; }
  .jm-site .fact-item div span { font-size:14px; }
  .jm-site .fact-icon { width:36px; height:36px; }
  .jm-site .fact-icon svg { width:20px; }
  .jm-split,
.jm-section-heading { grid-template-columns:1fr; gap:34px; }
  .jm-about-visual > img { aspect-ratio:1.45; }
  .jm-about .jm-split > .jm-copy { order:-1; }
  .jm-image-caption { left:-10px; right:auto; padding:15px 20px; }
  .jm-site .section-heading { margin-bottom:32px; }
  .jm-site .section-heading h2,
.jm-copy h2 { font-size:36px; }
  .jm-process { grid-template-columns:1fr; margin-bottom:54px; }
  .jm-process li { border-top-width:1px; padding:17px 0 0 28px; }
  .jm-process li::before { top:23px; }
  .jm-process li > span { float:right; }
  .jm-process h3 { margin:0 35px 8px 0; }
  .jm-process p { margin-bottom:5px; }
  .jm-tour-heading { display:block; }
  .jm-tour-heading h3 { font-size:31px; margin-bottom:22px; }
  .jm-factory-grid { grid-template-columns:1fr; gap:24px; }
  .jm-factory-grid figcaption { padding:19px 22px; }
  .jm-quality-visual > img { aspect-ratio:16/9; }
  .jm-quality-caption { padding:23px; }
  .jm-field-pair { grid-template-columns:1fr; gap:17px; }
  .jm-footer-main { padding-top:45px; grid-template-columns:1fr 1fr; gap:34px 20px; }
  .jm-footer-company { grid-column:1/-1; }
  .jm-footer-main > div:last-child { grid-column:1/-1; }
  .jm-footer-bottom { display:block; }
  .jm-footer-bottom a { display:block; margin-top:14px; }
  .jm-dialog { padding:24px 20px; }
  .jm-dialog-heading h2 { font-size:23px; }
  .jm-dialog .jm-field-pair { grid-template-columns:1fr; }
}
@media (min-width:431px) and (max-width:700px) {
  .jm-hero img.hero-background { mask-image:linear-gradient(90deg,transparent,#000 14%,#000 86%,transparent); }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  .jm-site *,
.jm-site *::before,
.jm-site *::after { animation:none !important; transition:none !important; }
}

/* Client review: readable type, original news/contact layouts and compact labels. */
.jm-site .eyebrow,
.jm-site .update-meta,
.jm-site .fact-item div span { font-size:14px; }
.jm-site .hero-body { font-size:19px; }
.jm-checklist,
.jm-process p,
.jm-factory-grid figcaption span,
.jm-quality-caption p { font-size:16px; }
.jm-image-caption { width:max-content; max-width:100%; left:-24px; border-radius:var(--radius); }
.jm-quality-points { list-style:none; padding:0; margin:28px 0 0; }
.jm-quality-points li { display:flex; gap:15px; padding:19px 0; border-top:1px solid var(--line); }
.jm-quality-points svg { flex-shrink:0; margin-top:3px; color:var(--jm-logo-blue); }
.jm-quality-points h3 { font-size:18px; font-weight:700; margin:0 0 7px; }
.jm-quality-points p { font-size:16px; line-height:1.8; margin:0; }
.jm-news .featured-update p,
.jm-news .update-item p { font-size:16px; line-height:1.7; }
.jm-news .update-item p { margin:0; }
.jm-news .featured-update .update-meta { color:#efad99; }
.jm-news .featured-update > img,
.jm-news .featured-update:hover > img { transition:none; }
.jm-site .site-header,
.jm-news { background:var(--jm-bg-white); }
.jm-products { background:var(--jm-bg-muted); }
.jm-contact-classic { background:linear-gradient(90deg,rgba(244,246,248,.87),rgba(244,246,248,.77) 50%,rgba(244,246,248,.84)),url("./jiemao/warehouse.webp") center / cover no-repeat; }
.jm-contact-classic::before,
.jm-contact-classic::after { content:none; }
.jm-contact-classic .inquiry-form-wrap { background:var(--jm-bg-white); }
.jm-news .update-list { background:var(--jm-bg-muted); }
.jm-contact-classic .inquiry-intro > p:not(.eyebrow) { font-size:17px; line-height:1.8; }
.jm-contact-classic .inquiry-contact a { font-size:16px; overflow-wrap:anywhere; }
.jm-contact-classic .inquiry-contact svg { flex-shrink:0; }
.jm-inquiry-template { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:22px 18px; }
.jm-inquiry-template > .jm-field-pair,
.jm-inquiry-template > label:has(textarea),
.jm-inquiry-template > .jm-form-submit,
.jm-inquiry-template > .jm-form-note,
.jm-inquiry-template > .jm-draft-ready { grid-column:1/-1; }
.jm-inquiry-template .jm-field-pair { gap:18px; }
.jm-inquiry-form :is(input,select,textarea) { font-size:16px; }
.jm-inquiry-template :is(input,select,textarea) { border-color:#aeb5b0; border-radius:10px; background:var(--surface); }
.jm-inquiry-template :is(input,select) { height:52px; padding-inline:15px; }
.jm-select-field { display:block; position:relative; margin-top:7px; }
.jm-inquiry-form .jm-select-field select { margin-top:0; appearance:none; padding-right:46px; }
.jm-select-field > svg { position:absolute; right:16px; top:50%; transform:translateY(-50%); color:var(--ink-soft); pointer-events:none; }
.jm-inquiry-template textarea { min-height:156px; padding:15px; }
.jm-footer-bottom a { display:inline-flex; align-items:center; gap:7px; }
@media (max-width:1180px) {
  .jm-site .header-inner { grid-template-columns:1fr auto; }
  .jm-site .desktop-nav { display:none; }
  .jm-menu-toggle { display:flex; }
}
@media (max-width:700px) {
  .site-header .jm-brand small { display:none; }
  .jm-image-caption { left:-10px; }
  .jm-site .hero-body { font-size:16px; }
  .jm-inquiry-template { grid-template-columns:minmax(0,1fr); }
  .jm-inquiry-template .jm-field-pair { grid-template-columns:minmax(0,1fr); }
  .jm-contact-classic .inquiry-layout { gap:34px; }
}

/* Six product families: two compact desktop rows with 4:3 media. */
.jm-category-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.jm-category-card { position:relative; min-width:0; overflow:hidden; border:1px solid var(--line); border-radius:var(--radius); background:var(--jm-bg-white); transition:border-color 180ms ease; }
.jm-category-media { aspect-ratio:4/3; overflow:hidden; background:var(--jm-bg-muted); }
.jm-category-media img { display:block; width:100%; height:100%; object-fit:cover; transition:transform 300ms ease; }
.jm-category-copy { padding:16px; }
.jm-category-copy h3 { display:flex; justify-content:center; align-items:center; min-height:50px; margin:0; text-align:center; font-size:20px; line-height:1.25; letter-spacing:-.025em; font-weight:700; }
.jm-clickable-card { cursor:pointer; }
.jm-clickable-card:focus-visible { outline:3px solid var(--jm-logo-blue); outline-offset:4px; }
.jm-category-card:hover { border-color:var(--jm-logo-blue); }
.jm-category-card:hover img { transform:scale(1.025); }
@media (max-width:1024px) {
  .jm-category-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .jm-factory-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:700px) {
  .jm-category-grid { grid-template-columns:minmax(0,1fr); gap:24px; }
  .jm-factory-grid { grid-template-columns:minmax(0,1fr); }
}
@media (prefers-reduced-motion:reduce) {
  .jm-category-card:hover img { transform:none; }
}

/* Parent labels open the first child page; adjacent controls disclose the menu. */
.jm-site .jm-primary-nav { gap:22px; }
.jm-nav-group { position:relative; }
.jm-nav-parent-row { display:flex; align-items:center; gap:5px; }
.jm-primary-nav .jm-nav-trigger { display:grid; place-items:center; cursor:pointer; }
.jm-primary-nav .jm-nav-trigger::after { content:none; }
.jm-nav-trigger svg { flex-shrink:0; transition:transform 180ms ease; }
.jm-nav-trigger[aria-expanded="true"] svg { transform:rotate(180deg); }
.jm-nav-unavailable { color:var(--ink-soft); font-size:14px; font-weight:650; white-space:nowrap; }
.jm-nav-submenu { position:absolute; top:calc(100% + 18px); left:-18px; width:350px; padding:10px; border:1px solid var(--line); border-radius:var(--radius); background:#fff; box-shadow:0 14px 36px #172c4020; }
.jm-nav-submenu[hidden] { display:none; }
.jm-nav-submenu::before { content:""; position:absolute; top:-20px; left:0; right:0; height:20px; }
.jm-primary-nav .jm-nav-submenu a,
.jm-nav-submenu > .jm-nav-unavailable { display:block; padding:12px 14px; border-radius:8px; font-size:16px; line-height:1.5; white-space:normal; }
.jm-primary-nav .jm-nav-submenu a::after { content:none; }
.jm-primary-nav .jm-nav-submenu a:hover,
.jm-primary-nav .jm-nav-submenu a:focus-visible { background:var(--jm-bg-muted); color:var(--brand); }
.jm-mobile-nav .jm-nav-parent-row { border-top:1px solid var(--line); }
.jm-mobile-nav .jm-nav-parent-link { flex:1; min-width:0; border:0; }
.jm-mobile-nav .jm-nav-trigger { display:grid; place-items:center; flex-shrink:0; width:44px; height:44px; border:0; padding:0; background:none; color:var(--ink); cursor:pointer; }
.jm-mobile-nav > .jm-nav-unavailable { border-top:1px solid var(--line); padding:15px 0; font-size:16px; }
.jm-mobile-nav .jm-nav-submenu { position:static; width:100%; border:0; border-left:2px solid var(--line); border-radius:0; padding:0 0 0 18px; margin:0 0 14px; background:none; box-shadow:none; }
.jm-mobile-nav .jm-nav-submenu::before { content:none; }
.jm-mobile-nav .jm-nav-submenu a { border:0; padding:11px 0; font-size:16px; font-weight:500; }
.jm-mobile-nav .jm-nav-submenu > .jm-nav-unavailable { padding:11px 0; }
.jm-nav-branch { position:relative; }
.jm-nav-branch-row { display:flex; align-items:center; }
.jm-nav-branch-row > a { flex:1; }
.jm-nav-branch-toggle { flex-shrink:0; display:grid; place-items:center; width:44px; height:44px; border:0; border-radius:8px; background:none; color:var(--ink); cursor:pointer; }
.jm-nav-branch-toggle:hover { background:var(--jm-bg-muted); }
.jm-nav-branch-row > .jm-nav-branch-heading { display:flex; justify-content:space-between; width:100%; height:auto; min-height:44px; padding:12px 14px; text-align:left; font-size:16px; line-height:1.5; font-weight:650; cursor:pointer; }
.jm-primary-nav .jm-nav-branch-toggle::after { content:none; }
.jm-mobile-nav .jm-nav-branch-heading { padding:11px 0; font-weight:500; }
.jm-primary-nav .jm-nav-branch-toggle svg { transform:rotate(90deg); }
.jm-primary-nav .jm-nav-third-level { top:0; left:auto; right:calc(100% - 1px); width:220px; }
.jm-primary-nav .jm-nav-third-level::before { top:0; bottom:0; left:auto; right:-12px; width:12px; height:auto; }
.jm-mobile-nav .jm-nav-branch-row a { min-width:0; }
.jm-mobile-nav .jm-nav-branch-toggle[aria-expanded="true"] svg { transform:rotate(180deg); }
.jm-mobile-nav .jm-nav-third-level { padding-left:18px; margin-top:5px; }
.jm-category-card,
#factory-tour { scroll-margin-top:calc(var(--header-height) + 28px); }
@media (min-width:1181px) {
  .jm-site .header-inner { grid-template-columns:240px minmax(0,1fr) auto; gap:16px; }
  .jm-site .desktop-nav :is(a,button) { font-size:14px; }
  .jm-site .jm-header-quote { font-size:14px; padding-inline:18px; }
}
@media (min-width:1181px) and (max-width:1350px) {
  .jm-site .header-inner { grid-template-columns:1fr auto; }
  .jm-site .desktop-nav { display:none; }
  .jm-menu-toggle { display:flex; }
}
