/* Nash site fixes — 2026-11-11 (#33305)
   Home value cards, SWAT texture, product cards, shop index, category aggregation,
   and the tightened product-page hero. Loaded as a versioned asset from the Header. */

/* Home: the four value panels should be equal-height navy cards. */
body#system-home-page #home-values .nv4-value {
  display: flex;
  flex-direction: column;
  background: var(--nv4-navy, #0b1122);
}
body#system-home-page #home-values .nv4-value summary {
  grid-template-columns: 2.25rem minmax(0, 1fr) 2.5rem;
}
body#system-home-page #home-values .nv4-value summary > span {
  width: 2.5rem;
  color: var(--nv4-orange, #ff8b62);
  font-size: 2rem;
  line-height: 1;
  text-align: right;
}
body#system-home-page #home-values .nv4-value__panel {
  flex: 1 1 auto;
  display: grid;
  grid-template-rows: 190px minmax(0, 1fr);
  background: var(--nv4-navy, #0b1122);
}
body#system-home-page #home-values .nv4-value__panel p {
  height: 100%;
}

/* Home: match the SWAT texture scaling to the header/footer pattern. */
body#system-home-page #home-training.nv4-training {
  background-size: auto;
}

/* Product cards: normalize multi-item products in search/category grids. */
#wrapper #products .rows .product-summary.multi-item-product {
  height: auto !important;
}
#wrapper #products .rows .product-summary.multi-item-product .product-image {
  height: auto !important;
}
#wrapper #products .rows .product-summary.multi-item-product .product-details > div:first-child a {
  color: var(--sf-color-brand-strong);
  font-size: var(--sf-text-lg);
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}
#wrapper #products .rows .product-summary.multi-item-product .product-details > div:first-child a:hover {
  color: var(--sf-color-action);
  text-decoration: underline;
}
#wrapper #products .rows .product-summary.multi-item-product .price-range {
  color: var(--sf-color-brand-strong);
  font-size: var(--sf-text-xl);
  font-weight: 820;
  line-height: 1.1;
}
#wrapper .nash-category-grid .product-summary.multi-item-product {
  height: auto !important;
}
#wrapper .nash-category-grid .product-summary.multi-item-product .product-image {
  height: auto !important;
}
#wrapper .nash-category-grid .product-summary.multi-item-product .product-details > div:first-child a {
  color: var(--sf-color-brand-strong);
  font-size: var(--sf-text-lg);
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}
#wrapper .nash-category-grid .product-summary.multi-item-product .price-range {
  color: var(--sf-color-brand-strong);
  font-size: var(--sf-text-xl);
  font-weight: 820;
  line-height: 1.1;
}

