/* SHR Autoparts: industrial sourcing palette and regional accents. */
:root {
  --shr-graphite: #242723;
  --shr-graphite-deep: #171a17;
  --shr-ivory: #faf7ef;
  --shr-paper: #f3eee1;
  --shr-rule: #d9cfbc;
  --shr-market: #ffc766;
  --shr-market-hover: #ffda8d;
  --shr-market-ink: #6e450b;
  --shr-market-wash: #fff0ce;
  --shr-ring: var(--shr-market-ink);
  --shr-heading: var(--shr-graphite);
  --shr-text: #333831;
  --shr-text-muted: #56594f;
  --shr-border: var(--shr-rule);
}

html:lang(de) {
  --shr-market: #dac181;
  --shr-market-hover: #e7d3a0;
  --shr-market-ink: #604c1d;
  --shr-market-wash: #f4ebd3;
}

html:lang(es) {
  --shr-market: #f5ae91;
  --shr-market-hover: #ffcab5;
  --shr-market-ink: #793b2c;
  --shr-market-wash: #f9e5dc;
}

html:lang(fr) {
  --shr-market: #b1c8de;
  --shr-market-hover: #c7daeb;
  --shr-market-ink: #365779;
  --shr-market-wash: #e6eef6;
}

body,
.shr-site-main {
  background: var(--shr-ivory);
}

.shr-site-header {
  border-top: 3px solid var(--shr-market);
  background: var(--shr-ivory) !important;
}

.shr-site-header .shr-site-header__utility {
  background: var(--shr-graphite) !important;
  border-color: var(--shr-graphite);
}

.shr-site-header .shr-site-header__utility-inner,
.shr-site-header .shr-site-header__utility a {
  color: var(--shr-ivory) !important;
}

.shr-site-header .shr-site-header__utility a {
  border-color: #76786d;
}

.shr-site-header .shr-site-header__utility a:hover,
.shr-language-switcher a[aria-current="page"] {
  background: var(--shr-market) !important;
  border-color: var(--shr-market-ink) !important;
  color: var(--shr-graphite-deep) !important;
}

.shr-site-header .shr-language-switcher a {
  border-radius: 4px;
}

body .shr-eyebrow {
  background: var(--shr-market-wash) !important;
  color: var(--shr-market-ink) !important;
  border: 1px solid var(--shr-rule) !important;
  border-radius: 4px !important;
}

body :is(.shr-btn, .shr-search-bar, .shr-search-bar input, .shr-search-bar button) {
  border-radius: 6px !important;
}

body .shr-btn--primary,
body .shr-search-bar button[type="submit"],
body .shr-mobile-header-search__form button[type="submit"],
body .shr-mobile-actionbar__btn--primary,
body .shr-nav-mega__cta--primary {
  background: var(--shr-market) !important;
  color: var(--shr-graphite-deep) !important;
  border: 1px solid var(--shr-market-ink) !important;
  box-shadow: none !important;
}

body .shr-btn--primary:hover,
body .shr-search-bar button[type="submit"]:hover,
body .shr-mobile-header-search__form button[type="submit"]:hover,
body .shr-mobile-actionbar__btn--primary:hover,
body .shr-nav-mega__cta--primary:hover {
  background: var(--shr-market-hover) !important;
  color: var(--shr-graphite-deep) !important;
}

body :is(.shr-hero, .shr-site-footer, .shr-site-header__utility) :focus-visible {
  outline-color: var(--shr-market);
}

.home .shr-hero.shr-hero--carousel {
  background: var(--shr-graphite-deep) !important;
  border-bottom: 4px solid var(--shr-market);
  min-height: 0 !important;
  padding-block: clamp(48px, 6vw, 96px) !important;
}

