/* ==========================================================================
   UnitedAutosphere™ — Exact 1:1 StandardAutoPart Visual System
   + Right-Side Quote Form in Hero + Visual Images Across Every Card & Strip
   ========================================================================== */

:root {
  --canvas: #ffffff;
  --tray-bg: #f3f4f5;
  --frame-bg: #f6f7f8;
  --strip-bg: #f4f5f6;
  --benefits-bg: #eeeff1;
  --guide-bg: #f6f6f7;
  --contact-card: #eef0f2;
  --dark-header: #101010;
  --dark-panel: #131416;
  --dark-pickup: #17181a;
  --dark-footer: #131313;
  --red: #d00012;
  --red-cta: #c81020;
  --red-tab: #c90017;
  --red-strip: #a70e1c;
  --red-eyebrow: #ef001b;
  --prefix-red: #85000b;
  --border-card: #d4d7da;
  --border-repair: #d6d7d9;
  --border-light: #e2e2e2;
  --border-faq: #dddddd;
  --border-input: #cccccc;
  --ink: #111111;
  --ink-secondary: #222222;
  --ink-muted: #717070;
  --font-ui: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink-secondary);
  background-color: var(--canvas);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.sap-container {
  width: 100%;
  max-width: 1580px;
  margin: 0 auto;
  padding: 0 38px;
}

.sap-container-faq {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 38px;
}

@media (max-width: 767px) {
  .sap-container,
  .sap-container-faq {
    padding: 0 16px;
  }
}

/* ==========================================================================
   1. Exact StandardAutoPart 3-Tier Header + Compact Sticky Scroll Bar
   ========================================================================== */
.bl-business-strip {
  background-color: var(--red-strip);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  letter-spacing: 0.2px;
}

.bl-business-strip a:hover {
  text-decoration: underline;
}

.sap-header-main {
  background-color: var(--dark-header);
  color: #ffffff;
  padding: 14px 0;
}

.sap-header-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.sap-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.sap-logo img {
  height: 46px;
  width: auto;
}

.sap-header-search {
  flex: 1;
  max-width: 540px;
  display: flex;
  align-items: stretch;
  background: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  height: 44px;
}

.sap-header-search-icon {
  display: inline-flex;
  align-items: center;
  padding: 0 10px 0 14px;
  color: #717070;
  font-size: 15px;
}

.sap-header-search input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font-ui);
  font-size: 15px;
  color: var(--ink);
  padding: 0 8px;
  min-width: 0;
}

.sap-header-search button {
  background-color: var(--red-cta);
  color: #ffffff;
  border: none;
  padding: 0 24px;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.sap-header-search button:hover {
  background-color: var(--red);
}

.sap-header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.sap-action-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
}

.sap-action-link:hover {
  color: #ffccd1;
}

.sap-action-phone {
  font-size: 16.5px;
  font-weight: 700;
}

.sap-toll-tag {
  background: var(--red);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.sap-divider-v {
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.2);
}

/* Tier 3: White Department Navigation Bar */
.bl-nav {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 8px 0;
}

.bl-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.bl-nav-left {
  display: flex;
  align-items: center;
  gap: 28px;
}

.btn-dept-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--red-cta);
  color: #ffffff;
  border: none;
  border-radius: 5px;
  height: 44px;
  padding: 0 16px;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.btn-dept-trigger:hover {
  background-color: var(--red);
}

.bl-nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0;
  padding: 0;
}

.bl-nav-links li a {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  padding: 8px 0;
  position: relative;
  display: inline-block;
}

.bl-nav-links li a:hover,
.bl-nav-links li a.active {
  color: var(--red);
}

.bl-nav-links li a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 3px;
  background-color: var(--red);
}

.bl-nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13.5px;
  color: var(--ink-secondary);
}

.bl-nav-right .loc-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.bl-nav-right .v-sep {
  width: 1px;
  height: 18px;
  background: var(--border-light);
}

/* Compact Sticky Header on Scroll (.bl-sticky-bar) */
.bl-sticky-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 48px;
  background-color: var(--dark-header);
  border-bottom: 2px solid var(--red-cta);
  z-index: 9990;
  transform: translateY(-100%);
  transition: transform 0.22s ease;
  display: flex;
  align-items: center;
}

.bl-sticky-bar.visible {
  transform: translateY(0);
}

.bl-sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.bl-sticky-btn {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
  padding: 6px;
}