/* Product page: tighten the H1 / description / buy-box gaps. */
@media (min-width: 64.0625rem) {
  body.product-page:not(#structure-repair-floor-supports-power-post-2-0-kit-page) #wrapper #product-inner > .row,
  body.product-page:not(#structure-repair-floor-supports-power-post-2-0-kit-page) #wrapper #product > .span10 > .row {
    align-content: start;
    row-gap: 1rem;
  }
  body.product-page:not(#structure-repair-floor-supports-power-post-2-0-kit-page) #wrapper #product-main > .nash-product-hero-main {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
  }
  body.product-page:not(#structure-repair-floor-supports-power-post-2-0-kit-page) #wrapper #product-rail {
    grid-row: 1;
  }
  body.product-page:not(#structure-repair-floor-supports-power-post-2-0-kit-page) #wrapper .nash-product-hero-main > h1 {
    margin: 0;
    color: #101832;
    font-size: 2.875rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.02;
  }
  body.product-page:not(#structure-repair-floor-supports-power-post-2-0-kit-page) #wrapper .nash-product-hero-main > .nash-product-lede {
    margin: 0;
  }
  body.product-page:not(#structure-repair-floor-supports-power-post-2-0-kit-page) #wrapper .nash-product-hero-main > .product-purchase,
  body.product-page:not(#structure-repair-floor-supports-power-post-2-0-kit-page) #wrapper .nash-product-hero-main > #product-items-wrapper {
    margin-top: 0;
    margin-bottom: 0;
  }
  body.product-page:not(#structure-repair-floor-supports-power-post-2-0-kit-page) #wrapper .nash-product-hero-main > .nash-product-resources {
    margin-top: 0;
  }
}

/* Shop index page */
.nash-shop-index {
  max-width: 90rem;
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 2.5rem) 0;
}
.nash-shop-lede {
  max-width: 54rem;
  margin: 0 0 clamp(1.25rem, 3vw, 2rem);
  color: var(--sf-color-muted, #5f6980);
  font-size: 1.0625rem;
  line-height: 1.7;
}
.nash-shop-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.nash-shop-card {
  padding: 1.25rem;
  border: 1px solid var(--sf-color-border, #d7dce6);
  background: #fff;
}
.nash-shop-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}
.nash-shop-card h2 a {
  color: var(--sf-color-brand-strong, #0b1122);
  text-decoration: none;
}
.nash-shop-card h2 a:hover {
  color: var(--sf-color-action, #e0183d);
  text-decoration: underline;
}
.nash-shop-card p {
  margin: 0 0 0.85rem;
  color: var(--sf-color-muted, #5f6980);
  font-size: 0.875rem;
  line-height: 1.5;
}
.nash-shop-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.nash-shop-card li {
  margin: 0.35rem 0;
  font-size: 0.9375rem;
}
.nash-shop-card li a {
  color: var(--sf-color-brand-strong, #0b1122);
  text-decoration: none;
}
.nash-shop-card li a:hover {
  color: var(--sf-color-action, #e0183d);
  text-decoration: underline;
}
.nash-shop-help {
  margin: 2rem 0 0;
  color: var(--sf-color-muted, #5f6980);
}

/* Category pages: aggregated products + filter chips */
.nash-category-products {
  margin: clamp(2rem, 5vw, 3.5rem) 0;
}
.nash-category-products__head h2 {
  margin: 0 0 0.5rem;
  color: var(--sf-color-brand-strong, #0b1122);
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.nash-category-products__head p {
  max-width: 56rem;
  margin: 0 0 1rem;
  color: var(--sf-color-muted, #5f6980);
  line-height: 1.6;
}
.nash-category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
}
.nash-category-filter button {
  min-height: 2.5rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--sf-color-border, #d7dce6);
  background: #fff;
  color: var(--sf-color-brand-strong, #0b1122);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}
.nash-category-filter button:hover,
.nash-category-filter button:focus {
  border-color: var(--sf-color-action, #e0183d);
  color: var(--sf-color-action, #e0183d);
}
.nash-category-filter button.is-active {
  border-color: var(--sf-color-action, #e0183d);
  background: var(--sf-color-action, #e0183d);
  color: #fff;
}
.nash-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
  gap: 1rem;
}
.nash-category-grid > .product-summary {
  margin: 0;
}
.nash-category-status {
  margin: 1rem 0 0;
  color: var(--sf-color-muted, #5f6980);
  font-size: 0.875rem;
}

@media (max-width: 64rem) {
  .nash-shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 40rem) {
  .nash-shop-grid {
    grid-template-columns: 1fr;
  }
  .nash-category-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== #33305 (2026-11-11) ===== */

/* Category pages (/shop-all is the reference): compact title band, Sort By + page size beside the title. */
body.category-page #wrapper #main .breadcrumbs{padding-top:1rem !important;padding-bottom:.5rem !important}
body.category-page #wrapper #main #title-header.nash-title-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem 1.5rem;min-height:0 !important;height:auto !important;padding:.75rem 1.5rem !important;margin-bottom:1rem !important}
body.category-page #wrapper #main #title-header.nash-title-tools h1{margin:0}
body.category-page #wrapper #main #title-header.nash-title-tools>.product-list-header{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.5rem;margin:0;padding:0;border:0}
body.category-page #wrapper #main #title-header.nash-title-tools>.product-list-header::before,body.category-page #wrapper #main #title-header.nash-title-tools>.product-list-header::after{display:none}
body.category-page #wrapper #main #title-header.nash-title-tools>.product-list-header>.btn-group{float:none !important;margin:0 !important}
body.category-page #wrapper #products .pagination-head{margin-bottom:.75rem}
@media(max-width:40rem){body.category-page #wrapper #main #title-header.nash-title-tools{padding:.75rem 1rem !important}body.category-page #wrapper #main #title-header.nash-title-tools>.product-list-header{justify-content:flex-start}}

/* Parent categories: subcategory filter buttons replace the subcategory tiles. */
body.category-page #wrapper #subcategories.nash-subcategories-hidden{display:none !important}
body.category-page #wrapper .nash-category-products{margin-top:1rem}

/* Home Featured: native "featured" tag list, /shop-all card styles (generated from the category rules). */
body#system-home-page #wrapper #home-featured #products > .rows{display: grid; grid-template-columns: repeat(3, minmax(0px, 1fr)); gap: 18px; margin: 0px;}
body#system-home-page #wrapper #home-featured #products > .rows::before,body#system-home-page #wrapper #home-featured #products > .rows::after{display: none;}
body#system-home-page #wrapper #home-featured #products .product-summary{display: flex; flex-direction: column; float: none; width: auto; min-width: 0px; box-sizing: border-box; margin: 0px; padding: 22px; border-width: 3px 1px 1px; border-style: solid; border-color: rgb(12, 18, 35) rgb(220, 224, 231) rgb(220, 224, 231); border-image: none; background: rgb(255, 255, 255); color: rgb(21, 27, 43); box-shadow: none; height: auto !important;}
body#system-home-page #wrapper #home-featured #products .product-summary::before,body#system-home-page #wrapper #home-featured #products .product-summary::after{display: none;}
body#system-home-page #wrapper #home-featured #products .product-image{display: none;}
body#system-home-page #wrapper #home-featured #products .product-details,body#system-home-page #wrapper #home-featured #products .product-purchase{float: none; width: 100%; min-height: 0px; box-sizing: border-box; margin: 0px; padding: 0px; background: transparent; text-align: left; height: auto !important;}
body#system-home-page #wrapper #home-featured #products .product-details h5{margin: 0px 0px 12px; font-size: 18px; font-weight: 700; line-height: 1.4;}
body#system-home-page #wrapper #home-featured #products .product-details h5 a{color: rgb(21, 27, 43); text-decoration: none;}
body#system-home-page #wrapper #home-featured #products .product-details h5 a:hover{color: rgb(183, 25, 63);}
body#system-home-page #wrapper #home-featured #products .part-number{margin: 0px 0px 12px; color: rgb(96, 104, 120); font-size: 12px; line-height: 1.5;}
body#system-home-page #wrapper #home-featured #products .product-description{margin: 0px 0px 18px; color: rgb(96, 104, 120); font-size: 13px; line-height: 1.6;}
body#system-home-page #wrapper #home-featured #products .product-purchase{margin-top: auto; padding-top: 18px; border-top: 1px solid rgb(231, 233, 238);}
body#system-home-page #wrapper #home-featured #products .price-regular{margin-bottom: 8px; color: rgb(21, 27, 43); font-size: 21px; font-weight: 700; line-height: 1.3;}
body#system-home-page #wrapper #home-featured #products .out-of-stock{display: block; margin-bottom: 14px; color: rgb(115, 123, 137); font-size: 12px;}
body#system-home-page #wrapper #home-featured #products .product-purchase form{display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; margin: 0px;}
body#system-home-page #wrapper #home-featured #products .product-quantity{float: none; margin: 0px;}
body#system-home-page #wrapper #home-featured #products .product-quantity input{box-sizing: border-box; width: 64px; height: 40px; margin: 0px; border: 1px solid rgb(220, 224, 231); border-radius: 0px; background: rgb(255, 255, 255); color: rgb(21, 27, 43); box-shadow: none;}
body#system-home-page #wrapper #home-featured #products .product-purchase .btn-primary{flex: 1 1 0%; min-width: 80px; height: 40px; box-sizing: border-box; padding: 9px 18px; border: 1px solid rgb(183, 25, 63); border-radius: 0px; background: rgb(183, 25, 63); color: rgb(255, 255, 255); box-shadow: none; text-shadow: none; font-size: 12px; font-weight: 700; text-transform: uppercase;}
body#system-home-page #wrapper #home-featured #products .product-purchase .btn-primary:hover{border-color: rgb(149, 19, 51); background: rgb(149, 19, 51);}
@media (max-width: 1199px){body#system-home-page #wrapper #home-featured #products > .rows{grid-template-columns: repeat(2, minmax(0px, 1fr));}}
@media (max-width: 767px){body#system-home-page #wrapper #home-featured #products > .rows{grid-template-columns: minmax(0px, 1fr); gap: 12px;}}
body#system-home-page #wrapper #home-featured #products .product-image{justify-content: center !important; align-items: center !important;}
body#system-home-page #wrapper #home-featured #products .product-image > a{display: flex !important; justify-content: center !important; align-items: center !important; width: 100% !important;}
body#system-home-page #wrapper #home-featured #products .product-image picture{display: block; margin: 0px auto;}
body#system-home-page #wrapper #home-featured #products .product-image img{margin: 0px auto !important;}
body#system-home-page #wrapper #home-featured #products .product-quantity .arrows{display: flex !important; width: 128px !important; height: 44px !important;}
body#system-home-page #wrapper #home-featured #products .product-quantity .arrows input{flex: 0 0 40px; text-align: center; position: static !important; width: 40px !important; height: 44px !important; padding: 0px !important;}
body#system-home-page #wrapper #home-featured #products .product-quantity .arrows > span{position: static !important; display: flex !important; width: 88px !important; height: 44px !important;}
body#system-home-page #wrapper #home-featured #products .product-quantity .arrows i{place-items: center; flex: 0 0 44px; box-sizing: border-box; border: 1px solid rgb(220, 224, 231); background: rgb(238, 241, 247); cursor: pointer; position: static !important; display: grid !important; width: 44px !important; height: 44px !important;}
body#system-home-page #wrapper #home-featured #products .product-quantity .arrows .dn{order: -1;}
body#system-home-page #wrapper #home-featured #products .rows{gap: 0.875rem;}
body#system-home-page #wrapper #home-featured #products .product-summary{grid-template-rows: auto 1fr auto; gap: 0px; border: 1px solid rgba(11, 17, 34, 0.14); background: rgb(255, 255, 255); box-shadow: none; transform: none;}
body#system-home-page #wrapper #home-featured #products .product-summary::before,body#system-home-page #wrapper #home-featured #products .product-summary::after{display: none; content: none;}
body#system-home-page #wrapper #home-featured #products .product-summary:hover{border-color: rgba(11, 17, 34, 0.28); box-shadow: rgba(11, 17, 34, 0.18) 0px 0.375rem 1.125rem; transform: none;}
body#system-home-page #wrapper #home-featured #products .product-image{padding: 0px;}
body#system-home-page #wrapper #home-featured #products .product-image a{aspect-ratio: 1.05 / 1; border: 0px; border-radius: 0px; background: rgb(238, 241, 248);}
body#system-home-page #wrapper #home-featured #products .product-image img{padding: 1.125rem;}
body#system-home-page #wrapper #home-featured #products .product-details{padding: 1.125rem 1.125rem 0.875rem;}
body#system-home-page #wrapper #home-featured #products .product-details h5{margin: 0.45rem 0px 0px; font-size: 1rem; font-weight: 600; line-height: 1.3;}
body#system-home-page #wrapper #home-featured #products .part-number{color: rgb(95, 105, 128); font-size: 0.625rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;}
body#system-home-page #wrapper #home-featured #products .product-purchase{gap: 0.75rem; padding: 0.875rem 1.125rem 1.125rem; border-top: 1px solid rgba(11, 17, 34, 0.1); background: rgb(255, 255, 255);}
body#system-home-page #wrapper #home-featured #products .price-regular,body#system-home-page #wrapper #home-featured #products .price-sale,body#system-home-page #wrapper #home-featured #products .price-discounted,body#system-home-page #wrapper #home-featured #products .price-value{font-size: 1.6875rem;}
body#system-home-page #wrapper #home-featured #products .out-of-stock,body#system-home-page #wrapper #home-featured #products .in-stock{padding: 0.3rem 0.5rem; border-radius: 0px;}
body#system-home-page #wrapper #home-featured #products form[action="/cart/add"]{display: grid; grid-template-columns: 8rem minmax(0px, 1fr); gap: 0.625rem; align-items: stretch;}
body#system-home-page #wrapper #home-featured #products .product-quantity,body#system-home-page #wrapper #home-featured #products .product-quantity .arrows{width: 8rem; min-width: 8rem; height: 2.75rem;}
body#system-home-page #wrapper #home-featured #products .product-quantity input{width: 2.5rem; height: 2.75rem;}
body#system-home-page #wrapper #home-featured #products .product-quantity .arrows > span{border-radius: 0px;}
body#system-home-page #wrapper #home-featured #products form[action="/cart/add"] input[type="submit"]{width: 100%; min-width: 0px;}
@media (min-width: 80rem){body#system-home-page #wrapper #home-featured #products .rows{grid-template-columns: repeat(3, minmax(0px, 1fr));}}
@media (min-width: 64.0625rem) and (max-width: 79.99rem){body#system-home-page #wrapper #home-featured #products .rows{grid-template-columns: repeat(2, minmax(0px, 1fr));}}
@media (max-width: 64rem){body#system-home-page #wrapper #home-featured #products .product-summary{padding: 22px 10px !important;}}
@media (max-width: 47.99rem){body#system-home-page #wrapper #home-featured #products .rows{grid-template-columns: repeat(2, minmax(0px, 1fr));}}
@media (max-width: 47.99rem){body#system-home-page #wrapper #home-featured #products .product-details{padding: 0.875rem 0.75rem 0.625rem;}}
@media (max-width: 47.99rem){body#system-home-page #wrapper #home-featured #products .product-purchase{padding: 0.75rem;}}
@media (max-width: 47.99rem){body#system-home-page #wrapper #home-featured #products form[action="/cart/add"]{grid-template-columns: minmax(0px, 1fr);}}
@media (max-width: 47.99rem){body#system-home-page #wrapper #home-featured #products .product-quantity,body#system-home-page #wrapper #home-featured #products .product-quantity .arrows{width: 100%; min-width: 0px;}}
@media (max-width: 47.99rem){body#system-home-page #wrapper #home-featured #products .product-quantity input{width: 2.5rem;}}
@media (max-width: 47.99rem){body#system-home-page #wrapper #home-featured #products form[action="/cart/add"] input[type="submit"]{min-height: 2.75rem;}}
@media (max-width: 21.99rem){body#system-home-page #wrapper #home-featured #products .rows{grid-template-columns: minmax(0px, 1fr);}}
@media (max-width: 500px){body#system-home-page #wrapper #home-featured #products .rows{grid-template-columns: repeat(1, minmax(0px, 1fr));}}
body#system-home-page #wrapper #home-featured #products .product-summary .product-image > a{position: relative; display: block;}
body#system-home-page #wrapper #home-featured #products .product-summary .product-image > a > picture{position: absolute; inset: 0px; display: block; width: 100%; height: 100%; min-width: 0px; min-height: 0px;}
body#system-home-page #wrapper #home-featured #products .product-summary .product-image img{position: absolute; inset: 0px; display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; margin: 0px; padding: 0px; border: 0px; box-sizing: border-box; object-fit: contain; object-position: center center;}
body#system-home-page #wrapper #home-featured #products .product-summary > .product-image{width: 100%; min-width: 0px; padding: 1rem 1rem 0px; box-sizing: border-box; display: block !important; height: auto !important;}
body#system-home-page #wrapper #home-featured #products .product-summary .product-image > a{width: 100%; aspect-ratio: 1.33333 / 1; background: rgb(255, 255, 255);}
body#system-home-page #wrapper #home-featured #products .product-details-link{color:#0b1122;font-family:Outfit,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:1.125rem;font-weight:600;line-height:1.35}
body#system-home-page #wrapper #home-featured #products .nash-read-more,body#system-home-page #wrapper #home-featured #products .product-image a{color:#e0183d}
@media(min-width:64.0625rem){body#system-home-page #wrapper #home-featured #products .rows{grid-template-columns:repeat(4,minmax(0,1fr))}}
body#system-home-page #wrapper #home-featured #products{margin-top:1.5rem}

/* Home resources: 3 cards (Sell sheets, Technical Data Sheets, Install videos). */
body#system-home-page #wrapper .nv4-resource-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:53.75rem){body#system-home-page #wrapper .nv4-resource-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:40rem){body#system-home-page #wrapper .nv4-resource-grid{grid-template-columns:minmax(0,1fr)}}
body#system-home-page #wrapper .nv4-resource-grid>li>a.nv4-resource--soon{cursor:default}
body#system-home-page #wrapper .nv4-resource-grid>li>a.nv4-resource--soon:hover{border-color:var(--nv4-line);transform:none}

/* Save to List: black so it doesn't sit beside Add to Cart as a second red. MIPP picker gets it too. */
#wrapper .btn-save-to-list>.btn{background:#0b1122;border-color:#0b1122;color:#fff}
#wrapper .mipp-purchase>.btn-save-to-list{display:block;width:100%;grid-column:1/-1}
#wrapper .mipp-purchase>.btn-save-to-list>.btn{width:100%;min-height:3.5rem}

/* nash-perf-2026-11-25-a1: styles moved from the page-type Script fields */
#main.nash-category {
    box-sizing: border-box;
    min-width: 0;
    padding: 28px;
    background: #f5f6f8;
    color: #151b2b;
  }

  #main.nash-category .breadcrumbs {
    margin-bottom: 16px;
  }

  #main.nash-category .breadcrumb {
    margin: 0;
    padding: 0;
    background: transparent;
    font-size: 11px;
    line-height: 1.6;
  }

  #main.nash-category .breadcrumb a,
  #main.nash-category .breadcrumb .divider {
    color: #606878;
  }

  #main.nash-category #title-header {
    margin: 0 0 24px;
    padding: 24px;
    border-left: 4px solid #b7193f;
    background: #0c1223;
  }

  #main.nash-category #title-header h1 {
    margin: 0;
    padding: 0;
    border: 0;
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
  }

  #main.nash-category #subcategories {
    margin: 0 0 28px;
  }

  #main.nash-category #subcategories .thumbnails {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  #main.nash-category #subcategories .thumbnails::before,
  #main.nash-category #subcategories .thumbnails::after {
    display: none;
  }

  #main.nash-category #subcategories .thumbnail {
    float: none;
    width: auto;
    height: auto !important;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 1px solid #dce0e7;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
  }

  #main.nash-category #subcategories .thumbnail > a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 96px;
    box-sizing: border-box;
    padding: 22px 44px 22px 20px;
    color: #151b2b;
    text-decoration: none;
    transition: background 150ms ease, color 150ms ease;
  }

  #main.nash-category #subcategories .thumbnail > a::after {
    position: absolute;
    right: 18px;
    content: "\2192";
    color: #b7193f;
    font-size: 22px;
  }

  #main.nash-category #subcategories .thumbnail > a:hover {
    background: #0c1223;
    color: #fff;
  }

  #main.nash-category #subcategories .thumbnail > a:focus-visible {
    outline: 2px solid #b7193f;
    outline-offset: 3px;
  }

  #main.nash-category #subcategories .thumbnail img {
    display: none;
  }

  #main.nash-category #subcategories .thumbnail a > span {
    display: block;
    margin: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    text-align: left;
  }

  #main.nash-category #product-list {
    margin: 0;
    padding: 0;
    background: transparent;
  }

  #main.nash-category .product-list-header {
    margin: 0 0 16px;
    padding: 0 0 16px;
    border-bottom: 1px solid #dce0e7;
    background: transparent;
  }

  #main.nash-category #product-sort > .btn {
    padding: 10px 14px;
    border: 1px solid #dce0e7;
    border-radius: 0;
    background: #fff;
    color: #151b2b;
    box-shadow: none;
    text-shadow: none;
    font-size: 12px;
    font-weight: 700;
  }

  #main.nash-category #products > .rows {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
  }

  #main.nash-category #products > .rows::before,
  #main.nash-category #products > .rows::after {
    display: none;
  }

  #main.nash-category #products .product-summary {
    display: flex;
    flex-direction: column;
    float: none;
    width: auto;
    height: auto !important;
    min-width: 0;
    box-sizing: border-box;
    margin: 0;
    padding: 22px;
    border: 1px solid #dce0e7;
    border-top: 3px solid #0c1223;
    background: #fff;
    color: #151b2b;
    box-shadow: none;
  }

  #main.nash-category #products .product-summary::before,
  #main.nash-category #products .product-summary::after {
    display: none;
  }

  #main.nash-category #products .product-image {
    display: none;
  }

  #main.nash-category #products .product-details,
  #main.nash-category #products .product-purchase {
    float: none;
    width: 100%;
    height: auto !important;
    min-height: 0;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    background: transparent;
    text-align: left;
  }

  #main.nash-category #products .product-details h5 {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
  }

  #main.nash-category #products .product-details h5 a {
    color: #151b2b;
    text-decoration: none;
  }

  #main.nash-category #products .product-details h5 a:hover {
    color: #b7193f;
  }

  #main.nash-category #products .part-number {
    margin: 0 0 12px;
    color: #606878;
    font-size: 12px;
    line-height: 1.5;
  }

  #main.nash-category #products .product-description {
    margin: 0 0 18px;
    color: #606878;
    font-size: 13px;
    line-height: 1.6;
  }

  #main.nash-category #products .product-purchase {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid #e7e9ee;
  }

  #main.nash-category #products .price-regular {
    margin-bottom: 8px;
    color: #151b2b;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.3;
  }

  #main.nash-category #products .out-of-stock {
    display: block;
    margin-bottom: 14px;
    color: #737b89;
    font-size: 12px;
  }

  #main.nash-category #products .product-purchase form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
  }

  #main.nash-category #products .product-quantity {
    float: none;
    margin: 0;
  }

  #main.nash-category #products .product-quantity input {
    box-sizing: border-box;
    width: 64px;
    height: 40px;
    margin: 0;
    border: 1px solid #dce0e7;
    border-radius: 0;
    background: #fff;
    color: #151b2b;
    box-shadow: none;
  }

  #main.nash-category #products .product-purchase .btn-primary {
    flex: 1;
    min-width: 80px;
    height: 40px;
    box-sizing: border-box;
    padding: 9px 18px;
    border: 1px solid #b7193f;
    border-radius: 0;
    background: #b7193f;
    color: #fff;
    box-shadow: none;
    text-shadow: none;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
  }

  #main.nash-category #products .product-purchase .btn-primary:hover {
    border-color: #951333;
    background: #951333;
  }

  @media (max-width: 1199px) {
    #main.nash-category #products > .rows,
    #main.nash-category #subcategories .thumbnails {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (max-width: 767px) {
    #main.nash-category {
      padding: 18px;
    }

    #main.nash-category #title-header {
      padding: 20px;
    }

    #main.nash-category #title-header h1 {
      font-size: 26px;
    }

    #main.nash-category #products > .rows,
    #main.nash-category #subcategories .thumbnails {
      grid-template-columns: minmax(0, 1fr);
      gap: 12px;
    }

    #main.nash-category #subcategories .thumbnail > a {
      min-height: 76px;
    }
  }

  #main.nash-category #subcategories,
