/* instruMED site styles. */
:root {
	--im-navy: #203864;
	--im-navy-dark: #14233f;
	--im-blue: #0a66d6;
	--im-orange: #ff8200;
	--im-yellow: #ffc000;
	--im-red: #a20000;
	--im-ink: #14233f;
	--im-text-2: #33415a;
	--im-muted: #4a5a70;
	--im-pale: #d8e2f2;
	--im-rule: #c3ccd8;
	--im-line: #dce2ea;
	--im-line-soft: #e4e8ee;
	--im-ground: #f3f5f8;
	--im-radius: 4px;
	--im-font: 'Instrument Sans', Arial, sans-serif;
	--im-mono: 'Roboto Mono', monospace;
	--im-width: 1340px;
	--im-gutter: max(24px, calc((100vw - var(--im-width)) / 2 + 24px));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--im-ink); font: 400 16px/1.45 var(--im-font); }
body.home { background: #f6f8fb; }
a { color: var(--im-blue); text-underline-offset: 2px; }
a:hover { color: var(--im-navy); }
img { max-width: 100%; height: auto; }
input, select, textarea, button { font: inherit; color: inherit; }
::selection { background: var(--im-orange); color: var(--im-navy-dark); }
:focus-visible { outline: 2px solid var(--im-blue); outline-offset: 2px; }
mark { background: #ffe3c2; color: inherit; }
#content:focus { outline: none; }
.im-sr, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.im-skip { position: absolute; left: -999px; z-index: 100; padding: 8px 16px; background: #fff; }
.im-skip:focus { left: 8px; top: 8px; }
.im-hp { position: absolute; left: -9999px; }
.print-only { display: none; }
[hidden] { display: none !important; }

/* Layout */
.im-container { max-width: var(--im-width); margin: 0 auto; padding: 0 24px; }
.im-section { padding-top: 40px; padding-bottom: 40px; }
.im-page { padding: 32px var(--im-gutter) 56px; }
.im-page--narrow { padding-right: max(var(--im-gutter), calc(100vw - var(--im-gutter) - 992px)); }
.im-page-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.im-page-head .im-title { margin: 0; }
.im-title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.im-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.im-actions form { margin: 0; }
.im-two-up { display: flex; flex-wrap: wrap; gap: 32px; }
.im-two-up > section { flex: 1 1 480px; min-width: 0; }

/* Type */
.im-title { margin: 0 0 24px; color: var(--im-navy); font-size: clamp(34px, 3.4vw, 44px); font-stretch: 85%; font-weight: 700; letter-spacing: -.03em; line-height: 1.02; }
body.home .im-title { font-size: 34px; font-stretch: 90%; letter-spacing: -.025em; line-height: 1.15; margin-bottom: 20px; }
.im-section-title { margin: 0 0 12px; color: var(--im-navy); font-size: 28px; font-stretch: 85%; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.im-h3 { margin: 0 0 6px; color: var(--im-navy); font-size: 24px; font-weight: 700; }
.im-small { font-size: 14px; color: var(--im-text-2); }
.im-muted, .im-muted-text { color: var(--im-muted); }
.im-muted { font-size: 15px; }
.im-mono { font-family: var(--im-mono); font-weight: 500; }
.im-label { color: var(--im-muted); font-size: 13px; }
.im-lead-muted { margin: 0 0 24px; color: var(--im-muted); font-size: 19px; }
.im-crumbs { margin: 0 0 10px; font-size: 15px; color: var(--im-muted); }
.im-strong-link { font-weight: 600; }
.im-notice { margin: 0 0 16px; padding: 12px 16px; background: #ddf0d5; color: #235213; font-weight: 600; }

/* Buttons */
.im-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 18px; border: 1px solid transparent; border-radius: var(--im-radius); background: var(--im-blue); color: #fff; font: 600 16px/1.2 var(--im-font); text-align: center; text-decoration: none; cursor: pointer; }
.im-btn:hover { background: #0853ae; color: #fff; }
.im-btn:disabled { background: var(--im-line-soft); color: var(--im-muted); cursor: default; }
.im-btn--orange { background: var(--im-orange); color: var(--im-navy-dark); font-weight: 700; }
.im-btn--orange:hover { background: #e87600; color: var(--im-navy-dark); }
.im-btn--navy { background: var(--im-navy); }
.im-btn--navy:hover { background: var(--im-navy-dark); }
.im-btn--dark { background: var(--im-navy-dark); white-space: nowrap; }
.im-btn--dark:hover { background: #0b1526; }
.im-btn--outline { background: #fff; border-color: var(--im-rule); color: var(--im-navy); }
.im-btn--outline:hover { background: var(--im-ground); color: var(--im-navy); }
.im-btn--outline:disabled { background: #fff; }
.im-btn--red { background: var(--im-red); }
.im-btn--red:hover { background: #7e0000; }
.im-btn--small { min-height: 40px; padding: 6px 14px; font-size: 15px; }
.im-btn--large { min-height: 52px; padding: 8px 28px; font-size: 18px; }
.im-btn--block { display: flex; width: 100%; min-height: 56px; font-size: 18px; }
.im-btn-danger { min-height: 44px; padding: 0 12px; border: 0; background: none; color: var(--im-red); font-weight: 600; text-decoration: underline; cursor: pointer; }
.im-link { padding: 0; border: 0; background: none; color: var(--im-blue); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.im-link:hover { color: var(--im-navy); }
.im-plain-link { color: inherit; text-decoration: none; }
.im-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--im-rule); background: #fff; color: var(--im-navy); cursor: pointer; }
.im-icon-btn--solid { border-color: var(--im-navy); background: var(--im-navy); color: #fff; }

/* Status */
.im-chip { display: inline-block; padding: 3px 9px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.im-chip--wait { background: var(--im-line-soft); color: var(--im-text-2); }
.im-chip--work { background: #d6e6fb; color: #0b3f85; }
.im-chip--done { background: #ddf0d5; color: #235213; }

/* Header */
.im-strip { padding: 8px 24px; background: var(--im-navy); color: #fff; font-size: 13px; letter-spacing: .02em; text-align: center; }
.im-header { background: #fff; border-bottom: 1px solid var(--im-line); }
.im-header__row { display: flex; align-items: center; gap: 8px 28px; padding: 12px var(--im-gutter); }
.im-logo { flex: none; color: var(--im-blue); font-size: 27px; font-weight: 700; letter-spacing: -.02em; text-decoration: none; }
.im-logo:hover { color: var(--im-navy); }
.im-header__menu { display: flex; flex: 1 1 auto; flex-wrap: wrap; align-items: center; gap: 8px 28px; min-width: 0; }
.im-header__quote { order: 5; flex: none; }
.im-menu-toggle { display: none; width: 44px; height: 44px; margin-left: auto; border: 0; background: none; color: var(--im-navy); cursor: pointer; }
.im-nav__list { display: flex; flex-wrap: wrap; gap: 0 22px; margin: 0; padding: 0; list-style: none; }
.im-nav__list a { display: block; padding: 10px 0; border-bottom: 2px solid transparent; color: var(--im-ink); font-weight: 500; text-decoration: none; }
.im-nav__list a:hover { color: var(--im-blue); }
.im-nav__list .current-menu-item > a { border-bottom-color: var(--im-blue); color: var(--im-blue); }
.im-header__search { display: flex; flex: 1 1 240px; min-width: 0; }
.im-header__search input[type='search'] { flex: 1 1 auto; min-width: 0; height: 44px; padding: 0 12px; border: 1px solid var(--im-rule); border-right: 0; background: #fff; }
.im-header__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-left: auto; }
.im-header__link { color: var(--im-ink); font-weight: 500; text-decoration: none; }

@media (min-width: 1241px) {
	.im-header__menu, .im-nav__list, .im-header__actions { flex-wrap: nowrap; }
	.im-nav__list a, .im-header__link { white-space: nowrap; }
	.im-header__search { flex: 1 1 160px; }
}
@media (min-width: 641px) and (max-width: 1240px) {
	.im-header__search { flex: 1 1 100%; order: 3; }
}

/* The same corners on every page. */
.im-icon-btn, .im-chip, .im-notice, .im-add__qty, .im-filter-search, .im-panel, .im-summary, .im-doc, .im-cover__image, .im-table-wrap--box, .im-tabs, .im-reader__page input,
.form-row input.input-text, .form-row textarea, .im-field input, .im-field textarea, .im-field select,
.gform_wrapper .ginput_container input[type='text'], .gform_wrapper .ginput_container input[type='email'],
#im-login-form input[type='text'], #im-login-form input[type='password'],
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice { border-radius: var(--im-radius); }
.im-tabs { overflow: hidden; }
.im-bar__chapter select { border-radius: var(--im-radius); }
.im-header__search input[type='search'], .im-bar__search input[type='search'], .im-add .im-add__qty { border-radius: var(--im-radius) 0 0 var(--im-radius); }
.im-header__search .im-btn, .im-bar__search .im-btn, .im-add .im-btn { border-radius: 0 var(--im-radius) var(--im-radius) 0; }

/* Footer */
.im-footer { background: var(--im-navy-dark); color: var(--im-pale); font-size: 15px; }
.im-footer a { color: #fff; }
.im-footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 40px; max-width: none; padding: 32px var(--im-gutter); }

/* Search with catalogue picker (home) */
.im-search { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.im-search__select, .im-search__input { height: 56px; border: 0; border-radius: var(--im-radius); background: #fff; color: var(--im-ink); }
.im-search__select { flex: 1 1 170px; min-width: 0; max-width: 100%; padding: 0 10px; }
.im-search__input { flex: 3 1 220px; min-width: 0; padding: 0 16px; }
.im-search .im-btn { min-height: 56px; padding: 0 24px; }

/* Home: hero */
.im-hero { display: flex; flex-wrap: wrap; background: var(--im-navy); color: #fff; }
.im-hero__text { display: flex; flex: 1 1 520px; flex-direction: column; gap: 16px; min-width: 0; padding: 64px 24px 64px var(--im-gutter); }
.im-hero h1 { margin: 0; color: #fff; font-size: clamp(38px, 4.4vw, 60px); font-stretch: 90%; font-weight: 700; letter-spacing: -.03em; line-height: 1.02; text-wrap: balance; }
.im-hero p { margin: 0; }
.im-hero__lead { color: var(--im-pale); font-size: 21px; }
.im-hero__note { max-width: 600px; color: var(--im-pale); font-size: 15px; }
.im-hero__link { color: #fff; font-weight: 600; }
.im-hero__link:hover { color: var(--im-pale); }
.im-hero__image { flex: 1 1 420px; min-width: 0; min-height: 320px; background: #fff; clip-path: polygon(14% 0, 100% 0, 100% 100%, 14% 100%, 24% 50%); }
.im-hero__image img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Home: ELCON */
.im-elcon-wrap { padding-top: 32px; }
.im-elcon { display: flex; flex-wrap: wrap; overflow: hidden; border-radius: var(--im-radius); background: var(--im-orange); color: var(--im-navy-dark); }
.im-elcon__logo { display: flex; flex: 1 1 340px; align-items: center; justify-content: center; min-width: 0; min-height: 180px; padding: 24px 96px 24px 24px; background: #fff; clip-path: polygon(0 0, 82% 0, 100% 50%, 82% 100%, 0 100%); }
.im-elcon__logo img { display: block; width: 100%; max-width: 230px; }
.im-elcon__body { display: flex; flex: 3 1 560px; flex-wrap: wrap; align-items: center; gap: 20px 48px; min-width: 0; padding: 28px 24px; font-size: 17px; }
.im-elcon__claim { flex: 1 1 300px; min-width: 0; }
.im-elcon__claim p { margin: 0; }
.im-elcon__headline { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.im-elcon__headline svg { display: block; flex: none; }
.im-elcon h2 { margin: 0; color: var(--im-navy-dark); font-size: 34px; font-stretch: 90%; font-weight: 700; letter-spacing: -.025em; line-height: 1.1; }
.im-elcon ul { flex: 0 1 240px; margin: 0; padding-left: 20px; font-weight: 600; }

/* Home: catalogue tiles */
.im-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 500px), 1fr)); gap: 16px; }
.im-spec { display: flex; flex-wrap: wrap; min-height: 180px; overflow: hidden; border-radius: var(--im-radius); background: var(--im-navy); color: #fff; text-decoration: none; }
.im-spec:hover { color: #fff; filter: brightness(1.08); }
.im-spec__tag-wrap { display: block; flex: 1 1 190px; padding-right: 14px; background: #fff; clip-path: polygon(0 0, calc(100% - 44px) 0, 100% 50%, calc(100% - 44px) 100%, 0 100%); }
.im-spec__tag { display: flex; flex-direction: column; justify-content: center; height: 100%; min-height: 150px; padding: 20px 56px 20px 22px; clip-path: polygon(0 0, calc(100% - 44px) 0, 100% 50%, calc(100% - 44px) 100%, 0 100%); font-size: 22px; font-weight: 600; letter-spacing: -.01em; line-height: 1.15; }
.im-spec__image { display: flex; flex: 1 1 300px; align-items: center; justify-content: center; min-width: 0; }
.im-spec__image img { display: block; width: 100%; max-height: 180px; object-fit: contain; }
.im-repairs { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 16px; padding: 26px 30px; border-radius: var(--im-radius); background: var(--im-yellow); color: var(--im-navy-dark); }
.im-repairs > div { flex: 1 1 360px; }
.im-repairs h2 { margin: 0; color: inherit; font-size: 26px; font-stretch: 90%; font-weight: 700; letter-spacing: -.02em; }
.im-repairs p { margin: 2px 0 0; }

/* Home: services and partners */
.im-services__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 32px 40px; padding-top: 16px; padding-bottom: 48px; }
.im-service { display: flex; align-items: flex-start; gap: 20px; }
.im-service__icon { display: flex; flex: none; align-items: center; justify-content: center; width: 96px; height: 96px; border: 1px solid var(--im-line); border-radius: 20px; background: #fff; color: var(--im-navy); }
.im-service h3 { margin: 2px 0 6px; color: var(--im-navy); font-size: 22px; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.im-service p { margin: 0; color: var(--im-muted); }
.im-partners { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; padding-top: 0; padding-bottom: 32px; }
.im-partner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.im-partner img { display: block; }
.im-partner p { margin: 0; color: var(--im-muted); }

/* Navy title bars */
.im-bar { padding: 28px var(--im-gutter); background: var(--im-navy); color: #fff; }
.im-bar h1 { margin: 0; color: #fff; font-size: clamp(32px, 3.6vw, 44px); font-stretch: 85%; font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
.im-bar--big { padding: 40px var(--im-gutter); }
.im-bar--big h1 { font-size: clamp(40px, 5vw, 64px); letter-spacing: -.035em; line-height: 1; }
.im-bar--compact { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 14px; padding-bottom: 14px; }
.im-bar--compact h1 { font-size: 34px; letter-spacing: -.025em; }
.im-bar__title { flex: 1 1 280px; }
.im-bar__title a { color: var(--im-pale); font-size: 14px; }
.im-bar__chapter { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.im-bar__chapter select { width: 220px; max-width: 60vw; height: 44px; padding: 0 10px; border: 0; background: #fff; color: var(--im-ink); font-size: 15px; }
.im-bar__search { display: flex; flex: 0 1 340px; min-width: 0; }
.im-bar__search input[type='search'] { flex: 1 1 auto; min-width: 0; height: 44px; padding: 0 12px; border: 0; background: #fff; color: var(--im-ink); }

/* Browse */
.im-browse { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 40px; }
.im-browse__main { display: flex; flex: 999 1 640px; flex-direction: column; gap: 48px; min-width: 0; }
.im-browse__side { display: flex; flex: 1 1 300px; flex-direction: column; gap: 20px; min-width: 0; }
.im-group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--im-navy); color: var(--im-muted); }
.im-group-head h2 { margin: 0; color: var(--im-navy); font-size: 30px; font-stretch: 85%; font-weight: 700; letter-spacing: -.025em; }
.im-covers { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 28px 20px; }
.im-cover { display: block; color: var(--im-ink); text-decoration: none; }
.im-cover:hover { color: var(--im-blue); }
.im-cover__image { display: block; aspect-ratio: 3 / 4; border: 1px solid var(--im-line); background: #fff; }
.im-cover:hover .im-cover__image { border-color: var(--im-blue); }
.im-cover__image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.im-cover__name { display: block; margin-top: 10px; font-weight: 600; line-height: 1.2; }
.im-cover__count { display: block; color: var(--im-muted); font-size: 14px; }
.im-more { margin-top: 20px; }
.im-more summary { color: var(--im-blue); font-weight: 600; cursor: pointer; }
.im-more[open] summary { margin-bottom: 20px; }
.im-ad img { display: block; width: 100%; }
.im-side-block { padding-top: 14px; border-top: 2px solid var(--im-navy); }
.im-side-block h2 { margin: 0 0 8px; color: var(--im-navy); font-size: 22px; font-weight: 700; }
.im-side-block p { margin: 0 0 10px; color: var(--im-muted); }
.im-side-block ol { margin: 0; padding-left: 20px; color: var(--im-muted); }
.im-doc-list { margin: 0; padding: 0; list-style: none; }
.im-doc-list li { padding: 9px 0; border-bottom: 1px solid var(--im-line-soft); }
.im-strong-list { margin: 0 0 8px; padding-left: 20px; font-weight: 500; }

/* Tables */
.im-table-wrap { overflow-x: auto; }
.im-table-wrap--box { border: 1px solid var(--im-line); }
.im-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15px; }
.im-table th { padding: 10px 8px; background: var(--im-ground); color: var(--im-text-2); font-size: 13px; font-weight: 600; text-align: left; }
.im-table td { padding: 12px 8px; border-top: 1px solid var(--im-line-soft); vertical-align: top; }
.im-table th:first-child, .im-table td:first-child { padding-left: 16px; }
.im-table th:last-child, .im-table td:last-child { padding-right: 16px; }
.im-table tbody tr:hover td { background: #f9fbfd; }
.im-table tr[data-im-href] { cursor: pointer; }
.im-table__code { font-family: var(--im-mono); font-size: 14px; font-weight: 500; white-space: nowrap; }
.im-table__name { font-weight: 600; }
.im-table__refs { margin-top: 2px; color: var(--im-muted); font-size: 13px; font-kerning: none; letter-spacing: .015em; }
.im-table__found { min-width: 180px; }
.im-table__view { display: block; margin-top: 4px; font-size: 14px; }
.im-table .im-table__num { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.im-table__num-text { font-variant-numeric: tabular-nums; white-space: nowrap; }
.im-table .im-table__price { font-weight: 600; }
.im-table .im-table__login, .im-table .im-table__add { text-align: right; white-space: nowrap; }
.im-table tfoot th { background: none; color: var(--im-ink); font-size: 15px; font-weight: 400; text-align: right; }
.im-table tfoot th, .im-table tfoot td { border-top: 1px solid var(--im-line-soft); padding-top: 10px; padding-bottom: 10px; }
.im-table .im-table__grand th, .im-table .im-table__grand td { border-top: 2px solid var(--im-navy); font-weight: 700; }
.im-table__empty { padding: 32px 14px !important; color: var(--im-muted); text-align: center; }
.im-table--bare th { background: none; }
.im-table--bare th:first-child, .im-table--bare td:first-child { padding-left: 0; }
.im-table--bare th:last-child, .im-table--bare td:last-child { padding-right: 0; }
.im-table-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 12px 0; color: var(--im-muted); font-size: 15px; }
.im-reader__table .im-table-foot { margin: 0; padding: 12px 16px; }
.im-table--sticky thead th { position: sticky; top: 0; z-index: 1; }
.im-rule-top { border-top: 2px solid var(--im-navy); }
.im-rule-top--pad { padding-top: 16px; }
.im-add { display: inline-flex; }
.im-add__qty { width: 56px; height: 40px; padding: 0 6px; border: 1px solid var(--im-rule); background: #fff; }
.im-add .im-add__qty { border-right: 0; }
.im-add--large .im-add__qty { width: 72px; height: 54px; padding: 0 10px; }
.im-add--large .im-btn { min-height: 54px; padding: 0 28px; }

.im-sort { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: inherit; font: inherit; font-weight: 600; text-decoration: none; white-space: nowrap; cursor: pointer; }
.im-sort:hover { color: var(--im-blue); }
.im-sort::after { content: ''; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid var(--im-rule); }
[aria-sort='ascending'] > .im-sort, [aria-sort='descending'] > .im-sort { color: var(--im-navy); }
[aria-sort='descending'] > .im-sort::after { border-top-color: var(--im-navy); }
[aria-sort='ascending'] > .im-sort::after { border-top: 0; border-bottom: 5px solid var(--im-navy); }

/* Filters */
.im-filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.im-tabs { display: flex; flex-wrap: wrap; border: 1px solid var(--im-rule); }
.im-tab { min-height: 44px; padding: 0 16px; border: 0; background: #fff; color: var(--im-navy); font-weight: 600; cursor: pointer; }
.im-tab.is-on { background: var(--im-navy); color: #fff; }
.im-filter-search { width: 300px; max-width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--im-rule); }
.im-filter-search--wide { width: 100%; max-width: 620px; height: 48px; padding: 0 14px; }

/* Fact strips */
.im-strip-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px 32px; margin: 0 0 28px; padding: 16px 0; border-top: 2px solid var(--im-navy); border-bottom: 1px solid var(--im-rule); }
.im-strip-facts dt { color: var(--im-muted); font-size: 14px; }
.im-strip-facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
main:not(.is-editing) .im-show-edit { display: none; }
main.is-editing .im-show-record { display: none; }
.im-form-narrow { max-width: 620px; }

/* Catalogue reader */
.im-reader { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 20px; padding: 20px var(--im-gutter) 40px; background: var(--im-ground); }
.im-panel { border: 1px solid var(--im-line); background: #fff; }
.im-reader__book { flex: 5 1 480px; min-width: 0; overflow: hidden; }
.im-reader__table { flex: 7 1 620px; min-width: 0; }
.im-reader[aria-busy], [aria-busy] .im-reader { cursor: progress; }
.im-reader__tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 8px; border-bottom: 1px solid var(--im-line); }
.im-reader__page { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.im-reader__page input { width: 60px; height: 44px; border: 1px solid var(--im-rule); text-align: center; }
.im-reader__page span { color: var(--im-muted); font-weight: 400; }
.im-reader__view { display: none; }
.im-reader__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; padding: 14px 16px; border-bottom: 1px solid var(--im-line); }
.im-reader__head h2 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.im-reader__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; color: var(--im-muted); font-size: 14px; }
#im-book:not(.is-open) { display: none; }
@media (min-width: 1100px) { .im-reader__book { position: sticky; top: 12px; } }

/* Search results */
.im-results { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px; padding-top: 28px; }
.im-results__filter { flex: 1 1 240px; min-width: 0; }
.im-results__filter h2 { margin: 0 0 8px; color: var(--im-navy); font-size: 18px; font-weight: 700; }
.im-results__filter ul { margin: 0; padding: 0; list-style: none; }
.im-results__filter a { display: flex; justify-content: space-between; gap: 12px; padding: 10px; border-bottom: 1px solid var(--im-line-soft); color: var(--im-ink); font-variant-numeric: tabular-nums; text-decoration: none; }
.im-results__filter a:hover { background: var(--im-ground); }
.im-results__filter a.is-on { background: var(--im-navy); color: #fff; font-weight: 600; }
.im-results__main { flex: 999 1 640px; min-width: 0; }

/* Product */
.im-product { display: flex; flex-wrap: wrap; gap: 40px; }
.im-product__image { flex: 6 1 480px; display: flex; align-items: center; justify-content: center; min-width: 0; padding: 40px; background: var(--im-ground); }
.im-product__image img { display: block; max-height: 560px; mix-blend-mode: multiply; object-fit: contain; }
.im-product__noimage { padding: 96px 16px; color: var(--im-muted); }
.im-product__info { flex: 5 1 400px; min-width: 0; }
.im-product__code { margin: 0 0 6px; color: var(--im-text-2); font-family: var(--im-mono); font-size: 17px; font-weight: 500; }
.im-product__info h1 { margin: 0; color: var(--im-navy); font-size: clamp(36px, 3.8vw, 52px); font-stretch: 85%; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.im-product__spec { margin: 10px 0 24px; font-size: 21px; }
.im-product__buy { padding: 20px 0; border-top: 2px solid var(--im-navy); border-bottom: 1px solid var(--im-rule); }
.im-product__buy p { margin: 8px 0 16px; font-size: 15px; }
.im-product__price { font-size: 36px; font-variant-numeric: tabular-nums; font-weight: 700; }
.im-product__price small { color: var(--im-muted); font-size: 15px; font-weight: 400; }
.im-facts { margin: 0; }
.im-facts > div { display: flex; flex-wrap: wrap; gap: 0 16px; padding: 11px 0; border-bottom: 1px solid var(--im-line-soft); }
.im-facts dt { flex: 0 0 150px; color: var(--im-muted); }
.im-facts dd { flex: 1 1 200px; min-width: 0; margin: 0; }
.im-product__related { margin-top: 48px; }
.im-product__related h2 { margin: 0 0 8px; padding-bottom: 10px; border-bottom: 2px solid var(--im-navy); color: var(--im-navy); font-size: 28px; font-stretch: 85%; font-weight: 700; letter-spacing: -.02em; }
.im-product__related .im-table { min-width: 520px; font-size: 16px; }
.im-product__related tr:first-child td { border-top: 0; }

/* Quote page */
.im-steps { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px; }
.im-steps__main { display: flex; flex: 999 1 620px; flex-direction: column; gap: 32px; min-width: 0; }
.im-summary { flex: 1 1 320px; min-width: 0; padding: 20px; background: var(--im-ground); }
@media (min-width: 1100px) { .im-summary { position: sticky; top: 12px; } }
.im-totals { width: 100%; border-collapse: collapse; }
.im-totals th, .im-totals td { padding: 9px 0; border-bottom: 1px solid var(--im-rule); font-weight: 400; text-align: left; vertical-align: top; }
.im-totals td { font-variant-numeric: tabular-nums; text-align: right; }
.im-totals .order-total th, .im-totals .order-total td { border-bottom: 0; padding-top: 12px; font-size: 26px; font-weight: 700; }
.im-totals .woocommerce-shipping-methods { margin: 0; padding: 0; list-style: none; }
.im-summary .woocommerce-shipping-destination, .im-summary .woocommerce-shipping-calculator { display: none; }
.wc_payment_methods, .woocommerce-privacy-policy-text, #ship-to-different-address, .woocommerce-billing-fields > h3, .woocommerce-additional-fields > h3 { display: none !important; }
#place_order { display: flex; width: 100%; min-height: 60px; margin-top: 8px; align-items: center; justify-content: center; border: 0; border-radius: var(--im-radius); background: var(--im-orange); color: var(--im-navy-dark); font: 700 20px/1.2 var(--im-font); cursor: pointer; }
#place_order:hover { background: #e87600; }
.blockUI.blockOverlay { background: rgba(255, 255, 255, .6) !important; }
.im-fields .woocommerce-billing-fields__field-wrapper { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.im-notes-field { margin-top: 16px; }

/* Forms */
.form-row, .im-field { margin: 0; }
.im-turnstile { min-height: 65px; }
.form-row label, .im-field label { display: block; margin-bottom: 4px; font-size: 15px; font-weight: 600; }
.form-row .optional { display: none; }
.form-row input.input-text, .form-row textarea, .im-field input, .im-field textarea, .im-field select { display: block; width: 100%; border: 1px solid var(--im-rule); background: #fff; color: var(--im-ink); }
.form-row input.input-text, .im-field input, .im-field select { height: 46px; padding: 0 12px; }
.form-row textarea, .im-field textarea { padding: 10px 12px; }
.im-form { display: flex; flex-direction: column; gap: 16px; }
.im-form .im-btn { align-self: flex-start; }
.im-form__status { min-height: 24px; margin: 0; color: var(--im-navy); font-weight: 600; }

/* Gravity Forms (customer forms) */
.gform_wrapper .gsection { margin: 24px 0 0; padding: 14px 0 0; border-top: 2px solid var(--im-navy); border-bottom: 0; }
.gform_wrapper .gsection_title { margin: 0; color: var(--im-navy); font-size: 22px; font-weight: 700; }
.gform_wrapper .gfield_label, .gform_wrapper .gfield_label_before_complex { display: block; margin-bottom: 4px; font-size: 15px; font-weight: 600; }
.gform_wrapper .gform_fields { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.gform_wrapper .gfield { margin: 0; padding: 0; border: 0; min-width: 0; }
.gform_wrapper .ginput_container input[type='text'], .gform_wrapper .ginput_container input[type='email'], .gform_wrapper .ginput_container input[type='password'], .gform_wrapper .ginput_container select { width: 100%; height: 46px; padding: 0 12px; border: 1px solid var(--im-rule); background: #fff; }
.gform_wrapper .ginput_complex { max-width: 100%; margin: 0 !important; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px 16px; }
.gform_wrapper .ginput_complex label { display: block; margin-bottom: 4px; color: var(--im-text-2); font-size: 14px; font-weight: 500; }
.gform_wrapper .gfield_required { color: var(--im-red); }
.gform_wrapper .gform_footer { margin-top: 24px; padding: 0; }
.gform_wrapper .gform_button { min-height: 52px; padding: 0 28px; border: 0; background: var(--im-blue); color: #fff; font: 600 18px/1.2 var(--im-font); cursor: pointer; }
.gform_wrapper .gform_button:hover { background: #0853ae; }
.gform_wrapper .validation_message, .gform_wrapper .gform_validation_errors { color: #8e1f14; font-size: 14px; }
.gform_wrapper .gfield_error input { border: 2px solid var(--im-red); }

/* ACF repair forms */
.acf-form .acf-fields > .acf-field { padding: 0 0 16px; border: 0; }
.acf-form .acf-label label { font-size: 15px; font-weight: 600; }
.acf-form .acf-input input[type='text'], .acf-form .acf-input input[type='number'], .acf-form .acf-input textarea { min-height: 46px; padding: 8px 12px; border: 1px solid var(--im-rule); border-radius: var(--im-radius); box-shadow: none; font-size: 16px; line-height: 1.4; }
.acf-form .acf-repeater .acf-table { border: 0; border-top: 2px solid var(--im-navy); background: none; }
.acf-form .acf-repeater .acf-row-handle { border: 0; background: none; }
.acf-form .acf-repeater tr.acf-row > td { border-bottom: 1px solid var(--im-rule); padding-top: 16px; }
.acf-form .acf-repeater .acf-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 0 16px; border: 0; }
.acf-form .acf-repeater .acf-fields > .acf-field { border: 0; padding: 0 0 12px; width: auto !important; }
.acf-form .acf-actions { margin-top: 16px; text-align: left; }
.acf-form .acf-actions .acf-button { min-height: 46px; padding: 11px 18px; border: 1px solid var(--im-rule); border-radius: var(--im-radius); background: #fff; color: var(--im-navy); font-size: 16px; font-weight: 600; box-shadow: none; }
.acf-form .acf-form-submit { display: flex; align-items: center; gap: 16px; margin-top: 24px; }
.acf-form .acf-spinner { display: none !important; }

.acf-form .acf-repeater .acf-row-handle { width: 28px; background: none !important; border: 0 !important; color: var(--im-muted); }
.acf-form .acf-repeater td.acf-fields { padding: 16px 0 4px 8px !important; }
.acf-form .acf-repeater .acf-actions { display: flex; justify-content: flex-start; text-align: left !important; }
.acf-form .acf-actions .acf-button { text-decoration: none; }
.acf-form .acf-field[data-name='devices'] > .acf-label label { color: var(--im-navy); font-size: 22px; font-weight: 700; }
.gform_wrapper .gsection { border-top: 2px solid var(--im-navy) !important; border-bottom: 0 !important; }
.gform_wrapper .ginput_complex > span { display: block; flex: none !important; width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
.gform_wrapper .ginput_complex input, .gform_wrapper .ginput_complex select { width: 100% !important; }

/* Quotation document */
.im-page--doc, body.woocommerce-order-received .im-page { background: var(--im-ground); }
.im-quote { max-width: 1040px; margin: 0 auto; }
.im-quote__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.im-quote__bar p { margin: 0; }
.im-doc { padding: 48px; border: 1px solid var(--im-line); background: #fff; }
.im-doc__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-bottom: 20px; border-bottom: 3px solid var(--im-navy); }
.im-doc__brand { color: var(--im-blue); font-size: 30px; font-weight: 700; letter-spacing: -.02em; }
.im-doc address { color: var(--im-text-2); font-size: 14px; font-style: normal; }
.im-doc__title { color: var(--im-text-2); font-size: 14px; text-align: right; }
.im-doc__title h1 { margin: 0; color: var(--im-navy); font-size: 44px; font-stretch: 85%; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.im-doc__no { margin-top: 6px; color: var(--im-ink); font-family: var(--im-mono); font-size: 17px; font-weight: 500; }
.im-doc__people { display: flex; flex-wrap: wrap; gap: 16px 48px; padding: 20px 0; }
.im-doc__notes { margin-top: 20px; }
.im-doc__notes p { margin: 2px 0 0; }
.im-doc__next { margin-top: 24px; padding: 18px 20px; background: var(--im-navy); color: #fff; }
.im-doc__next h2 { margin: 0 0 2px; font-size: 21px; font-weight: 700; }
.im-doc__next p { margin: 0; }
.im-doc__next a { color: #fff; font-weight: 600; }
.im-table--doc .im-table__grand th, .im-table--doc .im-table__grand td { font-size: 22px; }
.im-doc > .im-muted { margin: 16px 0 0; font-size: 14px; }

/* Split pages: about and contact */
.im-split { display: flex; flex-wrap: wrap; background: var(--im-navy); color: #fff; }
.im-split__text { flex: 1 1 480px; min-width: 0; padding: 56px 40px 56px var(--im-gutter); }
.im-split h1 { margin: 0; color: #fff; font-size: clamp(42px, 5vw, 72px); font-stretch: 85%; font-weight: 700; letter-spacing: -.035em; line-height: .98; text-wrap: balance; }
.im-split__media { flex: 1 1 480px; min-width: 0; min-height: 360px; background: #000; }
.im-split__media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.im-split__lead { margin: 16px 0 32px; color: var(--im-pale); font-size: 20px; }
.im-contact__phone { display: block; color: #fff; font-size: 40px; font-weight: 700; letter-spacing: -.02em; text-decoration: none; }
.im-contact__phone:hover, .im-contact__email:hover { color: var(--im-pale); }
.im-contact__email { display: block; margin-top: 4px; color: #fff; font-size: 24px; overflow-wrap: anywhere; }
.im-split__address { margin: 24px 0 0; color: var(--im-pale); }
.im-split__form { flex: 1 1 480px; min-width: 0; padding: 56px var(--im-gutter) 56px 40px; background: #fff; color: var(--im-ink); }
.im-split__form input { height: 50px; }
@media (min-width: 900px) {
	.im-split--contact { min-height: max(780px, calc(100vh - 67px)); }
	.im-split--contact .im-split__text { display: flex; flex-direction: column; padding-top: clamp(64px, 8vh, 112px); padding-bottom: clamp(64px, 8vh, 112px); padding-right: 64px; }
	.im-split--contact h1 { font-size: clamp(60px, 6vw, 92px); }
	.im-split--contact .im-split__lead { max-width: 620px; margin: 24px 0 48px; font-size: clamp(22px, 1.7vw, 26px); line-height: 1.35; }
	.im-contact__details { margin-top: auto; }
	.im-split--contact .im-contact__phone { font-size: clamp(48px, 4.2vw, 64px); line-height: 1.05; }
	.im-split--contact .im-contact__email { margin-top: 10px; font-size: clamp(26px, 2.1vw, 32px); }
	.im-split--contact .im-split__address { margin-top: 28px; font-size: 20px; }
	.im-split--contact .im-split__form { display: flex; flex-direction: column; gap: 22px; padding-top: clamp(64px, 8vh, 112px); padding-bottom: clamp(48px, 6vh, 80px); padding-left: 64px; }
	.im-split--contact .im-field label { margin-bottom: 8px; font-size: 18px; }
	.im-split--contact .im-field input { height: 60px; padding: 0 16px; font-size: 18px; }
	.im-field--message { display: flex; flex: 1 1 auto; flex-direction: column; }
	.im-split--contact .im-field textarea { flex: 1 1 auto; min-height: 220px; padding: 14px 16px; font-size: 18px; }
	.im-split--contact .im-btn--large { min-height: 62px; padding: 0 44px; font-size: 20px; }
}
.im-about { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 56px; font-size: 18px; line-height: 1.55; }
.im-about__copy { flex: 7 1 540px; min-width: 0; max-width: 780px; }
.im-about__copy p { margin: 0 0 16px; }
.im-lead { color: var(--im-navy); font-size: 24px; font-weight: 500; line-height: 1.35; }
.im-about__side { display: flex; flex: 4 1 340px; flex-direction: column; gap: 32px; min-width: 0; font-size: 17px; }
.im-about__side .im-side-block h2 { font-size: 24px; }
.im-about__brands { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; margin-top: 32px; padding-top: 16px; border-top: 2px solid var(--im-navy); }

/* WooCommerce notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice { display: block; margin: 0 0 16px; padding: 12px 16px; background: var(--im-ground); list-style: none; }
.woocommerce-error { background: #fbe6e3; color: #8e1f14; }
.woocommerce-message .button, .woocommerce-info .button, .return-to-shop .button { margin-right: 12px; font-weight: 600; }
.return-to-shop a { color: var(--im-blue); }

/* Dialogs */
dialog:not([open]) { display: none !important; }
.im-dialog, .im-gate { width: min(640px, calc(100vw - 32px)); padding: 32px; border: 0; color: var(--im-ink); }
.im-dialog--narrow { width: min(460px, calc(100vw - 32px)); }
.im-dialog::backdrop, .im-gate::backdrop { background: rgba(20, 35, 63, .75); }
.im-dialog__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.im-dialog h2 { margin: 0 0 12px; color: var(--im-navy); font-size: 36px; font-stretch: 85%; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.im-dialog__head h2 { margin: 0; }
.im-dialog p { margin: 0 0 12px; }
.im-dialog .im-actions { margin-top: 20px; }
.im-dialog__close { width: 44px; height: 44px; border: 0; background: none; color: var(--im-navy); font-size: 28px; line-height: 1; cursor: pointer; }
#im-login-form p { margin: 0 0 14px; }
#im-login-form label { display: block; margin-bottom: 4px; font-size: 15px; font-weight: 600; }
#im-login-form .login-remember label { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 400; }
#im-login-form .login-remember input { width: 20px; height: 20px; }
#im-login-form input[type='text'], #im-login-form input[type='password'] { width: 100%; height: 46px; padding: 0 12px; border: 1px solid var(--im-rule); }
#im-login-form input[type='submit'] { width: 100%; min-height: 52px; border: 0; background: var(--im-blue); color: #fff; font: 600 18px var(--im-font); cursor: pointer; }
.im-gate { width: min(560px, calc(100vw - 32px)); }
.im-gate__brand { color: var(--im-blue); font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.im-gate h1 { margin: 12px 0; color: var(--im-navy); font-size: 36px; font-stretch: 85%; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.im-gate p { margin: 0 0 12px; color: var(--im-muted); }
.im-gate__refused { color: #8e1f14 !important; font-weight: 600; }
.im-gate__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

/* Phones */
@media (max-width: 640px) {
	:root { --im-gutter: 16px; }
	.im-split__text, .im-split__form { padding: 32px 16px; }
	.im-header__row { flex-wrap: wrap; column-gap: 8px; padding-top: 8px; padding-bottom: 8px; }
	.im-logo { font-size: 24px; }
	.im-header__quote { min-height: 40px; padding: 6px 10px; font-size: 14px; }
	.im-header__quote { order: 1; margin-left: auto; }
	.im-menu-toggle { display: inline-flex; align-items: center; justify-content: center; order: 2; margin-left: 0; }
	.im-header__quote + .im-menu-toggle { margin-left: 0; }
	.im-logo + .im-menu-toggle { margin-left: auto; }
	.im-header__menu { display: none; flex-basis: 100%; order: 3; flex-direction: column; align-items: stretch; padding-bottom: 8px; }
	.im-header__menu.is-open { display: flex; }
	.im-nav__list { flex-direction: column; }
	.im-header__actions { margin-left: 0; }
	.im-bar__search, .im-bar__chapter { flex: 1 1 100%; }
	.im-bar__chapter { width: 100%; }
	.im-bar__chapter select { flex: 1 1 0; width: 0; min-width: 0; max-width: none; }
	.im-reader__view { display: inline-flex; flex: 1 1 auto; }
	.im-reader__page { display: none; }
	.im-reader__book { flex-basis: 100%; }
	#im-book:not(.is-open) { display: none; }
	.im-reader { padding: 0; gap: 0; }
	.im-reader__table { flex-basis: 100%; }
	.im-table--cards { display: block; min-width: 0; }
	.im-table--cards thead { display: none; }
	.im-table--cards tbody, .im-table--cards tr { display: block; }
	.im-table--cards tr { padding: 12px 16px; border-bottom: 1px solid var(--im-line-soft); }
	.im-table--cards td, .im-table--cards td:first-child, .im-table--cards td:last-child { display: block; padding: 1px 0; border: 0; text-align: left; white-space: normal; }
	.im-table--cards .im-table__stock { display: inline; margin-right: 12px; color: var(--im-muted); font-size: 14px; }
	.im-table--cards .im-table__stock::before { content: attr(data-label) ' '; }
	.im-table--cards td.im-table__price { margin-top: 4px; font-size: 17px; }
	.im-table--cards .im-table__add { margin-top: 8px; }
	.im-table--cards .im-add { display: flex; }
	.im-table--cards .im-add__qty { width: 64px; height: 44px; }
	.im-table--cards .im-add .im-btn { flex: 1 1 auto; min-height: 44px; }
	.im-table--cards td.im-table__num, .im-table--cards td.im-table__num-text { display: inline; margin-right: 12px; font-size: 14px; }
	.im-table--cards td.im-table__found { min-width: 0; }
	.im-filter-search { width: 100%; }
	.im-tab { flex: 1 1 auto; }
	.im-doc { padding: 20px 16px; }
	.im-doc__title { text-align: left; }
	.im-page { padding-top: 20px; padding-bottom: 32px; }
	.im-steps { gap: 24px; }
}

/* Print */
@media print {
	.dont-print, .im-footer, dialog, .im-quote__bar { display: none !important; }
	.print-only { display: block; }
	body, body.home { background: #fff; font-size: 12pt; }
	.im-page, .im-page--doc, body.woocommerce-order-received .im-page { padding: 0; background: #fff; }
	.im-print-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16pt; }
	.im-print-head__brand { color: var(--im-navy); font-size: 22pt; }
	.im-print-head address { font-size: 10pt; font-style: normal; text-align: right; }
	body:has(.im-doc) .im-print-head { display: none; }
	.im-doc { padding: 0; border: 0; }
	.im-doc__next { background: none; color: inherit; border: 1pt solid var(--im-navy); }
	.im-doc__next a { color: inherit; }
	.im-table { min-width: 0; }
	.im-table tr { page-break-inside: avoid; }
	.im-table thead { display: table-header-group; }
	.im-print-from { margin-bottom: 16pt; }
}