.bl-sticky-logo img {
  height: 32px;
  width: auto;
}

.bl-sticky-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

/* Slide-Over Department Drawer */
.dept-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: 0.22s ease;
}

.dept-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.dept-drawer {
  position: fixed;
  top: 0;
  left: -340px;
  width: 320px;
  max-width: 88vw;
  height: 100vh;
  background: #ffffff;
  z-index: 10001;
  display: flex;
  flex-direction: column;
  transition: left 0.25s ease;
}

.dept-drawer.open {
  left: 0;
}

.dept-drawer-head {
  background: var(--dark-header);
  color: #ffffff;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--red);
}

.dept-drawer-head span {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
}

.dept-drawer-close {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.dept-drawer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  overflow-y: auto;
}

.dept-drawer-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid #efefef;
}

.dept-drawer-list li a:hover {
  background: var(--tray-bg);
  color: var(--red);
}

.dept-drawer-foot {
  padding: 16px 20px;
  background: var(--tray-bg);
  border-top: 1px solid var(--border-light);
  font-size: 13.5px;
}

.dept-drawer-foot a {
  display: block;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 6px;
}

@media (max-width: 1180px) {
  .bl-nav-links,
  .bl-nav-right,
  .sap-divider-v,
  .sap-hide-tablet {
    display: none;
  }
}

@media (max-width: 767px) {
  .sap-header-grid {
    flex-wrap: wrap;
    gap: 12px;
  }
  .sap-logo img {
    height: 36px;
  }
  .sap-header-search {
    order: 3;
    max-width: 100%;
    flex-basis: 100%;
  }
}

/* ==========================================================================
   2. StandardAutoPart Motorsport Hero + Right-Side Quote Form
   ========================================================================== */
.sapx-hero-form-section {
  position: relative;
  background-color: #111111;
  background-size: cover;
  background-position: center;
  padding: 44px 0 48px;
  color: #ffffff;
  overflow: hidden;
}

.sapx-hero-split {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 44px;
  align-items: center;
}

.sapx-hero-left .sapx-eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--red-eyebrow);
  margin-bottom: 6px;
}

.sapx-hero-left h1 {
  font-family: var(--font-display);
  font-size: 68px;
  font-weight: 900;
  font-style: italic;
  line-height: 0.96;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 18px;
}

.sapx-red-bar {
  width: 60px;
  height: 4px;
  background-color: var(--red);
  margin-bottom: 16px;
}

.sapx-hero-left p.sapx-lead {
  font-size: 16.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 20px;
  max-width: 520px;
}

.sapx-hero-checks {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  max-width: 520px;
}

.sapx-hero-checks li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.sapx-hero-checks li i {
  color: var(--red-eyebrow);
}

/* Signature StandardAutoPart Skewed Parallelogram Button */
.sapx-button {
  display: inline-flex;
  align-items: center;
  background-color: var(--red);
  color: #ffffff;
  padding: 12px 24px;
  transform: skewX(-18deg);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  border: none;
  cursor: pointer;
}

.sapx-button span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transform: skewX(18deg);
}

.sapx-button:hover {
  background-color: #a8000e;
  color: #ffffff;
}

/* Right-Side Quote Form Card (Exact Right-Side Placement) */
.quote-form-card {
  background: rgba(14, 15, 17, 0.88);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top: 4px solid var(--red);
  padding: 26px 24px;
}

.quote-form-card h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #ffffff;
  text-align: center;
  margin: 0 0 16px;
}

.qf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 12px;
}

.qf-group.full {
  grid-column: 1 / -1;
}

.qf-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.qf-control {
  width: 100%;
  height: 42px;
  padding: 0 11px;
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--border-input);
  border-radius: 4px;
  outline: none;
}

.qf-control:focus {
  border-color: var(--red);
}

.qf-phone-wrap {
  display: flex;
  align-items: stretch;
  height: 42px;
}

.qf-phone-prefix {
  background: var(--prefix-red);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 800;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  border-radius: 4px 0 0 4px;
}

.qf-phone-wrap .qf-control {
  border-radius: 0 4px 4px 0;
  border-left: none;
}

.qf-submit-btn {
  width: 100%;
  height: 46px;
  background-color: var(--red);
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  cursor: pointer;
  margin-top: 4px;
}

.qf-submit-btn:hover {
  background-color: #a8000e;
}

