#logo img[src$="/catalog/branding/a-star-truck-parts-logo.png"] {
  background: #252a27;
  padding: 8px 10px;
  border-radius: 4px;
}

/* A-Star styling is scoped to Kynexis; the default storefront remains usable. */
.kx #logo.kx-logo img { max-height: 76px; max-width: 215px; }
.kx .kx-search-form .form-control { border-radius: 6px; border: 1px solid #cbd4cd; background: #f7f9f7; }
.kx .kx-search-btn { border-radius: 4px; }
.kx .tp-home-hero { background: linear-gradient(115deg, #15281d, #24392a 65%, #395a32); color: #fff; }
.kx .tp-home-hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; padding-top: 52px; padding-bottom: 52px; }
.kx .tp-home-eyebrow { color: #a8df7d; font-size: 12px; font-weight: 800; letter-spacing: .14em; margin-bottom: 12px; }
.kx .tp-home-hero h1 { color: #fff; font-size: clamp(32px, 4vw, 50px); font-weight: 800; line-height: 1.08; max-width: 600px; margin: 0 0 16px; }
.kx .tp-home-hero p { color: #e4ede3; font-size: 17px; line-height: 1.6; max-width: 590px; margin-bottom: 24px; }
.kx .tp-home-button { display: inline-block; color: #142817; background: #a4db73; padding: 12px 18px; font-weight: 700; border-radius: 5px; text-decoration: none; }
.kx .tp-home-button:hover { background: #c2efa0; color: #142817; }
.kx .tp-home-panel { border: 1px solid rgba(255,255,255,.24); border-radius: 8px; padding: 28px; background: rgba(0,0,0,.16); }
.kx .tp-home-panel span { color: #b4dca8; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.kx .tp-home-panel strong { display: block; color: #fff; font-size: 24px; line-height: 1.25; margin: 12px 0 22px; }
.kx .tp-home-panel div { color: #e4ede3; font-size: 11px; font-weight: 700; letter-spacing: .06em; }
.kx .tp-home-panel b { color: #9ad36d; margin: 0 5px; }
.kx .tp-home-benefits { background: #f0f5ef; border-bottom: 1px solid #dbe6da; }
.kx .tp-home-benefits-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-top: 17px; padding-bottom: 17px; }
.kx .tp-home-benefits-inner > div { display: flex; align-items: center; gap: 12px; }
.kx .tp-home-benefits i { color: #3c803b; font-size: 20px; }
.kx .tp-home-benefits strong, .kx .tp-home-benefits small { display: block; }
.kx .tp-home-benefits strong { color: #27362a; font-size: 14px; }
.kx .tp-home-benefits small { color: #586a5d; font-size: 12px; }
.kx #common-home { padding-top: 30px; }
.kx .tp-card-meta { display: flex; flex-wrap: wrap; gap: 2px 10px; color: #596a5e; font-size: 12px; margin: 2px 0 10px; }
.kx .tp-stock { font-weight: 600; }
.kx .tp-stock.is-available { color: #32733a; }
.kx .tp-stock.is-unavailable { color: #9d473b; }

/* The A-Star service-site navigation is enabled only by the matching UI event. */
.kx.tp-branded-header #top.kx-top { display: none; }
.kx.tp-branded-header .kx-header { background: #050605; border-bottom: 0; padding: 0; }
.kx.tp-branded-header .kx-header-row { flex-wrap: wrap; gap: 0 24px; }
.kx.tp-branded-header #logo.kx-logo { flex: 0 0 auto; padding: 8px 0; }
.kx.tp-branded-header #logo.kx-logo img { background: transparent; padding: 0; border-radius: 0; max-height: 60px; }
.kx.tp-branded-header .kx-header-row > .tp-brand-nav { flex: 1 1 auto; display: flex; justify-content: flex-end; align-items: center; gap: clamp(15px, 2vw, 30px); }
.kx.tp-branded-header .tp-brand-nav a { color: #fff; text-decoration: none; text-transform: uppercase; font-size: 16px; font-weight: 600; white-space: nowrap; }
.kx.tp-branded-header .tp-brand-nav a:hover, .kx.tp-branded-header .tp-brand-nav a:focus-visible, .kx.tp-branded-header .tp-brand-nav .tp-brand-nav-active { color: #75c43e; }
.kx.tp-branded-header .kx-header-row > .kx-search { flex: 1 1 calc(100% - 250px); max-width: none; margin: 0; padding: 12px 0; }
.kx.tp-branded-header .kx-header-row > .kx-actions { padding: 12px 0; }
.kx.tp-branded-header .kx-actions .kx-icon-btn { color: #fff; }
.kx.tp-branded-header .kx-search-form .form-control { background: #fff; }
.kx.tp-branded-header .tp-mobile-navigation { padding: 8px 0 0; border-bottom: 1px solid #e3e8e3; }
.kx.tp-branded-header .tp-mobile-navigation .tp-brand-nav { display: flex; flex-direction: column; align-items: stretch; }
.kx.tp-branded-header .tp-mobile-navigation .tp-brand-nav a { padding: 10px 16px; color: #26332a; font-size: 14px; }
.kx.tp-branded-header .tp-mobile-navigation .tp-brand-nav .tp-brand-nav-active { color: #327238; }
.kx.tp-branded-header .tp-mobile-catalog-label { padding: 12px 16px 6px; color: #627267; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

@media (max-width: 991px) {
  .kx.tp-branded-header .kx-header-row { gap: 0 14px; }
  .kx.tp-branded-header .kx-header-row > .tp-brand-nav { display: none; }
  .kx.tp-branded-header .kx-burger { color: #fff; }
  .kx.tp-branded-header #logo.kx-logo { flex: 1 1 auto; }
  .kx.tp-branded-header #logo.kx-logo img { max-height: 48px; }
  .kx.tp-branded-header .kx-header-row > .kx-actions { padding: 8px 0; }
  .kx.tp-branded-header .kx-header-row > .kx-search { flex: 1 0 100%; order: 5; padding: 4px 0 12px; }
}

@media (max-width: 767px) {
  .kx #logo.kx-logo img { max-height: 55px; max-width: 155px; }
  .kx .tp-home-hero-inner { grid-template-columns: 1fr; gap: 24px; padding-top: 32px; padding-bottom: 32px; }
  .kx .tp-home-hero p { font-size: 15px; }
  .kx .tp-home-panel { padding: 20px; }
  .kx .tp-home-panel strong { font-size: 19px; margin-bottom: 14px; }
  .kx .tp-home-benefits-inner { grid-template-columns: 1fr; gap: 13px; }
}

@media (max-width: 767px) {
  .product-thumb .description,
  #product-info h1,
  #product-info li {
    overflow-wrap: anywhere;
  }
}
