/* Factory Parts Supply site layer: approved homepage v2, header, footer, and brand colors. */
.fps-utility {
  color: #54647a;
  background: #f4f6f8;
  font-size: 12px;
}

.fps-utility-inner {
  min-height: 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.fps-utility a { color: var(--blue); }
.fps-utility nav { display: flex; gap: 24px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 2px 8px rgba(20, 55, 90, .09);
}

.masthead {
  min-height: 106px;
  grid-template-columns: 250px minmax(320px, 1fr) auto;
  gap: 44px;
}

.brand { gap: 10px; }

.brand-symbol {
  width: 49px;
  height: 49px;
  flex: 0 0 49px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--blue);
}

.brand-symbol svg { width: 28px; height: 28px; }
.brand-copy { text-transform: none; }
.brand-copy strong { color: var(--ink); font-size: 20px; }
.brand-copy span { margin-top: 4px; color: var(--orange); font-size: 13px; letter-spacing: 0; text-transform: uppercase; }

.catalog-search {
  height: 50px;
  border: 1px solid #c9d0d9;
}

.catalog-search:focus-within {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(36, 170, 166, .2);
}

.catalog-search input { padding: 0 18px; }
.catalog-search button { width: 58px; flex: 0 0 58px; background: var(--blue); }
.catalog-search button span { display: none; }

.fps-header-tools {
  display: flex;
  align-items: center;
  gap: 28px;
}

.fps-header-tools > a,
.fps-header-tools .cart-button {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--navy-dark);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.15;
}

.fps-header-tools > a > svg,
.fps-cart-icon > svg {
  width: 29px;
  height: 29px;
  stroke-width: 1.5;
}

.fps-header-tools small {
  display: block;
  color: #7a8799;
  font-size: 11px;
  font-weight: 400;
}

.fps-header-tools .cart-button { width: auto; height: auto; padding: 0; background: transparent; }
.fps-cart-icon { position: relative; display: inline-grid; place-items: center; }
.fps-cart-icon .js-cart-count {
  position: absolute;
  top: -8px;
  right: -9px;
  min-width: 19px;
  height: 19px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--orange);
  border-radius: 50%;
  font-size: 10px;
  font-style: normal;
}