@media (max-width: 1024px) {
  .sapx-hero-split {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .sapx-hero-left h1 {
    font-size: 48px;
  }
}

@media (max-width: 540px) {
  .qf-grid,
  .sapx-hero-checks {
    grid-template-columns: 1fr;
  }
  .sapx-hero-left h1 {
    font-size: 38px;
  }
}

/* ==========================================================================
   3. Exact StandardAutoPart 4-Column Benefits Bar (.sap-benefits, #EEEFF1)
   ========================================================================== */
.sap-benefits {
  background-color: var(--benefits-bg);
  border-top: 1px solid #e4e5e7;
  border-bottom: 1px solid #e4e5e7;
}

.sap-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.sap-benefit-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  border-right: 1px solid #dcdde0;
}

.sap-benefit-item:last-child {
  border-right: none;
}

.sap-benefit-icon {
  font-size: 28px;
  color: var(--red);
  flex-shrink: 0;
}

.sap-benefit-item h4 {
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 3px;
}

.sap-benefit-item p {
  font-size: 13px;
  color: var(--ink-muted);
  margin: 0;
  line-height: 1.35;
}

@media (max-width: 991px) {
  .sap-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sap-benefit-item {
    border-bottom: 1px solid #dcdde0;
  }
}

@media (max-width: 540px) {
  .sap-benefits-grid {
    grid-template-columns: 1fr;
  }
  .sap-benefit-item {
    border-right: none;
  }
}

/* ==========================================================================
   4. StandardAutoPart Section Headings & Contained #F3F4F5 Category Trays
   ========================================================================== */
.sap-site-section {
  padding: 46px 0;
}

.sap-section-title {
  font-family: var(--font-ui);
  font-size: 36px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--ink);
  border-left: 6px solid var(--red);
  padding-left: 16px;
  margin: 0 0 26px;
  letter-spacing: -0.4px;
}

.sap-spotlight-title {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 3px solid var(--red);
  padding-bottom: 4px;
  margin: 0 0 24px;
}

.ctabs-retail {
  background-color: var(--tray-bg);
  padding: 38px 36px;
}

.ctabs-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.ctab-btn {
  background: #ffffff;
  color: var(--ink);
  border: 1px solid #92969b;
  border-radius: 8px;
  padding: 11px 22px;
  font-family: var(--font-ui);
  font-size: 16.5px;
  font-weight: 700;
  cursor: pointer;
}

.ctab-btn:hover {
  border-color: var(--red);
  color: var(--red);
}

.ctab-btn.active {
  background-color: var(--red-tab);
  border-color: var(--red-tab);
  color: #ffffff;
}

.ctab-panel {
  display: none;
}

.ctab-panel.active {
  display: block;
}

.sap-grid-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.sap-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

/* Exact Sharp-Cornered White Category Card (#FFFFFF + 1px solid #D4D7DA + #F6F7F8 frame) */
.sap-cat-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: 0;
  padding: 12px 12px 18px;
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: border-color 0.16s ease;
}

.sap-cat-card:hover {
  border-color: var(--red);
}

.sap-cat-frame {
  background-color: var(--frame-bg);
  height: 156px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 14px;
}

.sap-cat-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.sap-cat-card:hover .sap-cat-frame img {
  transform: scale(1.04);
}

.sap-cat-card h4 {
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0;
  line-height: 1.22;
}

@media (max-width: 1240px) {
  .sap-grid-6 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .ctabs-retail {
    padding: 24px 16px;
  }
  .sap-grid-6,
  .sap-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .sap-section-title {
    font-size: 28px;
  }
}

@media (max-width: 440px) {
  .sap-grid-6,
  .sap-grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   5. Exact StandardAutoPart Horizontal Category Strip (STEERING & DRIVELINE style)
   ========================================================================== */
.sap-horiz-strip {
  background-color: var(--strip-bg);
  border-top: 1px solid #e5e6e8;
  border-bottom: 1px solid #e5e6e8;
  padding: 28px 0;
}

.sap-horiz-grid {
  display: grid;
  grid-template-columns: 240px repeat(6, 1fr);
  align-items: stretch;
}

.sap-horiz-heading {
  display: flex;
  align-items: center;
  padding-right: 20px;
}

.sap-horiz-heading h2 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  font-style: italic;
  line-height: 1.02;
  text-transform: uppercase;
  color: var(--ink);
  border-left: 7px solid var(--red);
  padding-left: 14px;
  margin: 0;
}

