.products-nav-link.active { color: var(--navy); border-bottom-color: var(--orange); }
.products-hero { min-height: 430px; display: flex; align-items: center; padding: 70px clamp(18px,7vw,110px); color: var(--white); background-image: linear-gradient(90deg,rgba(8,31,49,.96),rgba(8,31,49,.72) 58%,rgba(8,31,49,.24)),var(--products-hero-image,url("assets/greenfleet-hero-visual-multi-trucks.webp")); background-position: center; background-size: cover; }
.category-products-hero { min-height: 390px; }
.products-hero > div { max-width: 820px; }
.products-hero h1 { margin-bottom: 20px; }
.products-hero p:not(.section-kicker) { max-width: 720px; margin: 0; color: #d8e5ec; font-size: 18px; }
.products-hero-points { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.products-hero-points span { padding: 8px 11px; border: 1px solid rgba(255,255,255,.25); color: var(--white); background: rgba(255,255,255,.07); font-size: 12px; font-weight: 850; }
.product-catalog-layout { display: grid; grid-template-columns: 260px minmax(0,1fr); gap: 30px; align-items: start; }
.product-filter-panel { position: relative; overflow: hidden; border: 1px solid var(--border); border-radius: 6px; background: var(--white); box-shadow: 0 8px 24px rgba(12,34,51,.07); }
.product-filter-panel.filter-panel-pinned { position: fixed; z-index: 45; top: 18px; left: var(--filter-panel-left,18px); width: var(--filter-panel-width,260px); max-height: calc(100vh - 36px); overflow-y: auto; overscroll-behavior: contain; box-shadow: 0 20px 44px rgba(8,31,49,.2); animation: filter-panel-float-in .28s cubic-bezier(.2,.8,.2,1) both; }
@keyframes filter-panel-float-in {
  from { opacity: 0; transform: translateY(14px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.product-filter-item,.product-filter-group button,.product-filter-group a { display: flex; width: 100%; min-height: 46px; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border: 0; border-left: 3px solid transparent; color: #405666; background: transparent; text-align: left; cursor: pointer; }
.product-filter-item { border-bottom: 1px solid var(--border); font-weight: 900; }
.product-filter-item strong,.product-filter-group strong { min-width: 25px; padding: 3px 7px; border-radius: 999px; color: #536776; background: #edf2f5; font-size: 11px; text-align: center; }
.product-filter-item:hover,.product-filter-item.active,.product-filter-group button:hover,.product-filter-group button.active,.product-filter-group a:hover,.product-filter-group a.active { border-left-color: var(--orange); color: var(--navy); background: #fff8e6; font-weight: 900; }
.product-filter-group { border-bottom: 1px solid var(--border); }
.product-filter-group summary { display: flex; min-height: 49px; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; color: var(--navy); font-weight: 950; cursor: pointer; list-style: none; }
.product-filter-group summary::-webkit-details-marker { display: none; }
.product-filter-group summary a { min-height: 0; padding: 0; border-left: 0; color: inherit; font: inherit; }
.product-filter-group summary::after { content: "v"; order: 2; transition: transform .24s ease,color .24s ease; }
.product-filter-group summary strong { order: 1; margin-left: auto; }
.product-filter-group[open] summary::after { transform: rotate(180deg); }
.product-filter-group > .product-filter-children,.product-filter-group:not([open]) > .product-filter-children { display: grid; grid-template-rows: 0fr; padding: 0; overflow: hidden; visibility: hidden; opacity: 0; filter: blur(5px); background: #f8fafb; transform: translateY(-16px) scale(.97); transform-origin: top; transition: grid-template-rows .34s cubic-bezier(.2,.8,.2,1),opacity .26s ease,filter .3s ease,transform .34s cubic-bezier(.2,.8,.2,1),visibility 0s linear .34s; }
.product-filter-children-inner { min-height: 0; overflow: hidden; padding-bottom: 6px; }
.product-filter-group[open] > .product-filter-children { grid-template-rows: 1fr; visibility: visible; opacity: 1; filter: blur(0); transform: translateY(0) scale(1); transition-delay: 0s; }
.product-filter-group button,.product-filter-group .product-filter-children a { min-height: 40px; padding: 8px 14px 8px 24px; font-size: 12px; }
@keyframes filter-option-reveal {
  from { opacity: 0; filter: blur(4px); transform: translateY(14px); }
  to { opacity: 1; filter: blur(0); transform: translateY(0); }
}
.product-filter-group[open] .product-filter-children-inner button,.product-filter-group.filter-group-revealing .product-filter-children-inner button,.product-filter-group[open] .product-filter-children-inner a,.product-filter-group.filter-group-revealing .product-filter-children-inner a { animation: filter-option-reveal .42s cubic-bezier(.2,.8,.2,1) both; }
.product-filter-group[open] .product-filter-children-inner :is(button,a):nth-child(2) { animation-delay: .055s; }
.product-filter-group[open] .product-filter-children-inner :is(button,a):nth-child(3) { animation-delay: .11s; }
.product-filter-group[open] .product-filter-children-inner :is(button,a):nth-child(4) { animation-delay: .165s; }
.product-filter-group[open] .product-filter-children-inner :is(button,a):nth-child(5) { animation-delay: .22s; }
.product-filter-group[open] .product-filter-children-inner :is(button,a):nth-child(6) { animation-delay: .275s; }
.product-filter-group[open] .product-filter-children-inner :is(button,a):nth-child(n+7) { animation-delay: .33s; }
.product-filter-open,.product-filter-mobile-head,.product-filter-scrim { display: none; }
.product-catalog-results { grid-column: 2; min-width: 0; scroll-margin-top: 100px; }

@media (min-width:821px) {
  .product-filter-group:hover > .product-filter-children { grid-template-rows: 1fr; visibility: visible; opacity: 1; filter: blur(0); transform: translateY(0) scale(1); transition-delay: 0s; }
  .product-filter-group:hover .product-filter-children-inner :is(button,a) { animation: filter-option-reveal .42s cubic-bezier(.2,.8,.2,1) both; }
  .product-filter-group:hover summary::after { transform: rotate(180deg); }
}

@media (prefers-reduced-motion:reduce) {
  .product-filter-group > .product-filter-children,.product-filter-group summary::after { transition: none; }
  .product-filter-group[open] .product-filter-children-inner :is(button,a),.product-filter-group:hover .product-filter-children-inner :is(button,a) { animation: none; }
  .product-filter-panel.filter-panel-pinned { animation: none; }
}
.catalog-heading { display: flex; justify-content: space-between; gap: 35px; align-items: end; margin-bottom: 34px; }
.catalog-heading h2 { margin-bottom: 0; }
.catalog-heading > p { max-width: 390px; margin: 0; color: var(--muted); font-size: 14px; text-align: right; }
.catalog-heading > p strong { color: var(--orange); font-size: 26px; }
.product-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.catalog-card { overflow: hidden; border: 1px solid var(--border); border-radius: 6px; background: var(--white); box-shadow: 0 10px 28px rgba(12,34,51,.08); cursor: default; transition: transform .2s ease,box-shadow .2s ease,border-color .2s ease; }
@keyframes catalog-card-reveal {
  from { opacity: 0; filter: blur(5px); transform: translateY(30px) scale(.97); }
  to { opacity: 1; filter: blur(0); transform: translateY(0) scale(1); }
}
.catalog-card.catalog-card-revealing { animation: catalog-card-reveal .52s cubic-bezier(.2,.8,.2,1) var(--reveal-delay,0ms) both; }
@media (prefers-reduced-motion:reduce) {
  .catalog-card.catalog-card-revealing { animation: none; }
}
.catalog-card[data-card-href] { cursor: pointer; }
.catalog-card:hover { border-color: #b8c7d1; box-shadow: 0 18px 38px rgba(12,34,51,.14); transform: translateY(-3px); }
.catalog-card:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.catalog-card[hidden] { display: none; }
.catalog-photo { min-height: 235px; background-position: center; background-size: cover; }
.catalog-photo-link { display: block; overflow: hidden; }
.catalog-image-link { display: block; height: 240px; overflow: hidden; background: #eef3f5; }
.catalog-image-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .24s ease; }
.catalog-card:hover .catalog-image-link img { transform: scale(1.03); }
.catalog-body { padding: 23px; }
.catalog-body h3 a { color: inherit; }
.catalog-tag { display: inline-block; margin-bottom: 10px; padding: 4px 7px; color: var(--navy); background: #e9eff3; font-size: 10px; font-weight: 900; text-transform: uppercase; }
.catalog-body dl { margin: 18px 0; }
.catalog-body dl div { display: grid; grid-template-columns: minmax(78px,.8fr) minmax(0,1.2fr); align-items: start; }
.catalog-body dt,.catalog-body dd { min-width: 0; overflow-wrap: anywhere; }
.catalog-action { display: inline-block; color: var(--navy); border-bottom: 2px solid var(--orange); font-size: 13px; font-weight: 900; }
.product-card-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.inquiry-label-short { display: none; }
.catalog-empty { padding: 50px; color: var(--muted); text-align: center; }
.product-category-link-nav { display: flex; gap: 10px; max-width: 1180px; margin: 0 auto; padding: 18px 24px; overflow-x: auto; background: var(--white); }
.product-category-link-nav a { flex: 0 0 auto; padding: 10px 14px; border: 1px solid var(--border); border-radius: 999px; color: var(--navy); font-weight: 900; background: #f8fafc; }
.product-category-page { max-width: 1180px; margin: auto; padding: 54px 24px 20px; }
.product-category-hero { display: grid; grid-template-columns: minmax(0,1fr) minmax(320px,.78fr); gap: 34px; align-items: center; }
.product-category-hero-copy { display: grid; gap: 18px; }
.product-category-hero h1 { margin: 0; color: var(--navy); font-size: clamp(38px,6vw,72px); line-height: .95; }
.product-category-hero p:not(.section-kicker) { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.7; }
.product-category-hero img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 6px; box-shadow: 0 16px 38px rgba(12,34,51,.16); }
.product-category-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.product-category-summary { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; padding-inline: 0; }
.product-category-summary > div,.product-category-empty { border: 1px solid var(--border); border-radius: 6px; padding: 24px; background: var(--white); box-shadow: 0 10px 28px rgba(12,34,51,.08); }
.product-category-summary ul { margin: 16px 0 0; padding-left: 20px; color: var(--muted); line-height: 1.7; }
.product-category-options { padding-inline: 0; }
.category-option-card .catalog-body { min-height: 100%; }
.category-option-card p,.product-category-empty p { color: var(--muted); line-height: 1.65; }
.product-category-empty { display: grid; gap: 12px; }
.product-inquiry { scroll-margin-top: 95px; }
.product-support { display: grid; grid-template-columns: repeat(4,1fr); color: var(--white); background: var(--navy-dark); }
.product-support div { min-height: 185px; padding: 28px; border-right: 1px solid rgba(255,255,255,.13); }
.product-support div:last-child { border-right: 0; }
.product-support span,.product-support strong { display: block; }
.product-support span { color: var(--orange); font-size: 14px; font-weight: 950; }
.product-support strong { margin-top: 20px; font-size: 18px; }
.product-support p { margin: 8px 0 0; color: #aebfca; font-size: 13px; }
.product-detail-page { max-width: 1180px; margin: auto; padding: 70px 24px 20px; }
.product-detail-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.product-gallery-main { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 6px; background: #edf2f4; box-shadow: 0 18px 42px rgba(12,34,51,.13); }
.product-gallery-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-top: 12px; }
.product-gallery-strip img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; background: #edf2f4; }
.product-detail-intro p:not(.section-kicker) { color: var(--muted); font-size: 18px; line-height: 1.7; }
.product-feature-list { display: grid; gap: 10px; margin: 24px 0; padding: 0; list-style: none; }
.product-feature-list li { padding: 12px 14px; border-left: 4px solid var(--orange); background: #f4f7f8; color: var(--navy); font-weight: 800; }
.product-detail-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.product-detail-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 28px; max-width: 1000px; }
.product-detail-grid ul { margin: 14px 0 0; padding-left: 20px; color: var(--muted); }

@media (max-width:1100px) {
  .product-catalog-layout { grid-template-columns: 230px minmax(0,1fr); gap: 20px; }
  .product-grid { grid-template-columns: repeat(2,1fr); }
  .product-detail-hero { grid-template-columns: 1fr; }
  .product-support { grid-template-columns: repeat(2,1fr); }
  .product-support div:nth-child(2) { border-right: 0; }
  .product-support div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.13); }
}

@media (max-width:820px) {
  .products-hero { min-height: 430px; padding: 55px 18px; background-position: 62% center; }
  .category-products-hero { min-height: 390px; }
  .products-hero h1 { font-size: 39px; }
  .products-hero p:not(.section-kicker) { font-size: 16px; }
  .product-catalog-layout { display: block; }
  .product-catalog-results { grid-column: auto; }
  .product-filter-open { display: flex; width: 100%; min-height: 48px; align-items: center; justify-content: space-between; margin: 0 0 20px; padding: 0 16px; border: 1px solid var(--border); border-radius: 5px; color: var(--navy); background: var(--white); font-weight: 900; }
  .product-filter-panel { position: fixed; z-index: 101; top: 0; bottom: 0; left: 0; width: min(86vw,330px); overflow-y: auto; border: 0; border-radius: 0; opacity: 0; transform: translateX(-105%) translateY(10px); transition: opacity .24s ease,transform .34s cubic-bezier(.2,.8,.2,1); }
  .filter-drawer-open .product-filter-panel { opacity: 1; transform: translateX(0) translateY(0); }
  .product-filter-scrim:not([hidden]) { display: block; position: fixed; z-index: 100; inset: 0; background: rgba(5,20,31,.58); }
  .product-filter-mobile-head { display: flex; min-height: 64px; align-items: center; justify-content: space-between; padding: 0 14px 0 18px; border-bottom: 1px solid var(--border); }
  .product-filter-mobile-head button { width: 42px; height: 42px; border: 0; color: var(--navy); background: transparent; font-size: 30px; cursor: pointer; }
  .catalog-heading { display: block; }
  .catalog-heading > p { margin-top: 15px; text-align: left; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .product-support { grid-template-columns: 1fr; }
  .catalog-photo { min-height: 220px; }
  .catalog-card { display: flex; min-height: 0; flex-direction: column; }
  .catalog-image-link { height: auto; min-height: 0; aspect-ratio: 4/3; }
  .catalog-body { display: flex; min-width: 0; flex: 1; flex-direction: column; padding: 12px; }
  .catalog-body h3 { display: -webkit-box; min-height: 43px; margin: 0; overflow: hidden; font-size: 16px; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .catalog-tag,.catalog-body dl,.catalog-inquiry-trigger { display: none; }
  .product-card-actions { margin-top: 12px; }
  .product-card-actions .catalog-action { width: 100%; padding: 8px; border: 1px solid var(--navy); border-radius: 4px; font-size: 11px; line-height: 1.2; text-align: center; }
  .product-card-actions .catalog-action:first-child { color: var(--white); background: var(--navy); }
  .product-detail-page { padding: 45px 18px 10px; }
  .product-gallery-strip,.product-detail-grid { grid-template-columns: 1fr; }
  .product-support div { min-height: auto; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.13); }
}