.home .shr-hero.shr-hero--carousel .shr-hero__shade {
  z-index: 2;
  background: linear-gradient(96deg, #171a17 24%, #171a17ed 45%, #24272360 78%, #3536292b 100%) !important;
}

.home .shr-hero.shr-hero--carousel .shr-hero__spotlight {
  z-index: 1;
  width: 56%;
  opacity: .86;
  filter: saturate(.72) contrast(1.05);
}

.home .shr-hero.shr-hero--carousel .shr-hero__content {
  max-width: 720px !important;
}

.home .shr-hero.shr-hero--carousel h1 {
  max-width: 680px !important;
  font-size: clamp(2.55rem, 4.55vw, 4.45rem) !important;
  line-height: 1.04 !important;
  letter-spacing: -.044em !important;
  overflow-wrap: break-word;
}

.home .shr-hero.shr-hero--carousel .shr-eyebrow {
  background: var(--shr-market) !important;
  border-color: var(--shr-market) !important;
  color: var(--shr-graphite-deep) !important;
  max-width: 100%;
  line-height: 1.4;
  white-space: normal;
}

.home .shr-hero.shr-hero--carousel .shr-search-bar {
  max-width: 620px !important;
  background: var(--shr-ivory) !important;
  box-shadow: none !important;
}

.home .shr-hero.shr-hero--carousel .shr-search-bar input {
  background: var(--shr-ivory) !important;
  color: var(--shr-graphite-deep) !important;
}

.home .shr-hero.shr-hero--carousel .shr-search-bar input::placeholder {
  color: #595d52 !important;
}

.home .shr-hero.shr-hero--carousel .shr-btn--sample {
  background: var(--shr-ivory) !important;
  color: var(--shr-graphite-deep) !important;
}

.home .shr-hero.shr-hero--carousel .shr-metric-card {
  box-shadow: none !important;
  border-color: #777b70 !important;
  background: #292d26 !important;
  border-radius: 6px !important;
}

.home .shr-hero.shr-hero--carousel .shr-metric-card strong {
  color: var(--shr-market) !important;
}

.home .shr-hero.shr-hero--carousel .shr-metric-card span {
  color: var(--shr-ivory) !important;
}

body .shr-section--brand-strip,
body .shr-section--soft,
body .shr-page-hero {
  background: var(--shr-paper) !important;
  border-color: var(--shr-rule) !important;
}

body :is(.shr-card, .shr-product-card, .shr-product-preview, .shr-image-text-card) {
  border: 1px solid var(--shr-rule) !important;
  border-radius: 8px !important;
  box-shadow: 0 3px 12px #2427230d !important;
}

body :is(.shr-card, .shr-product-card, .shr-product-preview, .shr-image-text-card):hover {
  border-color: var(--shr-market-ink) !important;
}

.home .shr-card--category .shr-category-card__image {
  background: var(--shr-paper);
  border-radius: 5px !important;
}

body :is(.shr-card__meta, .shr-card__link) {
  color: var(--shr-market-ink) !important;
}

body .shr-site-footer {
  background: var(--shr-graphite-deep) !important;
  color: var(--shr-ivory) !important;
}

body .shr-site-footer__cta {
  background: var(--shr-paper) !important;
  border-block: 1px solid var(--shr-rule) !important;
}

body .shr-site-footer__cta-title {
  color: var(--shr-graphite-deep) !important;
}

body .shr-site-footer :is(.shr-site-footer__title, .shr-site-footer__heading, .shr-site-footer__lead, .shr-site-footer__links a, .shr-site-footer__badges span, .shr-site-footer__bottom, .shr-site-footer__bottom a) {
  color: var(--shr-ivory) !important;
}

body .shr-site-footer__links a:hover {
  color: var(--shr-market) !important;
}

@media (max-width: 980px) {
  #shr-mobile-panel .shr-language-switcher {
    display: flex !important;
    gap: 8px !important;
    margin: 0 0 12px !important;
  }

  #shr-mobile-panel .shr-language-switcher a {
    width: 44px !important;
    min-height: 44px !important;
  }
}

@media (max-width: 900px) {
  .home .shr-hero.shr-hero--carousel .shr-hero__shade {
    background: linear-gradient(120deg, #171a17ed, #242723b8 74%, #35362996) !important;
  }

  .home .shr-hero.shr-hero--carousel .shr-hero__spotlight {
    width: 100%;
    opacity: .24;
  }
}

@media (max-width: 620px) {
  .home .shr-hero.shr-hero--carousel h1 {
    font-size: clamp(1.85rem, 6.8vw, 2.55rem) !important;
  }

  .home .shr-hero.shr-hero--carousel .shr-hero__meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