.sap-horiz-item {
  border-left: 1px solid #dcdfe3;
  padding: 8px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
}

.sap-horiz-thumb {
  width: 100%;
  height: 98px;
  margin-bottom: 12px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e5e7ea;
}

.sap-horiz-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.22s ease;
}

.sap-horiz-item:hover .sap-horiz-thumb img {
  transform: scale(1.05);
}

.sap-horiz-item span {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.12;
}

.sap-horiz-item:hover span {
  color: var(--red);
}

@media (max-width: 1180px) {
  .sap-horiz-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .sap-horiz-heading {
    grid-column: 1 / -1;
    margin-bottom: 8px;
  }
  .sap-horiz-item {
    border: 1px solid #dcdfe3;
    background: #ffffff;
    padding: 12px;
  }
}

@media (max-width: 575px) {
  .sap-horiz-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   6. Exact StandardAutoPart "SHOP BY REPAIR" 2-Zone Cards (.sap-home-jobs)
   ========================================================================== */
.sap-jobs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.sap-job-card {
  background: #ffffff;
  border: 1px solid var(--border-repair);
  border-radius: 0;
  display: flex;
  flex-direction: column;
}

.sap-job-header {
  background: var(--tray-bg);
  padding: 24px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 128px;
}

.sap-job-header h3 {
  font-size: 27px;
  font-weight: 800;
  line-height: 1.06;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0;
}

.sap-job-img {
  width: 108px;
  height: 84px;
  flex-shrink: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border-card);
}

.sap-job-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sap-job-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sap-job-links li {
  border-top: 1px solid #e8e9eb;
}

.sap-job-links li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 22px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.sap-job-links li a span.arrow {
  color: var(--red);
  font-weight: 800;
}

.sap-job-links li a:hover {
  background: #fafafa;
  color: var(--red);
}

@media (max-width: 960px) {
  .sap-jobs-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   7. Exact StandardAutoPart "FIND PARTS BY SYMPTOM" Macro Photo Cards
   ========================================================================== */
.sap-concept-heading {
  font-family: var(--font-display);
  font-size: 58px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 28px;
  position: relative;
  padding-bottom: 14px;
}

.sap-concept-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 320px;
  max-width: 70%;
  height: 5px;
  background: var(--red);
}

.sap-symptom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.sap-symptom-card {
  border: 1px solid var(--border-faq);
  border-radius: 4px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  flex-direction: column;
}

.sap-symptom-card:hover {
  border-color: var(--red);
}

.sap-symptom-photo {
  height: 250px;
  overflow: hidden;
  background: #111111;
}

.sap-symptom-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.sap-symptom-card:hover .sap-symptom-photo img {
  transform: scale(1.04);
}

.sap-symptom-bar {
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sap-symptom-bar h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 2px;
}

.sap-symptom-bar p {
  font-size: 13.5px;
  color: var(--ink-muted);
  margin: 0;
}

.sap-sq-arrow {
  width: 34px;
  height: 34px;
  background: var(--red-cta);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

@media (max-width: 960px) {
  .sap-symptom-grid {
    grid-template-columns: 1fr;
  }
  .sap-concept-heading {
    font-size: 40px;
  }
}

/* ==========================================================================
   8. Exact StandardAutoPart Pickup Split Panel & Red-Top Help Cards
   ========================================================================== */
.sap-pickup-panel {
  background-color: var(--dark-pickup);
  color: #ffffff;
  display: grid;
  grid-template-columns: 43% 57%;
  min-height: 330px;
}

.sap-pickup-img {
  background-size: cover;
  background-position: center;
  min-height: 260px;
}

.sap-pickup-body {
  padding: 40px 46px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sap-pickup-body h2 {
  font-size: 36px;
  font-weight: 800;
  text-transform: uppercase;
  border-left: 6px solid var(--red);
  padding-left: 16px;
  margin: 0 0 12px;
  color: #ffffff;
}

.sap-pickup-body > p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.84);
  margin: 0 0 24px;
}

.sap-pickup-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.sap-pickup-cols h4 {
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 6px;
  color: #ffffff;
}

.sap-pickup-cols p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 10px;
}

.sap-pickup-cols a.dir-link {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  border-bottom: 1px solid #ffffff;
  padding-bottom: 2px;
}

