/* HEM Catalog: brand / machine-type cards and the Make / Type / Model finder.
   Colours are sRGB hex. Measured contrast: #FFFFFF on #10171C 18.08:1, #B8C4CC on #10171C 10.17:1,
   #FFFFFF on #0B5AA6 6.94:1, #E3EEF9 on #0B5AA6 5.9:1, #10171C on #FFFFFF 18.08:1,
   card border #7A8791 on #FFFFFF 3.68:1 and on #EDF1F4 3.24:1. */

.hem-hub{margin:40px 0 72px}
.hem-hub__title{margin:0 0 20px;color:#10171C;font-family:"Archivo",ui-sans-serif,system-ui,sans-serif;font-weight:800;font-size:28px;line-height:1.15;letter-spacing:-.01em}
/* Cards placed on a page with the shortcodes sit under that page's own heading. */
.elementor-widget-shortcode .hem-hub{margin:32px 0 0}

.hem-cards{display:grid;gap:14px;margin:0;padding:0;list-style:none}
.hem-cards--type{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}
.hem-cards--brand{grid-template-columns:repeat(auto-fill,minmax(152px,1fr))}
.hem-card{margin:0;padding:0}

/* Picture on top, name and count in a dark bar underneath. */
.hem-card__link{display:flex;flex-direction:column;height:100%;box-sizing:border-box;border:1px solid #7A8791;border-radius:10px;overflow:hidden;background:#FFFFFF;color:#10171C;text-decoration:none}
.hem-card__media{display:flex;flex:1 0 auto;align-items:center;justify-content:center;box-sizing:border-box;background:#FFFFFF}
.hem-card--type .hem-card__media{aspect-ratio:240/150;padding:10px 12px;background:#F4F7F9}
.hem-card--brand .hem-card__media{aspect-ratio:3/2;padding:14px 16px}
.hem-card__media img,.hem-card__media .hem-type{display:block;width:100%;height:100%;object-fit:contain}
.hem-card__bar{display:flex;flex-direction:column;justify-content:flex-end;gap:2px;box-sizing:border-box;height:86px;padding:10px 14px 12px;background:#10171C}
/* Every bar is two name lines tall, so a one-line name and a two-line name end level; longer names stop at two lines. */
.hem-card__bar .hem-card__name{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.hem-card__name{color:#FFFFFF;font-family:"Archivo",ui-sans-serif,system-ui,sans-serif;font-weight:700;font-size:17px;line-height:1.25}
.hem-card__count{color:#B8C4CC;font-size:14px;line-height:1.3;font-variant-numeric:tabular-nums}

/* Brands without a logo yet: the drawing of their main machine type, name in the bar like the rest. */
.hem-card--pict .hem-card__media{padding:10px 12px;background:#F4F7F9}

/* Hover and keyboard focus: the card lifts and glows blue, the same treatment as the homepage's manual-type cards.
   position + z-index put the lifted card's glow over its neighbours in the grid. */
.hem-card__link{position:relative;transition:transform 220ms cubic-bezier(.2,.7,.3,1),box-shadow 220ms ease-out,border-color 220ms ease-out}
.hem-card__bar,.hem-card__count{transition:background-color 220ms ease-out,color 220ms ease-out}
.hem-card__media img,.hem-card__media .hem-type{transition:transform 260ms cubic-bezier(.2,.7,.3,1)}
.hem-card__link:hover,.hem-card__link:focus-visible{z-index:1;border-color:#0B5AA6;box-shadow:0 0 0 1px #0B5AA6,0 0 28px 2px rgba(11,90,166,.38),0 26px 48px -26px rgba(16,23,28,.55);transform:translateY(-4px)}
.hem-card__link:hover .hem-card__media img,.hem-card__link:focus-visible .hem-card__media img,.hem-card__link:hover .hem-card__media .hem-type,.hem-card__link:focus-visible .hem-card__media .hem-type{transform:translateY(-3px)}
.hem-card__link:hover .hem-card__bar,.hem-card__link:focus-visible .hem-card__bar{background:#0B5AA6}
.hem-card__link:hover .hem-card__count,.hem-card__link:focus-visible .hem-card__count{color:#E3EEF9}
.hem-card__link:focus-visible{outline:2px solid #0B5AA6;outline-offset:2px}
@media (prefers-reduced-motion:reduce){
  .hem-card__link,.hem-card__media img,.hem-card__media .hem-type{transition:none}
  .hem-card__link:hover,.hem-card__link:focus-visible,.hem-card__link:hover .hem-card__media img,.hem-card__link:focus-visible .hem-card__media img,.hem-card__link:hover .hem-card__media .hem-type,.hem-card__link:focus-visible .hem-card__media .hem-type{transform:none}
}

/* Finder: the machine ID-plate panel (same rules as the homepage lookup it replaces). */
.hem2-plate{position:relative;margin:0;padding:30px 38px 26px;border:1px solid #AEB9C2;border-radius:16px;background:linear-gradient(180deg,#F8FAFB 0%,#E1E7EB 100%);box-shadow:inset 0 1px 0 #FFFFFF,0 12px 24px -12px rgba(4,8,10,.35),0 36px 72px -24px rgba(4,8,10,.55)}
.hem2-rivet{position:absolute;width:12px;height:12px;border-radius:50%;background:radial-gradient(circle at 35% 35%,#FFFFFF 0,#C9D1D7 45%,#8E9AA3 100%);box-shadow:0 1px 1px rgba(0,0,0,.28)}
.hem2-rivet--tl{top:14px;left:14px}
.hem2-rivet--tr{top:14px;right:14px}
.hem2-rivet--bl{bottom:14px;left:14px}
.hem2-rivet--br{bottom:14px;right:14px}
.hem2-plate__head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px 24px;margin-bottom:20px}
.hem2-plate .hem2-plate__title{margin:0;padding:0;color:#10171C;font-family:"Archivo",ui-sans-serif,system-ui,sans-serif;font-weight:800;font-stretch:125%;font-size:15px;line-height:1.2;letter-spacing:.14em;text-transform:uppercase}
.hem2-plate .hem2-plate__note{margin:0;color:#4A5762;font-size:15px;line-height:1.45}
.hem2-plate__fields{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) minmax(0,1fr) auto;gap:16px;align-items:end}
.hem2-plate__fields.hem2-plate__fields--2{grid-template-columns:minmax(0,1.15fr) minmax(0,1.3fr) auto}
.hem2-fld{position:relative;display:flex;flex-direction:column;gap:8px;min-width:0}
.hem2-plate .hem2-fld label{display:block;margin:0;padding:0;color:#10171C;font-family:"Archivo",ui-sans-serif,system-ui,sans-serif;font-weight:700;font-stretch:104%;font-size:15px;line-height:1.2;letter-spacing:0;text-transform:none}
.hem2-plate .hem2-fld input.hem2-inp,.hem2-plate .hem2-fld select.hem2-inp{display:block;box-sizing:border-box;width:100%;height:58px;min-height:58px;margin:0;padding:0 16px;border:1.5px solid #6F7E89;border-radius:8px;background-color:#FFFFFF;color:#10171C;font-family:"Atkinson Hyperlegible Next","Atkinson Hyperlegible",ui-sans-serif,system-ui,sans-serif;font-size:18px;font-weight:400;line-height:1.2;box-shadow:inset 0 1px 2px rgba(16,23,28,.08)}
.hem2-plate .hem2-fld select.hem2-inp{-webkit-appearance:none;appearance:none;padding-right:46px;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310171C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center;background-size:18px 18px}
.hem2-plate .hem2-fld .hem2-inp::placeholder{color:#5F6E79;opacity:1}
.hem2-plate .hem2-fld .hem2-inp:focus{border-color:#0B5AA6;outline:3px solid rgba(11,90,166,.28);outline-offset:0}
.hem2-plate .hem2-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;height:58px;margin:0;padding:0 30px;border:0;border-radius:8px;background-color:#0B5AA6;color:#FFFFFF;font-family:"Archivo",ui-sans-serif,system-ui,sans-serif;font-weight:700;font-stretch:104%;font-size:18px;line-height:1;letter-spacing:0;text-transform:none;white-space:nowrap;cursor:pointer;box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 8px 18px -8px rgba(11,90,166,.7);transition:background-color 140ms ease-out}
.hem2-plate .hem2-btn:hover,.hem2-plate .hem2-btn:focus{background-color:#08467F;color:#FFFFFF}
.hem2-plate .hem2-btn:focus-visible{outline:3px solid #10171C;outline-offset:2px}
.hem2-plate .hem2-btn[disabled]{cursor:progress;background-color:#08467F}
.hem2-search{position:relative;flex:none;width:16px;height:16px;margin-right:4px;border:2.5px solid currentColor;border-radius:50%}
.hem2-search::after{content:"";position:absolute;right:-6px;bottom:-7px;width:2.5px;height:8px;border-radius:2px;background:currentColor;transform:rotate(-45deg)}
.hem2-plate__foot{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 24px;margin-top:16px}
.hem2-plate .hem2-plate__foot p{margin:0;color:#4A5762;font-size:15px;line-height:1.45}
.hem2-plate .hem2-plate__foot a{color:#0B5AA6;font-weight:700;font-size:15px}
.hem2-plate .hem-results{margin-top:20px;border:1px solid #D6DDE3;border-radius:12px}
.hem2-plate .hem2-fld select.hem2-inp:disabled{background-color:#F1F4F6;color:#5E6B75;cursor:not-allowed}
.hem-finder{margin:0}
.hem-finder__status{margin:12px 0 0;color:#4A5762;font-size:15px}
.hem-finder__status:empty{display:none}
.hem-msearch{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin:18px 0 0;padding:16px 0 0;border-top:1px solid #AEB9C2}
.hem2-plate .hem-msearch label{margin:0;color:#10171C;font-family:"Archivo",ui-sans-serif,system-ui,sans-serif;font-weight:700;font-size:15px;line-height:1.2;letter-spacing:0;text-transform:none}
.hem-msearch__row{display:flex;flex:1 1 320px;gap:8px;min-width:0}
.hem2-plate .hem-msearch .hem2-inp{flex:1 1 auto;width:auto;min-width:0;height:46px;min-height:46px;padding:0 14px;border:1.5px solid #6F7E89;border-radius:8px;background:#FFFFFF;color:#10171C;font-size:16px}
.hem2-plate .hem-msearch .hem2-inp:focus{border-color:#0B5AA6;outline:3px solid rgba(11,90,166,.28);outline-offset:0}
.hem-msearch__go{height:46px;margin:0;padding:0 20px;border:1.5px solid #0B5AA6;border-radius:8px;background:#FFFFFF;color:#0B5AA6;font-family:"Archivo",ui-sans-serif,system-ui,sans-serif;font-weight:700;font-size:16px;cursor:pointer}
.hem-msearch__go:hover{background:#0B5AA6;color:#FFFFFF}
.hem-msearch__go:focus-visible{outline:3px solid #10171C;outline-offset:2px}

/* Listing button now opens the product page. */
.woocommerce ul.products li.product .button.hem-view-product{text-align:center}

/* Chips: jump links on manual-type pages and the manual-type filter.
   #4A5762 on #FFFFFF 7.4:1, #B8C4CC on #10171C 10.17:1, #0B5AA6 on #FFFFFF 6.94:1. */
.hem-hub{scroll-margin-top:calc(var(--wp-admin--admin-bar--height,0px) + 96px)}
.hem-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.hem-chips li{margin:0;padding:0}
.hem-chips a.hem-chip{display:inline-flex;align-items:center;gap:8px;box-sizing:border-box;min-height:42px;padding:8px 14px;border:1px solid #7A8791;border-radius:8px;background:#FFFFFF;color:#10171C;font-family:"Archivo",ui-sans-serif,system-ui,sans-serif;font-weight:600;font-size:15px;line-height:1.2;text-decoration:none}
.hem-chips .hem-chip__n{color:#4A5762;font-weight:500;font-size:14px;font-variant-numeric:tabular-nums}
.hem-chips .hem-chip__ic{flex:none;margin-left:-2px;color:#0B5AA6}
.hem-chips a.hem-chip[aria-current] .hem-chip__ic{color:#FFFFFF}
.hem-chips a.hem-chip:hover{border-color:#0B5AA6;color:#0B5AA6}
.hem-chips a.hem-chip:hover .hem-chip__n{color:#0B5AA6}
.hem-chips a.hem-chip:focus-visible{outline:2px solid #0B5AA6;outline-offset:2px}
.hem-chips a.hem-chip[aria-current]{border-color:#10171C;background:#10171C;color:#FFFFFF}
.hem-chips a.hem-chip[aria-current] .hem-chip__n{color:#B8C4CC}
.hem-jump{margin:28px 0 0}

/* Filter panel above hub cards and brand + type product lists. */
.hem-filters{display:grid;gap:14px;margin:28px 0 24px;padding:18px 20px;border:1px solid #D6DDE3;border-radius:10px;background:#F4F7F9}
.hem-filters__row{display:grid;grid-template-columns:120px minmax(0,1fr);gap:8px 16px;align-items:center}
.hem-filters .hem-filters__label{display:block;margin:0;padding:0;color:#10171C;font-family:"Archivo",ui-sans-serif,system-ui,sans-serif;font-weight:700;font-size:15px;line-height:1.2;letter-spacing:0;text-transform:none}
.hem-filters .hem-filters__form{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;margin:0}
.hem-filters select.hem-filters__select{box-sizing:border-box;width:auto;min-width:260px;max-width:100%;height:44px;margin:0;padding:0 42px 0 14px;border:1.5px solid #6F7E89;border-radius:8px;background:#FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310171C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center/16px 16px;color:#10171C;font-size:16px;line-height:1.2;-webkit-appearance:none;appearance:none;cursor:pointer}
.hem-filters select.hem-filters__select:focus{border-color:#0B5AA6;outline:3px solid rgba(11,90,166,.28);outline-offset:0}
.hem-filters .hem-filters__form .hem-filters__go{height:44px;margin:0;padding:0 18px;border:0;border-radius:8px;background:#0B5AA6;color:#FFFFFF;font-family:"Archivo",ui-sans-serif,system-ui,sans-serif;font-weight:700;font-size:16px;line-height:1;letter-spacing:0;text-transform:none;cursor:pointer}
.hem-filters .hem-filters__form .hem-filters__go:hover,.hem-filters .hem-filters__form .hem-filters__go:focus{background:#08467F;color:#FFFFFF}
.hem-filters .hem-filters__form .hem-filters__go:focus-visible{outline:3px solid #10171C;outline-offset:2px}
.hem-filters a.hem-filters__clear{color:#0B5AA6;font-weight:600;font-size:15px;text-decoration:underline;text-underline-offset:3px}
.hem-filters + .hem-hub{margin-top:28px}

@media (max-width:1024px){
  .hem2-plate__fields{grid-template-columns:repeat(3,minmax(0,1fr))}
  .hem2-plate .hem2-btn{grid-column:1/-1;width:100%}
}
@media (max-width:767px){
  .hem-hub{margin:28px 0 56px}
  .elementor-widget-shortcode .hem-hub{margin:24px 0 0}
  .hem-hub__title{font-size:22px}
  .hem-cards{gap:10px}
  .hem-cards--type{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hem-cards--brand{grid-template-columns:repeat(3,minmax(0,1fr))}
  .hem-card__bar{height:78px;padding:8px 10px 10px}
  .hem-card__name{font-size:15px}
  .hem-card__count{font-size:13px}
  .hem-card--brand .hem-card__media{padding:10px 8px}
  .hem2-plate{padding:24px 18px 30px}
  .hem2-plate__fields{grid-template-columns:minmax(0,1fr)}
  .hem2-plate .hem2-btn{width:100%}
  .hem-filters{padding:14px}
  .hem-filters__row{grid-template-columns:minmax(0,1fr)}
  .hem-filters select.hem-filters__select{flex:1 1 100%;width:100%;min-width:0}
  .hem-filters .hem-filters__form .hem-filters__go{flex:1 1 auto}
  .hem-chips a.hem-chip{min-height:44px}
}

/* Buttons: the theme's own radius variables, set to its 'rounded' preset (12px) on the shop areas, so every
   WooCommerce button there is rounded the same way. Pressed state and focus ring on the two buttons people use most. */
.woocommerce ul.products,.woocommerce div.product,.woocommerce-page .woocommerce,.hem-buy{--ehc-button-border-top-left-radius:var(--ehc-button-border-radius-rounded,12px);--ehc-button-border-top-right-radius:var(--ehc-button-border-radius-rounded,12px);--ehc-button-border-bottom-left-radius:var(--ehc-button-border-radius-rounded,12px);--ehc-button-border-bottom-right-radius:var(--ehc-button-border-radius-rounded,12px)}
.woocommerce ul.products li.product a.button.hem-view-product,.woocommerce div.product form.cart .single_add_to_cart_button{box-shadow:inset 0 -3px 0 rgba(4,8,10,.24);transition:background-color 140ms ease-out,transform 80ms ease-out,box-shadow 80ms ease-out}
.woocommerce ul.products li.product a.button.hem-view-product:hover,.woocommerce div.product form.cart .single_add_to_cart_button:hover{background-color:#08467F;color:#FFFFFF}
.woocommerce ul.products li.product a.button.hem-view-product:active,.woocommerce div.product form.cart .single_add_to_cart_button:active{transform:translateY(1px);box-shadow:inset 0 -1px 0 rgba(4,8,10,.24)}
.woocommerce ul.products li.product a.button.hem-view-product:focus-visible,.woocommerce div.product form.cart .single_add_to_cart_button:focus-visible{outline:3px solid #10171C;outline-offset:2px}
@media (prefers-reduced-motion:reduce){.woocommerce ul.products li.product a.button.hem-view-product,.woocommerce div.product form.cart .single_add_to_cart_button{transition:none}}

/* ---------- Machine cards: each drawing does its job on hover (HEM_Catalog::type_inline) ----------
   The moving parts are grouped in the drawings (assets/types, class hm-*): forks run up the mast, the dump body
   tips, booms and arms lift, buckets curl, blades rise, gears, pulleys and reels turn, tractors and trucks drive a
   little way. Transitions only, so letting go plays the move back smoothly; the two compaction machines vibrate
   (a few px) while the card is hovered. Pivots are in the drawing's own units (viewBox 240 x 150). */
.hem-type [class^="hm-"],.hem-type [class*=" hm-"]{transition:transform 650ms cubic-bezier(.3,.7,.2,1),opacity 300ms ease}
@keyframes hm-hop{50%{transform:translateY(-4px)}}
@keyframes hm-buzz{25%{transform:translateX(-1.2px)}75%{transform:translateX(1.2px)}}
.hem-type--forklifts .hm-lift{transform-origin:165px 100px}
.hem-card__link:is(:hover,:focus-visible) .hem-type--forklifts .hm-lift{transform:translateY(-44px)}
.hem-type--excavators .hm-arm{transform-origin:126px 94px}
.hem-card__link:is(:hover,:focus-visible) .hem-type--excavators .hm-arm{transform:rotate(-9deg)}
.hem-type--excavators .hm-bucket{transform-origin:201px 100px}
.hem-card__link:is(:hover,:focus-visible) .hem-type--excavators .hm-bucket{transform:rotate(34deg)}
.hem-type--wheel-loaders .hm-arm{transform-origin:114px 88px}
.hem-card__link:is(:hover,:focus-visible) .hem-type--wheel-loaders .hm-arm{transform:rotate(-15deg)}
.hem-type--wheel-loaders .hm-bucket{transform-origin:188px 74px}
.hem-card__link:is(:hover,:focus-visible) .hem-type--wheel-loaders .hm-bucket{transform:rotate(-20deg)}
.hem-type--dozers .hm-blade{transform-origin:150px 104px}
.hem-card__link:is(:hover,:focus-visible) .hem-type--dozers .hm-blade{transform:rotate(-7deg)}
.hem-type--dump-trucks-dumpers .hm-ram{transform-origin:132px 104px}
.hem-card__link:is(:hover,:focus-visible) .hem-type--dump-trucks-dumpers .hm-ram{transform:rotate(-23.30deg)}
.hem-type--dump-trucks-dumpers .hm-ramx{transform-origin:132px 104px}
.hem-card__link:is(:hover,:focus-visible) .hem-type--dump-trucks-dumpers .hm-ramx{transform:scaleX(2.410)}
.hem-type--dump-trucks-dumpers .hm-body{transform-origin:40px 96px}
.hem-card__link:is(:hover,:focus-visible) .hem-type--dump-trucks-dumpers .hm-body{transform:rotate(-19deg)}
.hem-type--backhoe-loaders .hm-hoe{transform-origin:54px 92px}
.hem-card__link:is(:hover,:focus-visible) .hem-type--backhoe-loaders .hm-hoe{transform:rotate(-9deg)}
.hem-type--backhoe-loaders .hm-scoop{transform-origin:20px 100px}
.hem-card__link:is(:hover,:focus-visible) .hem-type--backhoe-loaders .hm-scoop{transform:rotate(28deg)}
.hem-type--skid-steers-track-loaders .hm-ram{transform-origin:54px 100px}
.hem-card__link:is(:hover,:focus-visible) .hem-type--skid-steers-track-loaders .hm-ram{transform:rotate(-6.70deg)}
.hem-type--skid-steers-track-loaders .hm-ramx{transform-origin:54px 100px}
.hem-card__link:is(:hover,:focus-visible) .hem-type--skid-steers-track-loaders .hm-ramx{transform:scaleX(1.072)}
.hem-type--skid-steers-track-loaders .hm-arm{transform-origin:52px 64px}
.hem-card__link:is(:hover,:focus-visible) .hem-type--skid-steers-track-loaders .hm-arm{transform:rotate(-12deg)}
.hem-type--motor-graders .hm-blade{transform-origin:145px 122px}
.hem-card__link:is(:hover,:focus-visible) .hem-type--motor-graders .hm-blade{transform:translateY(-7px) rotate(-4deg)}
.hem-type--telehandlers .hm-ram{transform-origin:116px 95px}
.hem-card__link:is(:hover,:focus-visible) .hem-type--telehandlers .hm-ram{transform:rotate(-39.58deg)}
.hem-type--telehandlers .hm-ramx{transform-origin:116px 95px}
.hem-card__link:is(:hover,:focus-visible) .hem-type--telehandlers .hm-ramx{transform:scaleX(2.008)}
.hem-type--telehandlers .hm-boom{transform-origin:44px 97px}
.hem-card__link:is(:hover,:focus-visible) .hem-type--telehandlers .hm-boom{transform:rotate(-18deg)}
.hem-type--telehandlers .hm-ext{transform-origin:0px 0px}
.hem-card__link:is(:hover,:focus-visible) .hem-type--telehandlers .hm-ext{transform:translate(23.6px,-4.2px)}
.hem-type--telehandlers .hm-fork{transform-origin:191.721px 70.9528px}
.hem-card__link:is(:hover,:focus-visible) .hem-type--telehandlers .hm-fork{transform:rotate(18deg)}
.hem-type--mining-equipment .hm-boom{transform-origin:141px 102px}
.hem-card__link:is(:hover,:focus-visible) .hem-type--mining-equipment .hm-boom{transform:rotate(-7deg)}
.hem-type--mining-equipment .hm-bucket{transform-origin:208px 86px}
.hem-card__link:is(:hover,:focus-visible) .hem-type--mining-equipment .hm-bucket{transform:rotate(-18deg)}
.hem-type--farm-tractors .hm-drive{transform-origin:0px 0px}
.hem-card__link:is(:hover,:focus-visible) .hem-type--farm-tractors .hm-drive{transform:translateX(16px)}
.hem-type--farm-tractors .hm-wr{transform-origin:80px 100px}
.hem-card__link:is(:hover,:focus-visible) .hem-type--farm-tractors .hm-wr{transform:rotate(28deg)}
.hem-type--farm-tractors .hm-wf{transform-origin:176px 114px}
.hem-card__link:is(:hover,:focus-visible) .hem-type--farm-tractors .hm-wf{transform:rotate(48deg)}
.hem-type--farm-tractors .hm-puff{transform-origin:154px 34px}
.hem-card__link:is(:hover,:focus-visible) .hem-type--farm-tractors .hm-puff{transform:translate(18px,-16px) scale(1.6);opacity:.9}
.hem-type--combines-headers .hm-reel{transform-origin:208px 90px;transition-duration:1200ms}
.hem-card__link:is(:hover,:focus-visible) .hem-type--combines-headers .hm-reel{transform:rotate(180deg)}
.hem-type--lawn-garden-tractors .hm-drive{transform-origin:0px 0px}
.hem-card__link:is(:hover,:focus-visible) .hem-type--lawn-garden-tractors .hm-drive{transform:translateX(16px)}
.hem-type--lawn-garden-tractors .hm-wr{transform-origin:70px 111px}
.hem-card__link:is(:hover,:focus-visible) .hem-type--lawn-garden-tractors .hm-wr{transform:rotate(44deg)}
.hem-type--lawn-garden-tractors .hm-wf{transform-origin:180px 119px}
.hem-card__link:is(:hover,:focus-visible) .hem-type--lawn-garden-tractors .hm-wf{transform:rotate(71deg)}
.hem-type--engines-generators .hm-p1{transform-origin:190px 106px;transition-duration:1400ms}
.hem-card__link:is(:hover,:focus-visible) .hem-type--engines-generators .hm-p1{transform:rotate(360deg)}
.hem-type--engines-generators .hm-p2{transform-origin:188px 70px;transition-duration:1400ms}
.hem-card__link:is(:hover,:focus-visible) .hem-type--engines-generators .hm-p2{transform:rotate(600deg)}
.hem-type--transmissions-axles .hm-g1{transform-origin:98px 82px;transition-duration:1400ms}
.hem-card__link:is(:hover,:focus-visible) .hem-type--transmissions-axles .hm-g1{transform:rotate(90deg)}
.hem-type--transmissions-axles .hm-g2{transform-origin:138px 96px;transition-duration:1400ms}
.hem-card__link:is(:hover,:focus-visible) .hem-type--transmissions-axles .hm-g2{transform:rotate(-132deg)}
.hem-type--trucks .hm-drive{transform-origin:0px 0px}
.hem-card__link:is(:hover,:focus-visible) .hem-type--trucks .hm-drive{transform:translateX(12px)}
.hem-type--trucks .hm-w1{transform-origin:70px 114px}
.hem-card__link:is(:hover,:focus-visible) .hem-type--trucks .hm-w1{transform:rotate(40deg)}
.hem-type--trucks .hm-w2{transform-origin:104px 114px}
.hem-card__link:is(:hover,:focus-visible) .hem-type--trucks .hm-w2{transform:rotate(40deg)}
.hem-type--trucks .hm-w3{transform-origin:186px 114px}
.hem-card__link:is(:hover,:focus-visible) .hem-type--trucks .hm-w3{transform:rotate(40deg)}
.hem-type--trucks .hm-puff{transform-origin:138px 24px}
.hem-card__link:is(:hover,:focus-visible) .hem-type--trucks .hm-puff{transform:translate(14px,-14px) scale(1.6);opacity:.9}
.hem-type--other-equipment .hm-drive{transform-origin:0px 0px}
.hem-card__link:is(:hover,:focus-visible) .hem-type--other-equipment .hm-drive{transform:translateX(16px)}
.hem-type--other-equipment .hm-w1{transform-origin:72px 114px}
.hem-card__link:is(:hover,:focus-visible) .hem-type--other-equipment .hm-w1{transform:rotate(54deg)}
.hem-type--other-equipment .hm-w2{transform-origin:170px 114px}
.hem-card__link:is(:hover,:focus-visible) .hem-type--other-equipment .hm-w2{transform:rotate(54deg)}
.hem-type--light-equipment .hm-imp{transform-origin:86px 110px;transition-duration:1600ms}
.hem-card__link:is(:hover,:focus-visible) .hem-type--light-equipment .hm-imp{transform:rotate(720deg)}
.hem-type--light-equipment .hm-water{transform-origin:114px 86px}
.hem-card__link:is(:hover,:focus-visible) .hem-type--light-equipment .hm-water{opacity:1}
.hem-type--aerial-work-platforms .hm-ram{transform-origin:78px 96px}
.hem-card__link:is(:hover,:focus-visible) .hem-type--aerial-work-platforms .hm-ram{transform:rotate(-6.23deg)}
.hem-type--aerial-work-platforms .hm-ramx{transform-origin:78px 96px}
.hem-card__link:is(:hover,:focus-visible) .hem-type--aerial-work-platforms .hm-ramx{transform:scaleX(1.012)}
.hem-type--aerial-work-platforms .hm-boom{transform-origin:96px 80px}
.hem-card__link:is(:hover,:focus-visible) .hem-type--aerial-work-platforms .hm-boom{transform:rotate(-12deg)}
.hem-type--aerial-work-platforms .hm-fly{transform-origin:0px 0px}
.hem-card__link:is(:hover,:focus-visible) .hem-type--aerial-work-platforms .hm-fly{transform:translate(14.6px,-6.6px)}
.hem-type--aerial-work-platforms .hm-basket{transform-origin:188px 38px}
.hem-card__link:is(:hover,:focus-visible) .hem-type--aerial-work-platforms .hm-basket{transform:rotate(12deg)}
.hem-type--balers-hay-tools .hm-bale{transform-origin:0px 0px}
.hem-card__link:is(:hover,:focus-visible) .hem-type--balers-hay-tools .hm-bale{transform:translateX(-12px)}
.hem-type--balers-hay-tools .hm-fly{transform-origin:150px 60px;transition-duration:1400ms}
.hem-card__link:is(:hover,:focus-visible) .hem-type--balers-hay-tools .hm-fly{transform:rotate(270deg)}
.hem-type--paving-compaction .hm-rammer{transform-origin:174px 128px}
.hem-card__link:is(:hover,:focus-visible) .hem-type--paving-compaction .hm-rammer{animation:hm-hop 220ms ease-in-out infinite}
.hem-type--paving-compaction .hm-plate{transform-origin:80px 128px}
.hem-card__link:is(:hover,:focus-visible) .hem-type--paving-compaction .hm-plate{animation:hm-buzz 90ms linear infinite}
.hem-type--planters-sprayers .hm-disc{transform-box:fill-box;transform-origin:50% 50%;transition-duration:1300ms}
.hem-card__link:is(:hover,:focus-visible) .hem-type--planters-sprayers .hm-disc{transform:rotate(180deg)}
.hem-type--planters-sprayers .hm-seed{transform-origin:0px 0px}
.hem-card__link:is(:hover,:focus-visible) .hem-type--planters-sprayers .hm-seed{transform:translateY(22px);opacity:1}
@media (prefers-reduced-motion:reduce){
  .hem-type [class^="hm-"],.hem-type [class*=" hm-"]{transition:none;animation:none!important;transform:none!important}
}

/* ---------- Manual lookup on list and product pages (finder_block) ---------- */
.hem-finder-wrap{margin:28px 0 36px}
/* The product page is a two-column grid; the lookup spans both, like the related manuals above it. */
.hem-finder-wrap--product{grid-column:1/-1;margin:64px 0 24px}
@media (max-width:767px){
  .hem-finder-wrap{margin:20px 0 28px}
  .hem-finder-wrap--product{margin-top:44px}
}

/* ---------- Drawing in list-page headings (HEM_Page_Art) ----------
   Replaces the shared picture (the Additional CSS sets that one on ::after, which is hidden while this drawing is
   in the header). Strokes are sRGB hex on the header's #0E1418: #7E98AE 6.17:1, #5F7A90 4.13:1, #3E8EDB 5.39:1
   (before the opacity below); the drawing is decoration (aria-hidden), so it is kept quiet.
   It never sits under the heading or the description:
   - 768 px and wider: bottom right, in a box --hem-pa-w wide. A machine gets the space the description's 60ch
     column (749 px at 18 px) leaves on wide screens, never under 240 px; a manual type's cover gets 196 px.
     The heading and the description keep clear of that box. The box is never taller than the header less 16 px
     above and 8 px below, so a short header never clips the drawing; the SVG keeps its proportions and sits bottom
     right in the box.
   - phones: on its own strip under the description, right-aligned. */
body.woocommerce.archive .site-main > .woocommerce-products-header:has(> .hem-pa)::after{content:none}
body.woocommerce.archive .woocommerce-products-header:has(> .hem-pa){--hem-pa-w:clamp(240px,calc(100% - 790px),620px)}
body.woocommerce.archive .woocommerce-products-header > .hem-pa{position:absolute;right:0;bottom:8px;z-index:0;width:var(--hem-pa-w);height:auto;max-height:calc(100% - 24px);aspect-ratio:1200/420;opacity:.62;pointer-events:none}
body.woocommerce.archive .woocommerce-products-header:has(> .hem-pa) > .term-description{max-width:min(60ch,calc(100% - var(--hem-pa-w) - 32px))}
body.woocommerce.archive .woocommerce-products-header:has(> .hem-pa) > .page-title{max-width:calc(100% - var(--hem-pa-w) - 32px)}
@media (max-width:767px){
  body.woocommerce.archive .woocommerce-products-header > .hem-pa{position:relative;right:auto;bottom:auto;display:block;width:160px;max-width:100%;max-height:none;margin:12px 0 -16px auto}
  body.woocommerce.archive .woocommerce-products-header:has(> .hem-pa) > .term-description{max-width:60ch}
  body.woocommerce.archive .woocommerce-products-header:has(> .hem-pa) > .page-title{max-width:none}
}
.hem-pa__svg{display:block;width:100%;height:100%;overflow:visible}
.hem-pa__m *{fill:none;stroke:#7E98AE;stroke-width:1.5px;vector-effect:non-scaling-stroke}
.hem-pa__m [stroke="none"]{fill:#7E98AE;stroke:none}
.hem-pa__m [stroke="#0B5AA6"],.hem-pa__m [fill="#0B5AA6"]{stroke:#3E8EDB}
.hem-pa__ground{fill:none;stroke:#3A4C5B;stroke-width:1.5px;stroke-dasharray:3 7;vector-effect:non-scaling-stroke}
.hem-pa__dim,.hem-pa__ext{fill:none;stroke:#5F7A90;stroke-width:1px;vector-effect:non-scaling-stroke}
.hem-pa__arrow{fill:#5F7A90;stroke:none}
.hem-pa__cl{fill:none;stroke:#4A6378;stroke-width:1px;stroke-dasharray:14 4 3 4;vector-effect:non-scaling-stroke}
.hem-pa__brand{fill:none;stroke:#5F7A90;stroke-width:1.5px;vector-effect:non-scaling-stroke;font-family:"Archivo",ui-sans-serif,system-ui,sans-serif;font-weight:800;letter-spacing:.02em}
/* Manual-type pages: that type's manual cover, the one the homepage shows for it, lit for the dark header (the hero
   manuals' colours) and glowing in its spine colour. Full opacity: the cover is the picture of what the page lists.
   It is 196 x 230 px, so these headers are at least 262 px tall (border-box) to hold it 16 px from the top and bottom.
   Label #C6D3DD on the cover's #1C2A36: 9.6:1. */
body.woocommerce.archive .woocommerce-products-header:has(> .hem-pa--book){--hem-pa-w:196px;min-height:262px}
body.woocommerce.archive .woocommerce-products-header > .hem-pa--book{right:14px;bottom:16px;max-height:none;aspect-ratio:256/300;opacity:1;transform:rotate(3deg);transform-origin:50% 100%}
/* The halo stays within 14 px of the cover sideways: the cover sits 14 px in from the header's edge, and anything
   further out would make the page scroll sideways. */
.hem-pa--book::before{content:"";position:absolute;inset:-14% -7% -10%;z-index:-1;background:radial-gradient(closest-side,var(--book-halo),transparent);pointer-events:none}
.hem-pa--book .hem3-cover{filter:drop-shadow(0 16px 20px rgba(0,0,0,.55)) drop-shadow(0 0 18px var(--book-glow))}
.hem-pa .hem3-cover__pages{fill:#DCE3E9}
.hem-pa .hem3-cover__leaves{fill:none;stroke:#A9B5BF;stroke-width:1}
.hem-pa .hem3-cover__book{fill:#1C2A36;stroke:#3A4F61;stroke-width:1.5}
.hem-pa .hem3-cover__sheen{fill:#FFFFFF;opacity:.035}
.hem-pa .hem3-cover__spine{fill:var(--spine)}
.hem-pa .hem3-cover__hinge{fill:none;stroke:#0B1116;stroke-width:1.5;opacity:.6}
.hem-pa .hem3-cover__label{fill:#C6D3DD;font-family:"Archivo",ui-sans-serif,system-ui,sans-serif;font-weight:700;font-size:10.5px;letter-spacing:.1em}
.hem-pa .hem3-cover__pdf{fill:none;stroke:#6E7F8C;stroke-width:1.2}
.hem-pa .hem3-cover__pdft{fill:#C6D3DD;font-family:"Archivo",ui-sans-serif,system-ui,sans-serif;font-weight:700;font-size:9.5px;text-anchor:middle}
.hem-pa .hem3-cover__frame,.hem-pa .hem3-cover__tb{fill:none;stroke:#2C3D4B;stroke-width:1}
.hem-pa .hem3-cover__ticks{fill:none;stroke:#3A4F61;stroke-width:1}
.hem-pa .hem3-cover__tl{fill:none;stroke:#3A4F61;stroke-width:2.2;stroke-linecap:round}
/* Phones: the cover and a brand's line-up sit on the strip under the description like the other pictures; these
   come after the rules above so they win. */
@media (max-width:767px){
  body.woocommerce.archive .woocommerce-products-header:has(> .hem-pa--book){min-height:0}
  body.woocommerce.archive .woocommerce-products-header > .hem-pa--book{right:auto;bottom:auto;width:76px;margin-right:8px}
  /* A brand's line-up of machines needs more width than one machine to stay legible. */
  body.woocommerce.archive .woocommerce-products-header > .hem-pa--lineup{width:min(100%,260px)}
}
/* The manual-type drawings use the homepage covers' classes; same roles, same colours. */
.hem-pa__art{stroke:#9CC3EA;stroke-linecap:round;stroke-linejoin:round}
.hem-pa__art .s2{stroke:#6F8FAD;stroke-width:1.2}
.hem-pa__art .h{stroke:#3F5B74;stroke-width:1}
.hem-pa__art .h2{fill:#2B3E4E;stroke:none}
.hem-pa__art .cl{stroke:#5F7F9C;stroke-width:1;stroke-dasharray:10 3 2 3}
.hem-pa__art .dm{stroke:#C6D3DD;stroke-width:1}
.hem-pa__art .dma,.hem-pa__art .dot,.hem-pa__art .jn{fill:#C6D3DD;stroke:none}
.hem-pa__art .bd,.hem-pa__art .gr{fill:#1E2C38}
.hem-pa__art .bd{stroke:none}
.hem-pa__art .th{fill:#243545;stroke:none}
.hem-pa__art .tl{stroke:#4C6A84;stroke-width:3}
.hem-pa__art .a{stroke:var(--spine)}
.hem-pa__art .af{fill:var(--spine);stroke:none}
.hem-pa__art .lp{fill:var(--spine);stroke:#18222A;stroke-width:1.5}
.hem-pa__art .bal{fill:#18222A;stroke:var(--spine);stroke-width:1.6}
.hem-pa__art .dc{stroke:#C6D3DD;stroke-width:1;stroke-dasharray:4 3}
.hem-pa__art .dc2{stroke:#C6D3DD;stroke-width:1.2}
.hem-pa__art .car{stroke:var(--spine);stroke-width:6;opacity:.5}
.hem-pa__art .ml{color:#9CC3EA}
.hem-pa__art text{stroke:none;font-family:"Archivo",ui-sans-serif,system-ui,sans-serif}
.hem-pa__art .n{fill:#FFFFFF;font-weight:800;font-size:10.5px}
.hem-pa__art .t{fill:#FFFFFF;font-weight:800;font-size:12px}
.hem-pa__art .t2{fill:#C6D3DD;font-weight:700;font-size:9px}
.hem-pa__art .t3{fill:#8FA7BC;font-weight:700;font-size:7.5px;letter-spacing:.06em}