#main.nash-category #subcategories .thumbnails {
  background: transparent !important;
}

#main.nash-category #subcategories {
  padding: 0 !important;
}

#main.nash-category #subcategories .thumbnails {
  padding: 0 !important;
}

#main.nash-category .breadcrumbs {
  box-sizing: border-box;
  padding: 32px 32px 16px !important;
}

#main.nash-category #title-header {
  box-sizing: border-box;
  padding: 24px 32px 34px !important;
}

#main.nash-category #title-header h1 {
  font-size: 32px !important;
  line-height: 1.25 !important;
}

#main.nash-category #subcategories,
#main.nash-category #subcategories .thumbnails {
  background: transparent !important;
  padding: 0 !important;
}

#main.nash-category #subcategories .thumbnail a > span {
  font-family: inherit !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

@media (max-width: 767px) {
  #main.nash-category .breadcrumbs {
    padding: 24px 20px 12px !important;
  }

  #main.nash-category #title-header {
    padding: 20px !important;
  }

  #main.nash-category #title-header h1 {
    font-size: 26px !important;
  }
}

.category-page #rail-left {
  min-height: 0 !important;
}

#main.nash-category #products .product-image {
  justify-content: center !important;
  align-items: center !important;
}

#main.nash-category #products .product-image > a {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
}