/* 3 Red-Top-Border Guide Cards (KEY FOB HELP style) */
.sap-help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.sap-help-card {
  background: var(--guide-bg);
  border: 1px solid #e4e5e7;
  border-top: 4px solid var(--red-cta);
  padding: 28px 26px 22px;
  display: flex;
  flex-direction: column;
}

.sap-help-card h3 {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 10px;
}

.sap-help-card p {
  font-size: 14.5px;
  color: var(--ink-secondary);
  margin: 0 0 22px;
}

.sap-help-foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #e0e0e2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 700;
  color: var(--red-cta);
}

@media (max-width: 960px) {
  .sap-pickup-panel,
  .sap-pickup-cols,
  .sap-help-grid {
    grid-template-columns: 1fr;
  }
  .sap-pickup-body {
    padding: 28px 22px;
  }
}

/* ==========================================================================
   9. Exact StandardAutoPart "CAN'T FIND THE PART?" Split CTA + FAQ Accordion
   ========================================================================== */
.sap-request-split {
  background-color: var(--dark-panel);
  color: #ffffff;
  display: grid;
  grid-template-columns: 44% 56%;
  min-height: 360px;
}

.sap-request-copy {
  padding: 44px 46px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sap-request-copy h2 {
  font-family: var(--font-display);
  font-size: 62px;
  font-weight: 900;
  font-style: italic;
  line-height: 0.96;
  text-transform: uppercase;
  margin: 0 0 16px;
  color: #ffffff;
}

.sap-request-copy .red-rule {
  width: 240px;
  max-width: 80%;
  height: 4px;
  background: var(--red);
  margin-bottom: 22px;
}

.sap-request-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red-cta);
  color: #ffffff;
  padding: 12px 22px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  font-style: italic;
  border-radius: 3px;
  width: fit-content;
}

.sap-request-photo {
  background-size: cover;
  background-position: center;
  min-height: 260px;
}

@media (max-width: 920px) {
  .sap-request-split {
    grid-template-columns: 1fr;
  }
  .sap-request-copy {
    padding: 32px 24px;
  }
  .sap-request-copy h2 {
    font-size: 44px;
  }
}

/* Minimalist Centered FAQ Accordion (BEFORE YOU ORDER) */
.sap-faq-list {
  border-top: 1px solid var(--border-faq);
}

.sap-faq-item {
  border-bottom: 1px solid var(--border-faq);
}

.sap-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 19px 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sap-faq-item summary::-webkit-details-marker {
  display: none;
}

.sap-faq-item summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 700;
  color: var(--red);
}

.sap-faq-item[open] summary::after {
  content: '−';
}

.sap-faq-answer {
  padding: 0 0 19px;
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* ==========================================================================
   10. Sub-Page Diagonal-Slash Banner, Visual 323-Part Cards, Contact & Prose
   ========================================================================== */
.sap-sub-banner {
  position: relative;
  background-color: var(--dark-header);
  min-height: 235px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
}

.sap-sub-banner-photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 54%;
  background-size: cover;
  background-position: center;
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 4% 100%);
}

.sap-sub-banner-slash {
  position: absolute;
  top: -10px;
  bottom: -10px;
  left: 46%;
  width: 34px;
  background-color: var(--red);
  transform: skewX(-18deg);
  z-index: 2;
}

.sap-sub-banner-content {
  position: relative;
  z-index: 3;
  max-width: 560px;
  padding: 36px 0;
}

.sap-sub-banner-content h1 {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 900;
  font-style: italic;
  line-height: 0.98;
  text-transform: uppercase;
  margin: 0 0 12px;
  color: #ffffff;
}

.sap-sub-banner-content p {
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.86);
  margin: 0;
}

@media (max-width: 860px) {
  .sap-sub-banner-photo {
    width: 100%;
    clip-path: none;
    opacity: 0.25;
  }
  .sap-sub-banner-slash {
    display: none;
  }
  .sap-sub-banner-content h1 {
    font-size: 40px;
  }
}

/* Visual Image Cards for All 323 Parts on /car-parts */
.sap-visual-part-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.sap-visual-part-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  padding: 10px 10px 14px;
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: border-color 0.16s ease;
}

.sap-visual-part-card:hover {
  border-color: var(--red);
}

.sap-visual-part-thumb {
  height: 120px;
  background: var(--frame-bg);
  overflow: hidden;
  margin-bottom: 10px;
}

