.sgc-parts-hub {
  --sgc-parts-ink: #153453;
  --sgc-parts-red: #d91136;
  --sgc-parts-muted: #526778;
  --sgc-parts-border: #dce5ef;
  color: var(--sgc-parts-ink);
  container-type: inline-size;
  margin: 0 auto 36px;
  width: 100%;
}

.sgc-parts-hub h1.sgc-parts-hub__title {
  color: var(--sgc-parts-ink);
  font-size: clamp(29px, 4.4vw, 46px);
  font-weight: 850;
  letter-spacing: -.035em;
  line-height: 1.08;
  margin: 0 0 20px;
}

.sgc-parts-hub__other { margin-top: 16px; }

a.sgc-parts-hub__link,
.sgc-parts-filters__actions a {
  align-items: center;
  background: #fff;
  border: 1px solid #cfdae6;
  border-radius: 8px;
  box-sizing: border-box;
  color: #153453;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  gap: 8px;
  line-height: 1.25;
  min-height: 44px;
  padding: 10px 13px;
  text-decoration: none;
}

a.sgc-parts-hub__link:hover,
.sgc-parts-filters__actions a:hover {
  background: #f7f9fc;
  border-color: #a6bbce;
  color: #153453;
}

.sgc-parts-hub__link span { color: #d91136; }

.sgc-parts-hub__grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

a.sgc-parts-hub__tile {
  align-items: flex-start;
  background: #f3f6f9;
  border: 1px solid var(--sgc-parts-border);
  border-radius: 12px;
  box-sizing: border-box;
  color: var(--sgc-parts-ink);
  display: flex;
  flex-direction: column;
  isolation: isolate;
  justify-content: space-between;
  min-height: clamp(165px, 15vw, 205px);
  min-width: 0;
  overflow: hidden;
  padding: 16px;
  position: relative;
  text-decoration: none;
}

a.sgc-parts-hub__tile:hover {
  background: #eaf0f6;
  border-color: #9eb4ca;
  color: var(--sgc-parts-ink);
}

.sgc-parts-hub__copy {
  max-width: 57%;
  position: relative;
  z-index: 1;
}

.sgc-parts-hub__copy strong,
.sgc-parts-hub__copy > span {
  display: block;
}

.sgc-parts-hub__copy strong {
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 820;
  letter-spacing: -.02em;
  line-height: 1.14;
}

.sgc-parts-hub__copy > span {
  color: var(--sgc-parts-muted);
  font-size: 13px;
  line-height: 1.35;
  margin-top: 7px;
}

.sgc-parts-hub__tile img {
  bottom: 0;
  height: 96%;
  margin: 0;
  mix-blend-mode: multiply;
  object-fit: contain;
  object-position: center right;
  position: absolute;
  right: 2px;
  width: 53%;
}

.sgc-parts-hub__tile--care img { height: 82%; }

.sgc-parts-hub__arrow {
  background: #fff;
  border: 1px solid var(--sgc-parts-border);
  border-radius: 50%;
  color: var(--sgc-parts-red);
  display: grid;
  font-size: 20px;
  height: 32px;
  line-height: 1;
  place-items: center;
  position: relative;
  width: 32px;
  z-index: 1;
}

.sgc-accessory-shortcode-catalog.sgc-parts-listing {
  margin-top: clamp(8px, 1vw, 14px) !important;
}

.sgc-accessory-shortcode-catalog.sgc-parts-listing .sgc-accessory-shortcode-shell {
  display: block !important;
}

@media (min-width: 1025px) {
  .sgc-accessory-shortcode-catalog.sgc-parts-listing ul.products.sgc-accessory-shortcode-products {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
}

.sgc-parts-filters {
  align-items: end;
  background: #f3f6f9;
  border: 1px solid #dce5ef;
  border-radius: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-bottom: 18px;
  padding: 13px;
}

.sgc-parts-filters label {
  color: #153453;
  display: grid;
  flex: 1 1 136px;
  font-size: 14px;
  font-weight: 700;
  gap: 4px;
  grid-template-columns: minmax(0, 1fr);
  line-height: 1.3;
  margin: 0;
  min-width: 0;
}

.sgc-parts-filters label:only-of-type { flex: 0 1 320px; }

.sgc-parts-filters select {
  background-color: #fff;
  border: 1px solid #cfdae6;
  border-radius: 8px;
  color: #153453;
  font-size: 16px;
  min-height: 44px;
  min-width: 0;
  padding: 7px 10px;
  text-overflow: ellipsis;
  width: 100%;
}

.sgc-parts-filters__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sgc-parts-filters__actions button {
  background: #d91136;
  border: 0;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  min-height: 44px;
  padding: 10px 13px;
}

.sgc-parts-filters__actions button:hover { background: #b90f2e; }

.sgc-parts-hub :focus-visible,
.sgc-parts-filters :focus-visible {
  outline: 3px solid #2472b7;
  outline-offset: 3px;
}

@media (max-width: 860px) {
  .sgc-parts-hub__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@container (max-width: 760px) {
  .sgc-parts-hub__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .sgc-parts-hub h1.sgc-parts-hub__title { margin-bottom: 14px; }
  .sgc-parts-hub__grid { gap: 8px; }
  a.sgc-parts-hub__tile { min-height: 144px; padding: 10px; }
  .sgc-parts-hub__copy { max-width: 100%; }
  .sgc-parts-hub__copy strong { font-size: 15px; }
  .sgc-parts-hub__copy > span { display: none; }
  .sgc-parts-hub__tile img { bottom: -2px; height: 76%; right: 2px; width: 85%; }
  .sgc-parts-hub__arrow { font-size: 17px; height: 25px; width: 25px; }
  .sgc-parts-filters { padding: 10px; }
  .sgc-parts-filters label { flex-basis: calc(50% - 6px); }
  .sgc-parts-filters label:only-of-type { flex: 1 1 100%; }
  .sgc-parts-filters__actions { flex-basis: 100%; }
  .sgc-parts-filters__actions button { flex: 1; }
}

.sgc-care-sections {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.sgc-care-sections a {
  align-items: center;
  border: 1px solid #dce5ef;
  border-radius: 8px;
  color: #153453;
  display: inline-flex;
  font-size: 14px;
  font-weight: 750;
  gap: 7px;
  line-height: 1.25;
  min-height: 44px;
  max-width: 100%;
  padding: 8px 13px;
  text-decoration: none;
}

.sgc-care-sections__icon {
  display: block;
  flex: 0 0 18px;
  height: 18px;
  width: 18px;
}

.sgc-care-sections a:hover { background: #f3f6f9; }

.sgc-care-sections a[aria-current="page"] {
  background: #153453;
  border-color: #153453;
  color: #fff;
}

.sgc-care-sections a:focus-visible { outline: 3px solid #2472b7; outline-offset: 3px; }

.sgc-home-accessories {
  box-sizing: border-box;
  container-type: inline-size;
  margin: clamp(34px, 5vw, 72px) auto;
  max-width: 1440px;
  min-width: 0;
  text-align: center;
  width: 100%;
}

.sgc-home-accessories h2 {
  color: #102b4a;
  font-family: inherit;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 900;
  line-height: 1.12;
  margin: 0 0 28px;
  text-transform: uppercase;
}

.sgc-home-accessories__carousel {
  min-width: 0;
  position: relative;
}

.sgc-home-accessories__grid {
  --sgc-home-columns: 5;
  --sgc-home-gap: clamp(10px, 1.55vw, 22px);
  display: grid;
  gap: var(--sgc-home-gap);
  grid-auto-columns: calc((100% - (var(--sgc-home-columns) - 1) * var(--sgc-home-gap)) / var(--sgc-home-columns));
  grid-auto-flow: column;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 3px 3px 22px;
  scroll-padding-inline: 3px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.sgc-home-accessories__grid::-webkit-scrollbar { display: none; }

.sgc-home-accessories a.sgc-home-accessories__card {
  align-items: center;
  background: linear-gradient(180deg, #f4f7fa, #fff 65%);
  border: 1px solid #e2e8ef;
  border-radius: 18px;
  box-shadow: 0 9px 18px rgb(16 43 74 / 8%);
  box-sizing: border-box;
  color: #182333;
  display: grid;
  gap: 12px;
  grid-template-rows: auto 1fr auto auto;
  justify-items: center;
  min-width: 0;
  padding: 16px 15px 20px;
  scroll-snap-align: start;
  text-decoration: none;
}

.sgc-home-accessories a.sgc-home-accessories__card:hover {
  border-color: #afc0d2;
  color: #182333;
}

.sgc-home-accessories :is(a, button):focus-visible {
  outline: 3px solid #2472b7;
  outline-offset: 3px;
}

.sgc-home-accessories__media {
  align-items: center;
  background: #fff;
  display: flex;
  height: clamp(120px, 14vw, 182px);
  justify-content: center;
  width: 100%;
}

.sgc-home-accessories__media img {
  height: 100%;
  margin: 0;
  object-fit: contain;
  width: 100%;
}

.sgc-home-accessories__card strong {
  font-size: clamp(14px, 1.4vw, 17px);
  font-weight: 850;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.sgc-home-accessories .sgc-home-accessories__price,
.sgc-home-accessories .sgc-home-accessories__price .woocommerce-Price-amount {
  color: #598a19;
  font-size: clamp(17px, 1.7vw, 22px);
  font-weight: 900;
  line-height: 1.25;
}

.sgc-home-accessories .sgc-home-accessories__price del,
.sgc-home-accessories .sgc-home-accessories__price del .woocommerce-Price-amount {
  color: #667487;
  font-size: 14px;
}

.sgc-home-accessories__price ins { text-decoration: none; }

.sgc-home-accessories__action {
  align-items: center;
  background: #ed1538;
  border-radius: 9px;
  box-sizing: border-box;
  color: #fff;
  display: inline-flex;
  font-size: 13px;
  font-weight: 850;
  justify-content: center;
  line-height: 1.2;
  min-height: 44px;
  padding: 8px 14px;
  text-transform: uppercase;
}

.sgc-home-accessories__card:hover .sgc-home-accessories__action { background: #c41030; }

.sgc-home-accessories button.sgc-home-accessories__arrow {
  background: #ed1538;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 6px 14px rgb(220 16 54 / 24%);
  color: #fff;
  font-size: 30px;
  height: 44px;
  min-height: 0;
  padding: 0 0 4px;
  position: absolute;
  top: 49%;
  transform: translateY(-50%);
  width: 44px;
  z-index: 1;
}

.sgc-home-accessories__arrow--prev { left: 0; }
.sgc-home-accessories__arrow--next { right: 0; }

.sgc-home-accessories button.sgc-home-accessories__arrow[hidden] { display: none !important; }
.sgc-home-accessories button.sgc-home-accessories__arrow:disabled { opacity: .42; }

@container (max-width: 1050px) {
  .sgc-home-accessories__grid { --sgc-home-columns: 4; }
}

@container (max-width: 790px) {
  .sgc-home-accessories__grid { --sgc-home-columns: 3; }
}

@container (max-width: 560px) {
  .sgc-home-accessories__grid { --sgc-home-columns: 2; }
  .sgc-home-accessories a.sgc-home-accessories__card { padding: 9px 8px 12px; }
  .sgc-home-accessories__action { padding-inline: 9px; }
  .sgc-home-accessories button.sgc-home-accessories__arrow { opacity: .9; }
}

/* Keep the fitment disclaimer readable, but visually secondary to the filters. */
.sgc-parts-listing .sgc-wiper-fitment-note {
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 16px;
}

.sgc-parts-listing .sgc-sg-mat-fitment {
  margin-top: 4px;
  color: #52657b;
  font-size: 13px;
  line-height: 1.35;
}

.sgc-supergumi-layout.sgc-parts-listing .sgc-sg-card--led_bulbs .sgc-sg-content > .sgc-sg-title {
  text-transform: none !important;
}

.sgc-sg-card--led_bulbs .sgc-sg-led-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 8px;
  min-width: 0;
}

.sgc-sg-card--led_bulbs .sgc-sg-led-pack {
  display: inline-block;
  padding: 3px 6px;
  border-radius: 5px;
  background: #edf3f9;
  color: #243d58;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.2;
}