#main.nash-category #products .product-image picture {
  display: block;
  margin: 0 auto;
}

#main.nash-category #products .product-image img {
  margin: 0 auto !important;
}

#main.nash-category #products .product-quantity .arrows {
  display: flex !important;
  width: 128px !important;
  height: 44px !important;
}

#main.nash-category #products .product-quantity .arrows input {
  position: static !important;
  flex: 0 0 40px;
  width: 40px !important;
  height: 44px !important;
  padding: 0 !important;
  text-align: center;
}

#main.nash-category #products .product-quantity .arrows > span {
  position: static !important;
  display: flex !important;
  width: 88px !important;
  height: 44px !important;
}

#main.nash-category #products .product-quantity .arrows i {
  position: static !important;
  display: grid !important;
  place-items: center;
  flex: 0 0 44px;
  width: 44px !important;
  height: 44px !important;
  box-sizing: border-box;
  border: 1px solid #dce0e7;
  background: #eef1f7;
  cursor: pointer;
}

#main.nash-category #products .product-quantity .arrows .dn {
  order: -1;
}

/* Bulk discount note shown under the product name */
  .product-page #bulk-discount-note {
    margin: 4px 0 14px;
    font-size: 13px;
    line-height: 1.4;
    color: #666;
  }

.product-page .fancybox-overlay {
    z-index: 10010 !important;
  }

  .product-page .fancybox-wrap,
  .product-page .fancybox-skin,
  .product-page .fancybox-outer,
  .product-page .fancybox-inner {
    box-sizing: content-box;
  }

  .product-page .fancybox-skin {
    position: relative;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .3);
  }

  .product-page .fancybox-image {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain;
    margin: 0;
  }

  .product-page .fancybox-close {
    position: absolute;
    top: -14px;
    right: -14px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #101a33;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
  }

  .product-page .fancybox-close::before {
    content: "\00d7";
    font: 24px/1 Arial, sans-serif;
  }

  .product-page .fancybox-title {
    padding-top: 10px;
    color: #101a33;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
  }

