/* Tools and safety vertical slice. Existing Woo URLs and commerce data remain authoritative. */
body.em26-category--tools {
  --em26tools-accent: var(--em26-turquoise);
  --em26tools-soft: color-mix(in srgb, var(--em26-turquoise) 8%, var(--em26-surface));
  --em26tools-shadow: 0 1px 2px rgba(22, 53, 61, 0.05), 0 14px 34px rgba(22, 53, 61, 0.09);
}

.em26-category-hero--tools { border-bottom-color: var(--em26tools-accent); }
.em26-category-hero--tools .em26-category-hero__trust { border-left-color: var(--em26tools-accent); }







.em26-tools-landing { padding-block: clamp(2rem, 5vw, 4.5rem); }
.em26-tools-landing__header { max-width: 68rem; }
.em26-tools-landing__header h2 { max-width: 18ch; margin: 0; font-size: clamp(2rem, 1.35rem + 2.2vw, 3.4rem); line-height: 1.05; letter-spacing: -.04em; text-wrap: balance; }
.em26-tools-landing__header > p:last-child { max-width: 72ch; margin: 1rem 0 0; color: var(--em26-muted); font-size: 1rem; line-height: 1.7; }

.em26-tools-routes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: clamp(1.5rem, 4vw, 3rem); }
.em26-tools-route { --em26tools-route-accent: var(--em26-turquoise); position: relative; min-width: 0; min-height: 19rem; display: grid; grid-template-rows: auto 1fr auto auto 1fr auto; gap: .65rem; padding: 1.4rem; overflow: hidden; border: 1px solid var(--em26-border); border-top: 4px solid var(--em26tools-route-accent); border-radius: var(--em26-radius-card); background: var(--em26-surface); box-shadow: var(--em26tools-shadow); color: var(--em26-ink); text-decoration: none; transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.em26-tools-route--workspace,
.em26-tools-route--finishing { --em26tools-route-accent: var(--em26-cobalt); }
.em26-tools-route--uv { --em26tools-route-accent: var(--em26-saffron); }
.em26-tools-route--safety,
.em26-tools-route--repair { --em26tools-route-accent: var(--em26-magenta); }
.em26-tools-route:hover,
.em26-tools-route:focus-visible { transform: translateY(-3px); border-color: color-mix(in srgb, var(--em26tools-route-accent) 58%, var(--em26-border)); box-shadow: 0 18px 42px rgba(22,53,61,.14); }
.em26-tools-route:focus-visible,
.em26-tools-family-nav a:focus-visible,
.em26-tools-product a:focus-visible { outline: 3px solid var(--em26-cobalt); outline-offset: 3px; }
.em26-tools-route__number { color: var(--em26tools-route-accent); font-family: var(--em26-font-mono); font-size: .78rem; font-weight: 800; }
.em26-tools-route__glyph { position: relative; width: 4.75rem; height: 3.35rem; }





.em26-tools-route > strong { align-self: end; max-width: 18ch; font-size: clamp(1.35rem, 1.1rem + .8vw, 2rem); line-height: 1.08; letter-spacing: -.025em; text-wrap: balance; }
.em26-tools-route > p { margin: 0; color: var(--em26-muted); font-size: .94rem; line-height: 1.6; }
.em26-tools-route > small { align-self: end; color: var(--em26-muted); font-family: var(--em26-font-mono); font-size: .72rem; font-weight: 700; line-height: 1.45; }
.em26-tools-route__action { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: .9rem; border-top: 1px solid var(--em26-border); font-size: .88rem; font-weight: 800; }

.em26-tools-groups { display: grid; gap: clamp(3rem, 7vw, 6rem); margin-top: clamp(4rem, 8vw, 7rem); }
.em26-tools-group { scroll-margin-top: 7rem; }
.em26-tools-group__header { display: grid; grid-template-columns: minmax(14rem, .8fr) minmax(18rem, 1.2fr); column-gap: clamp(2rem, 5vw, 5rem); align-items: end; margin-bottom: 1.4rem; padding-bottom: 1rem; border-bottom: 1px solid var(--em26-border); }
.em26-tools-group__header .em26-eyebrow { grid-column: 1 / -1; }
.em26-tools-group__header h2 { margin: 0; font-size: clamp(1.8rem, 1.35rem + 1.5vw, 2.8rem); line-height: 1.08; letter-spacing: -.035em; }
.em26-tools-group__header > p:last-child { max-width: 66ch; margin: 0; color: var(--em26-muted); line-height: 1.65; }
.em26-tools-products { display: block; min-width: 0; }
body.em26-category--tools .em26-tools-products .woocommerce { width: 100%; }
body.em26-category--tools .em26-tools-products ul.products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; align-items: stretch; width: 100%; margin: 0; padding: 0; }
body.em26-category--tools .em26-tools-products ul.products::before,
body.em26-category--tools .em26-tools-products ul.products::after { display: none; }
body.em26-category--tools .em26-tools-products ul.products li.product { float: none !important; width: auto !important; min-width: 0; margin: 0 !important; }
.em26-tools-product { min-width: 0; display: flex; height: 100%; flex-direction: column; overflow: hidden; border: 1px solid var(--em26-border); border-radius: var(--em26-radius-card); background: var(--em26-surface); box-shadow: 0 8px 24px rgba(22,53,61,.07); }
.em26-tools-product__image { display: block; padding: .75rem; border-bottom: 1px solid var(--em26-border); background: color-mix(in srgb, var(--em26-paper) 78%, #fff); }
.em26-tools-product__image img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; border-radius: calc(var(--em26-radius-card) - .35rem); }
.em26-tools-product__body { display: flex; flex: 1; flex-direction: column; gap: .75rem; padding: 1rem; }
.em26-tools-product__stock { align-self: flex-start; padding: .3rem .55rem; border-radius: 999px; background: color-mix(in srgb, var(--em26-turquoise) 12%, var(--em26-surface)); color: var(--em26-ink); font-family: var(--em26-font-mono); font-size: .68rem; font-weight: 800; line-height: 1.2; text-transform: uppercase; }
.em26-tools-product__stock--out-of-stock { background: color-mix(in srgb, var(--em26-magenta) 10%, var(--em26-surface)); color: color-mix(in srgb, var(--em26-magenta) 76%, var(--em26-ink)); }
.em26-tools-product h3 { min-height: 3.8em; margin: 0; font-size: 1rem; line-height: 1.28; overflow-wrap: break-word; }
.em26-tools-product h3 a { color: inherit; text-decoration: none; }
.em26-tools-product__price { margin-top: auto; color: var(--em26-ink); font-size: 1rem; font-weight: 800; }
.em26-tools-product__action { display: flex; justify-content: space-between; gap: 1rem; padding-top: .75rem; border-top: 1px solid var(--em26-border); color: var(--em26-cobalt); font-size: .86rem; font-weight: 800; text-decoration: none; }

.em26-tools-family-nav { display: flex; gap: .55rem; margin-block: 1.5rem 2rem; padding-block: .25rem .65rem; overflow-x: auto; scrollbar-width: thin; }
.em26-tools-family-nav a { flex: 0 0 auto; min-height: 2.75rem; display: inline-flex; align-items: center; padding: .65rem .9rem; border: 1px solid var(--em26-border); border-radius: 999px; background: var(--em26-surface); color: var(--em26-ink); font-size: .875rem; font-weight: 750; text-decoration: none; }
.em26-tools-family-nav a:hover,
.em26-tools-family-nav a[aria-current="page"] { border-color: var(--em26tools-accent); background: var(--em26tools-soft); }

body.em26-category--tools .products { align-items: stretch; }
body.em26-category--tools .products .product { display: flex; min-width: 0; height: 100%; flex-direction: column; }
body.em26-category--tools .products .product img { width: 100%; aspect-ratio: 1; object-fit: contain; }
body.em26-category--tools .products .product .woocommerce-loop-product__title { min-height: 3.4em; overflow-wrap: break-word; }
body.em26-category--tools .products .product .button { margin-top: auto; }

@media (max-width: 68rem) {
  .em26-tools-routes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.em26-category--tools .em26-tools-products ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 47.99rem) {
  .em26-tools-routes,
  .em26-tools-group__header { grid-template-columns: 1fr; }
  body.em26-category--tools .em26-tools-products ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .em26-tools-route { min-height: 17rem; }
  .em26-tools-product h3 { min-height: 0; }
}

@media (max-width: 29rem) {
  body.em26-category--tools .em26-tools-products ul.products { grid-template-columns: 1fr; }
  .em26-tools-product { display: grid; grid-template-columns: minmax(7.5rem, .8fr) minmax(0, 1.2fr); }
  .em26-tools-product__image { border-right: 1px solid var(--em26-border); border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .em26-tools-route { transition: none; }
  .em26-tools-route:hover { transform: none; }
}
