
/* TRX MOTO Vehicle Results V10 */
.trx-find-parts-results{max-width:1400px;margin:0 auto;padding:28px 24px 48px}
.trx-results-head{display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid #ddd;padding-bottom:20px}
.trx-results-kicker,.trx-fit-badge{font-size:.75rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.trx-results-head h1{margin:.2rem 0}.trx-results-count{margin:0}
.trx-results-categories{display:flex;gap:10px;overflow:auto;padding:18px 0}
.trx-results-categories button{white-space:nowrap;padding:10px 16px;border:1px solid #bbb;background:#fff;border-radius:4px}
.trx-results-categories button.is-active{font-weight:800;border-color:#222}
.trx-results-products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.trx-fit-product-card{border:1px solid #ddd;background:#fff;padding:14px;display:flex;flex-direction:column}
.trx-fit-product-image{aspect-ratio:1/1;display:flex;align-items:center;justify-content:center}
.trx-fit-product-image img{max-width:100%;max-height:100%;object-fit:contain}
.trx-fit-product-body h3{font-size:1rem;margin:.5rem 0}.trx-fit-product-body .button{width:100%}
.trx-fit-price{font-weight:800;margin:.6rem 0}
@media(max-width:900px){.trx-results-products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.trx-find-parts-results{padding:18px 14px 36px}.trx-results-head{align-items:flex-start;flex-direction:column}.trx-results-change{width:100%}.trx-results-products{gap:10px}.trx-fit-product-card{padding:10px}}


/* TRX MOTO V10.7 — Find Parts layout correction */
.trx-find-parts-results{
  width:100%;
  max-width:1400px;
  margin:0 auto;
  padding:32px 24px 56px;
  box-sizing:border-box;
}
.trx-results-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:24px;
  margin-bottom:18px;
}
.trx-results-head h1{margin:.25rem 0 .35rem;font-size:2rem;line-height:1.15}
.trx-results-change{flex:0 0 auto}
.trx-results-categories{
  display:flex;
  gap:10px;
  overflow-x:auto;
  margin:0 0 24px;
  padding:0 0 6px;
}
.trx-results-products{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:24px !important;
  width:100% !important;
  align-items:stretch;
}
.trx-fit-product-card{
  min-width:0;
  width:auto !important;
  margin:0 !important;
  padding:16px !important;
  display:flex !important;
  flex-direction:column;
  border:1px solid rgba(255,255,255,.16);
  border-radius:6px;
  box-sizing:border-box;
}
.trx-fit-product-image{
  width:100%;
  aspect-ratio:1/1;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  margin-bottom:12px;
}
.trx-fit-product-image img{
  display:block;
  width:100% !important;
  height:100% !important;
  max-width:100% !important;
  object-fit:contain;
}
.trx-fit-product-body{
  display:flex;
  flex:1;
  flex-direction:column;
  min-width:0;
}
.trx-fit-product-body h3{
  margin:.5rem 0;
  font-size:1rem;
  line-height:1.3;
}
.trx-fit-product-body h3 a{overflow-wrap:anywhere}
.trx-fit-price{margin:.35rem 0 .75rem;font-weight:700}
.trx-fit-product-body .button{margin-top:auto;width:100%;box-sizing:border-box}
@media(max-width:1050px){
  .trx-results-products{grid-template-columns:repeat(3,minmax(0,1fr)) !important}
}
@media(max-width:760px){
  .trx-find-parts-results{padding:22px 14px 40px}
  .trx-results-head{flex-direction:column}
  .trx-results-change{width:100%}
  .trx-results-products{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:12px !important}
}
@media(max-width:420px){
  .trx-results-products{grid-template-columns:1fr !important}
}

/* TRX MOTO — isolate the brake layout from tire and oil-filter grids. */
.trx-find-parts-results .trx-results-products:not(:has(.trx-brake-pilot)) {
    display: grid !important;
}

/* TRX MOTO — Parts Finder tire/oil cards. Brake family cards unaffected. */
.trx-find-parts-results .trx-results-products:not(:has(.trx-brake-pilot)) > .trx-fit-product-card {
  padding:0 !important;
  background:#171b1e !important;
  color:#fff !important;
  overflow:hidden;
  border:1px solid #41474c !important;
  border-radius:4px;
}
.trx-find-parts-results .trx-results-products:not(:has(.trx-brake-pilot)) .trx-fit-product-image {
  width:100% !important;
  height:230px !important;
  aspect-ratio:auto !important;
  padding:12px !important;
  margin:0 !important;
  background:#fff !important;
  box-sizing:border-box;
}
.trx-find-parts-results .trx-results-products:not(:has(.trx-brake-pilot)) .trx-fit-product-image img {
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
}
.trx-find-parts-results .trx-results-products:not(:has(.trx-brake-pilot)) .trx-fit-product-body {
  padding:15px 16px 18px !important;
  background:#171b1e !important;
  color:#fff !important;
}
.trx-find-parts-results .trx-results-products:not(:has(.trx-brake-pilot)) .trx-fit-product-body h3,
.trx-find-parts-results .trx-results-products:not(:has(.trx-brake-pilot)) .trx-fit-product-body h3 a {
  color:#fff !important;
  font-size:15px !important;
  font-weight:650 !important;
  line-height:1.4 !important;
  text-decoration:none;
}
.trx-find-parts-results .trx-results-products:not(:has(.trx-brake-pilot)) .trx-fit-product-body h3 a:hover {color:#ff3445 !important;}
.trx-find-parts-results .trx-results-products:not(:has(.trx-brake-pilot)) .trx-fit-badge {
  color:#b8c0c7 !important;
  font-size:10px !important;
}
.trx-find-parts-results .trx-results-products:not(:has(.trx-brake-pilot)) .trx-fit-price {
  color:#fff !important;
  margin-top:auto !important;
  padding-top:12px !important;
  font-size:15px !important;
}
@media(max-width:760px){
  .trx-find-parts-results .trx-results-products:not(:has(.trx-brake-pilot)) .trx-fit-product-image {height:180px !important;}
  .trx-find-parts-results .trx-results-products:not(:has(.trx-brake-pilot)) .trx-fit-product-body {padding:12px !important;}
}