/* NASH 2026-11-02 (#32983): product infographic section, full width under gallery/purchase */
  .product-page #product .nash-infographic {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    margin: 0;
    background-color: #0b1122;
    background-image: linear-gradient(135deg, #1d2d73 0%, #142057 45%, #0b1122 100%);
    color: #fff;
    overflow: hidden;
  }
  .product-page #product .nash-infographic.has-image {
    grid-template-columns: minmax(0, 1fr) minmax(0, 42%);
  }
  .product-page #product .nash-infographic__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    padding: clamp(1.75rem, 4vw, 3.5rem);
  }
  .product-page #product .nash-infographic__eyebrow {
    margin: 0;
    font: 500 11px/1.4 var(--sf-font-mono, "IBM Plex Mono", monospace);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #ec1c40;
  }
  .product-page #product .nash-infographic__title {
    margin: 0;
    font-family: var(--sf-font-display, Raleway, sans-serif);
    font-weight: 760;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.1;
    color: #fff;
    text-transform: none;
    letter-spacing: normal;
  }
  .product-page #product .nash-infographic__body {
    max-width: 34rem;
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .85);
  }
  .product-page #product .nash-infographic__points {
    margin: 0;
    padding: 0;
    list-style: none;
    font: 13px/1.9 var(--sf-font-mono, "IBM Plex Mono", monospace);
    color: rgba(255, 255, 255, .75);
  }
  .product-page #product .nash-infographic__points li { margin: 0; }
  .product-page #product .nash-infographic__cta {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    margin-top: .5rem;
    padding: .85rem 1.25rem;
    background: #e0183d;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
  }
  .product-page #product .nash-infographic__cta:hover,
  .product-page #product .nash-infographic__cta:focus { background: #c91232; color: #fff; text-decoration: none; }
  .product-page #product .nash-infographic__media { display: none; margin: 0; }
  .product-page #product .nash-infographic.has-image .nash-infographic__media { display: block; }
  .product-page #product .nash-infographic__media img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }
  @media (max-width: 767px) {
    .product-page #product .nash-infographic.has-image { grid-template-columns: minmax(0, 1fr); }
  }

/* skip link must be visible on focus; !important beats #wrapper a:link (var(--sf-color-action)) */
#wrapper a.sf-skip-link,
#wrapper a.sf-skip-link:link,
#wrapper a.sf-skip-link:visited { color: #ffffff !important; background: #0b1122 !important; }
#wrapper a.sf-skip-link:focus,
#wrapper a.sf-skip-link:focus-visible { position: absolute; z-index: 100000; top: 0; left: 0; padding: 10px 16px; color: #ffffff !important; background: #b7193f !important; outline: 2px solid #ffffff !important; }

/* AA contrast: eyebrow text on dark navy */
#wrapper .nv4-hero .nv4-eyebrow,
#wrapper #home-systems .nv4-eyebrow,
#wrapper #home-approval .nv4-eyebrow,
#wrapper #home-training .nv4-eyebrow { color: #ff5f7e !important; }
#wrapper #home-featured .nv4-eyebrow,
#wrapper #home-coverage .nv4-eyebrow,
#wrapper #home-resources .nv4-eyebrow { color: #b31a3e !important; }
#wrapper .nash-product-eyebrow__category { color: #ff5f7e !important; }