.sap-visual-part-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sap-visual-part-card span.part-title {
  font-size: 13.5px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 6px;
}

.sap-visual-part-card span.part-cta {
  margin-top: auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
}

@media (max-width: 1180px) {
  .sap-visual-part-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .sap-visual-part-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sap-subpart-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.sap-subpart-item {
  background: #ffffff;
  border: 1px solid var(--border-card);
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.sap-subpart-item:hover {
  border-color: var(--red);
  color: var(--red);
}

@media (max-width: 991px) {
  .sap-subpart-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .sap-subpart-grid {
    grid-template-columns: 1fr;
  }
}

/* Contact Page Split */
.sap-contact-split {
  display: grid;
  grid-template-columns: 46% 54%;
  gap: 28px;
  align-items: stretch;
}

.sap-contact-card {
  background: var(--contact-card);
  border: 1px solid var(--border-card);
  padding: 32px 28px;
}

.sap-contact-card h2 {
  font-size: 32px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 6px;
}

.sap-contact-form .row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.sap-contact-form .field-wrap {
  margin-bottom: 12px;
}

.sap-contact-form textarea {
  width: 100%;
  min-height: 120px;
  padding: 12px;
  font-family: var(--font-ui);
  font-size: 14px;
  border: 1px solid var(--border-input);
  border-radius: 4px;
  resize: vertical;
}

.sap-map-frame {
  border: 1px solid var(--border-card);
  min-height: 420px;
  overflow: hidden;
}

.sap-map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

@media (max-width: 920px) {
  .sap-contact-split,
  .sap-contact-form .row-2 {
    grid-template-columns: 1fr;
  }
}

/* Prose & Stats */
.sap-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 34px;
}

.sap-stat-card {
  background: var(--tray-bg);
  border: 1px solid var(--border-card);
  border-top: 4px solid var(--red);
  padding: 22px 20px;
}

.sap-stat-num {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 900;
  font-style: italic;
  color: var(--red);
  line-height: 1;
  margin-bottom: 6px;
}

.sap-stat-label {
  font-size: 13.5px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ink);
}

@media (max-width: 767px) {
  .sap-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sap-prose {
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--ink-secondary);
}

.sap-prose h2 {
  font-size: 26px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ink);
  border-left: 5px solid var(--red);
  padding-left: 12px;
  margin: 32px 0 12px;
}

.sap-prose h2:first-child {
  margin-top: 0;
}

.sap-callout {
  background: var(--tray-bg);
  border-left: 4px solid var(--red);
  padding: 16px 20px;
  font-weight: 600;
  color: var(--ink);
  margin: 20px 0;
}

/* Thank You Card */
.sap-thankyou-wrap {
  padding: 76px 16px;
  background: var(--tray-bg);
}

.sap-thankyou-card {
  max-width: 560px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-top: 4px solid var(--red);
  padding: 46px 36px;
  text-align: center;
}

.sap-thankyou-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #ecfdf5;
  color: #15803d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 16px;
}

/* ==========================================================================
   11. Exact StandardAutoPart 5-Column Dark Footer (.sap-footer, #131313)
   ========================================================================== */
.sap-footer {
  background-color: var(--dark-footer);
  color: #ffffff;
  border-top: 1px solid #3e3e3e;
}

.sap-footer-top {
  padding: 22px 0;
  border-bottom: 1px solid #2b2b2b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.sap-footer-top img {
  height: 40px;
  width: auto;
}

.sap-footer-cols {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr 1fr 1.4fr;
  gap: 44px;
  padding: 44px 0;
}

.sap-footer-col h4 {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #ffffff;
  margin: 0 0 16px;
}

.sap-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sap-footer-col ul li {
  margin-bottom: 9px;
}

.sap-footer-col ul li a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}

.sap-footer-col ul li a:hover {
  color: #ffffff;
}

.sap-footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 12px;
}

.sap-footer-contact-item i {
  color: var(--red);
  margin-top: 4px;
  width: 16px;
}

.sap-footer-bottom {
  border-top: 1px solid #2b2b2b;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

.sap-pay-badges {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.sap-pay-badge {
  background: #202020;
  border: 1px solid #3a3a3a;
  color: #ffffff;
  padding: 4px 9px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
}

@media (max-width: 1080px) {
  .sap-footer-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .sap-footer-cols {
    grid-template-columns: 1fr;
  }
}