.js-cart-total .woocommerce-Price-amount { color: inherit; }
.main-nav { position: relative; z-index: 50; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: none; }
.nav-inner { min-height: 54px; justify-content: space-between; overflow: hidden; }
.nav-inner a,
.nav-inner .all-parts {
  min-height: 54px;
  padding: 0 8px;
  border: 0;
  color: var(--navy-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}
.nav-inner a:hover { color: var(--orange); }
.nav-inner .all-parts svg { width: 13px; height: 13px; }

.fps-hero {
  position: relative;
  min-height: 435px;
  overflow: hidden;
  background: #eef2f5 url('../home/hero.jpg') no-repeat 91% 50%;
  background-size: 56% auto;
}

.fps-hero-blue {
  position: absolute;
  inset: 0 auto 0 0;
  width: 64%;
  background: var(--blue);
  clip-path: polygon(0 0, 90% 0, 100% 100%, 0 100%);
}

.fps-hero-blue::after {
  position: absolute;
  top: 0;
  right: 4%;
  width: 10px;
  height: 110%;
  content: "";
  background: var(--orange);
  transform: skewX(-11deg);
}

.fps-hero-inner {
  position: relative;
  min-height: 435px;
  padding-block: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fps-hero-copy { max-width: 600px; color: #fff; }
.fps-hero-copy p,
.fps-section-title p,
.fps-why-copy > p {
  margin: 0 0 12px;
  color: #8de0dc;
  font-size: 12px;
  font-weight: 800;
}

.fps-hero-copy h1 {
  margin: 0;
  color: #fff;
  font-size: 50px;
  line-height: 1.08;
}

.fps-hero-copy > span {
  max-width: 560px;
  margin-top: 20px;
  display: block;
  color: #e8f2fb;
  font-size: 18px;
  line-height: 1.55;
}

.fps-hero-copy > a,
.fps-help-link {
  width: fit-content;
  margin-top: 26px;
  padding-bottom: 5px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  border-bottom: 2px solid currentColor;
  font-weight: 750;
}

.fps-hero-copy > a svg,
.fps-help-link svg { width: 18px; height: 18px; }

.fps-hero-label {
  max-width: 310px;
  align-self: flex-end;
  padding: 14px 17px;
  color: #fff;
  background: rgba(20, 55, 90, .92);
  border-left: 4px solid var(--orange);
}

.fps-hero-label span,
.fps-hero-label small { display: block; font-size: 12px; }
.fps-hero-label strong { margin: 3px 0; display: block; font-size: 14px; }

.fps-finder { background: #fff; border-bottom: 1px solid var(--line); }
.fps-finder-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fps-finder-grid > div {
  min-height: 92px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-right: 1px solid var(--line);
}
.fps-finder-grid > div:last-child { border-right: 0; }
.fps-finder-grid svg { width: 31px; height: 31px; color: var(--blue); stroke-width: 1.5; }
.fps-finder-grid strong,
.fps-finder-grid small { display: block; }
.fps-finder-grid strong { font-size: 14px; }
.fps-finder-grid small { margin-top: 2px; color: var(--muted); font-size: 12px; }

.fps-section { padding: 66px 0; }
.fps-section-title {
  margin-bottom: 28px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
.fps-section-title p { margin-bottom: 5px; color: var(--orange); }
.fps-section-title h2,
.fps-why-copy h2 { margin: 0; color: var(--ink); font-size: 29px; line-height: 1.2; }
.fps-section-title > a {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 750;
}
.fps-section-title > a svg { width: 16px; height: 16px; }

.fps-category-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.fps-category-card {
  min-width: 0;
  padding: 18px;
  text-align: center;
  background: #fff;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.fps-category-card:hover { box-shadow: inset 0 -3px var(--orange); }
.fps-category-image { aspect-ratio: 1; padding: 9px; display: grid; place-items: center; }
.fps-category-image img { width: 100%; height: 100%; object-fit: contain; }
.fps-category-card > strong,
.fps-category-card > small,
.fps-category-card > b { display: block; }
.fps-category-card > strong { margin-top: 12px; font-size: 15px; }
.fps-category-card > small { min-height: 38px; margin-top: 5px; color: var(--muted); font-size: 12px; }
.fps-category-card > b { margin-top: 14px; color: var(--blue); font-size: 12px; }
.fps-category-card > b svg { width: 13px; height: 13px; vertical-align: middle; }

.fps-products { background: var(--soft); }
.fps-product-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.fps-product-grid .product-card { border-top: 0; border-left: 0; }
.fps-product-grid .product-image { height: auto; aspect-ratio: 1; }
.fps-product-grid .product-body { min-height: 205px; }
.fps-product-grid .product-card h3 { min-height: 59px; font-size: 13px; }
.fps-product-grid .csb-card-action-row { gap: 6px; }
.fps-product-grid .csb-card-actions { gap: 4px; }
.fps-product-grid .csb-card-action { width: 44px !important; min-width: 44px !important; }
.fps-product-grid .price { font-size: 16px; }

.fps-brands { background: #fff; }
.fps-brand-grid { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line); }
.fps-brand-grid a {
  min-height: 84px;
  padding: 14px;
  display: grid;
  place-items: center;
  color: var(--navy-dark);
  border-right: 1px solid var(--line);
  font-size: 17px;
  font-weight: 800;
  text-align: center;
}
.fps-brand-grid a:last-child { border-right: 0; }
.fps-brand-grid a:hover { color: var(--orange); background: var(--soft); }

.fps-why { padding: 72px 0; background: #f6f7f9; }
.fps-why-panel {
  display: grid;
  grid-template-columns: 42% 58%;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d9dde3;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(24, 44, 70, .05);
}
.fps-why-copy { padding: 50px 48px; border-right: 1px solid #edf0f3; }
.fps-why-copy > p { margin-bottom: 18px; color: var(--blue); }
.fps-why-copy h2 span { display: block; color: var(--blue); }
.fps-why-intro { margin-top: 12px; color: #4f5b6e; font-size: 16px; font-weight: 650; line-height: 1.75; }
.fps-why-points { margin-top: 30px; display: grid; gap: 20px; }
.fps-why-points > div { display: flex; align-items: center; gap: 16px; }
.fps-why-points > div > svg,
.fps-coverage-grid > div > svg {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  padding: 13px;
  color: var(--blue);
  background: #edf3f9;
  border-radius: 6px;
  stroke-width: 1.8;
}
.fps-why-points strong,
.fps-why-points small { display: block; }
.fps-why-points strong { font-size: 15px; }
.fps-why-points small { margin-top: 3px; color: #7b8493; font-size: 13px; }
.fps-help-link { margin-top: 28px; color: var(--blue); font-size: 13px; }

.fps-shipping-map { padding: 44px 48px 30px; }
.fps-shipping-map h3 { margin: 0; text-align: center; font-size: 23px; }
.fps-map-stage { position: relative; min-height: 360px; padding: 25px 4% 10px; display: grid; place-items: center; }
.fps-map-stage img { width: min(100%, 650px); max-height: 350px; object-fit: contain; filter: drop-shadow(0 9px 7px rgba(12, 74, 72, .2)); }
.fps-map-stage > span {
  position: absolute;
  top: 30px;
  right: 17%;
  width: 78px;
  height: 58px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--orange);
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(12, 74, 72, .2);
}
.fps-map-stage > span svg { width: 44px; height: 44px; }
.fps-coverage-grid { padding-top: 26px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; border-top: 1px solid #e2e5e9; }
.fps-coverage-grid > div { display: flex; align-items: center; gap: 12px; }
.fps-coverage-grid strong { font-size: 14px; }

.fps-footer-benefits { color: #fff; background: #050505; }
.fps-benefit-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid #282828; }
.fps-benefit-grid > div {
  min-height: 142px;
  padding: 20px 34px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.fps-benefit-grid svg { width: 46px; height: 46px; flex: 0 0 46px; color: #1674bc; stroke-width: 1.5; }
.fps-benefit-grid strong,
.fps-benefit-grid small { display: block; }
.fps-benefit-grid strong { font-size: 16px; }
.fps-benefit-grid small { margin-top: 3px; color: #8e8e92; font-size: 13px; }

.site-footer { padding: 0 0 20px; color: #c7c7cf; background: #050505; }
.footer-grid { padding-top: 54px; padding-bottom: 42px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 58px; }
.footer-grid > div,
.footer-grid > div:not(:first-child) { display: block; }
.footer-grid h2 { margin: 0 0 14px; color: var(--orange); font-size: 17px; text-transform: none; letter-spacing: 0; }
.footer-grid .fps-footer-subtitle { margin-top: 26px; }
.footer-grid > div a,
.footer-grid > div:not(:first-child) a { margin: 8px 0; display: block; color: #c7c7cf; font-size: 14px; }
.footer-grid a:hover { color: #fff; }
.fps-footer-quick > a { display: flex !important; align-items: center; gap: 8px; }
.fps-footer-quick > a svg { width: 18px; height: 18px; flex: 0 0 18px; color: var(--orange); }
.footer-bottom { min-height: 57px; margin-top: 0; justify-content: center; color: #d2d2d8; border-top: 1px solid #a8a8a8; font-size: 13px; }

@media (max-width: 1160px) {
  .masthead { grid-template-columns: 220px minmax(280px, 1fr) auto; gap: 24px; }
  .fps-header-tools { gap: 18px; }
  .fps-header-tools > a > span { display: none; }
  .nav-inner { justify-content: flex-start; gap: 19px; }
  .nav-inner a, .nav-inner .all-parts { padding: 0; white-space: nowrap; }
  .fps-category-grid { grid-template-columns: repeat(3, 1fr); }
  .fps-product-grid { grid-template-columns: repeat(3, 1fr); }
  .fps-product-grid .product-card h3 { min-height: 43px; font-size: 14px; }
  .fps-why-panel { grid-template-columns: 1fr; }
  .fps-why-copy { border-right: 0; border-bottom: 1px solid #edf0f3; }
  .fps-benefit-grid > div { padding-inline: 20px; }
}

@media (max-width: 820px) {
  .fps-utility { display: none; }
  .site-header { top: 0; }
  .masthead { min-height: 113px; grid-template-columns: minmax(0, 1fr) 44px 44px; grid-template-rows: 45px 44px; gap: 8px; }
  .brand { grid-column: 1; grid-row: 1; }
  .brand-symbol { width: 39px; height: 39px; flex-basis: 39px; }
  .brand-symbol svg { width: 22px; height: 22px; }
  .brand-copy strong { font-size: 15px; }
  .brand-copy span { font-size: 10px; }
  .menu-toggle { grid-column: 2; grid-row: 1; }
  .catalog-search { grid-column: 1 / -1; grid-row: 2; height: 44px; }
  .catalog-search button { width: 58px; flex-basis: 58px; }
  .fps-header-tools { grid-column: 3; grid-row: 1; display: block; }
  .fps-header-tools > a { display: none; }
  .fps-header-tools .cart-button { width: 44px; height: 44px; display: grid; place-items: center; }
  .fps-header-tools .cart-button > .fps-cart-icon { display: inline-grid; }
  .fps-header-tools .cart-button > span:last-child { display: none; }
  .fps-cart-icon > svg { width: 24px; height: 24px; }
  .main-nav { position: fixed; inset: 113px 0 0; z-index: 90; }
  .nav-inner a, .nav-inner .all-parts { min-height: 50px; padding: 0; }
  .fps-hero { min-height: 410px; background-position: 69% center; background-size: auto 100%; }
  .fps-hero-blue { width: 91%; background: rgba(18, 91, 167, .94); clip-path: polygon(0 0, 86% 0, 100% 100%, 0 100%); }
  .fps-hero-blue::after { display: none; }
  .fps-hero-inner { min-height: 410px; padding-block: 36px; }
  .fps-hero-copy { max-width: 88%; }
  .fps-hero-copy h1 { font-size: 38px; }
  .fps-hero-copy > span { font-size: 15px; }
  .fps-hero-label { display: none; }
  .fps-finder-grid { grid-template-columns: 1fr; }
  .fps-finder-grid > div { min-height: 72px; justify-content: flex-start; border-right: 0; border-bottom: 1px solid var(--line); }
  .fps-finder-grid > div:last-child { border-bottom: 0; }
  .fps-section { padding: 48px 0; }
  .fps-section-title { align-items: flex-start; }
  .fps-section-title h2, .fps-why-copy h2 { font-size: 25px; }
  .fps-section-title > a { display: none; }
  .fps-category-grid { grid-template-columns: repeat(2, 1fr); }
  .fps-category-card { padding: 12px; }
  .fps-category-card > small { min-height: 52px; }
  .fps-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fps-product-grid .product-body { min-height: 213px; }
  .fps-product-grid .product-card h3 { min-height: 61px; font-size: 13px; }
  .fps-brand-grid { grid-template-columns: repeat(2, 1fr); }
  .fps-brand-grid a { min-height: 70px; border-bottom: 1px solid var(--line); }
  .fps-brand-grid a:nth-child(2n) { border-right: 0; }
  .fps-brand-grid a:nth-last-child(-n + 2) { border-bottom: 0; }
  .fps-why { padding: 48px 0; }
  .fps-why-copy, .fps-shipping-map { padding: 30px 24px; }
  .fps-why-intro { font-size: 15px; }
  .fps-map-stage { min-height: 250px; }
  .fps-map-stage > span { top: 16px; right: 10%; width: 60px; height: 46px; }
  .fps-map-stage > span svg { width: 34px; height: 34px; }
  .fps-shipping-map h3 { font-size: 20px; }
  .fps-coverage-grid { grid-template-columns: 1fr; }
  .fps-coverage-grid > div { padding-bottom: 14px; border-bottom: 1px solid #e6e9ed; }
  .fps-coverage-grid > div:last-child { border-bottom: 0; }
  .fps-benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fps-benefit-grid > div { min-height: 112px; border-bottom: 1px solid #282828; }
  .fps-benefit-grid > div:nth-child(odd) { border-right: 1px solid #282828; }
  .fps-benefit-grid > div:nth-last-child(-n + 2) { border-bottom: 0; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 26px; }
}

@media (max-width: 520px) {
  .fps-why-copy, .fps-shipping-map { padding: 26px 20px; }
  .fps-map-stage { min-height: 220px; padding-inline: 0; }
  .fps-map-stage > span { width: 52px; height: 42px; }
  .fps-map-stage > span svg { width: 30px; height: 30px; }
  .fps-benefit-grid { grid-template-columns: 1fr; }
  .fps-benefit-grid > div { min-height: 88px; border-right: 0 !important; border-bottom: 1px solid #282828 !important; }
  .fps-benefit-grid > div:last-child { border-bottom: 0 !important; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { padding-bottom: 72px; }
}

@media (max-width: 380px) {
  .fps-hero-copy h1 { font-size: 34px; }
  .fps-category-card > strong { font-size: 13px; }
  .fps-product-grid .product-body { min-height: 220px; }
  .fps-product-grid .price { font-size: 15px; }
}
