.tabbed-parts {
  padding: 4rem 0;
  background: linear-gradient(180deg, #444444 0%, #1e1e1e 100%);
  /* =========================
  	TABS
  ========================= */
}
.tabbed-parts-tabs {
  display: flex;
  border: 2px solid var(--black);
  border-radius: 4px;
  overflow: hidden;
}
.tabbed-parts-tabs-item {
  flex: 1 1 0;
  padding: 0.75rem 1rem;
  text-align: center;
  cursor: pointer;
  background: transparent;
  color: white;
  border: none;
  border-left: 2px solid var(--black);
  transition: background 200ms ease, color 200ms ease;
}
.tabbed-parts-tabs-item:first-child {
  border-left: none;
}
.tabbed-parts-tabs-item:hover:not(.is-active) {
  background: rgba(255, 255, 255, 0.08);
}
.tabbed-parts-tabs-item.is-active {
  background: var(--black);
}
.tabbed-parts-tabs-item p {
  margin: 0;
}
.tabbed-parts {
  /* =========================
  	IMAGES
  ========================= */
}
.tabbed-parts-images {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: auto;
  position: relative;
}
.tabbed-parts-images-item {
  position: relative;
  cursor: pointer;
  opacity: 1;
  transition: opacity 300ms ease, filter 300ms ease, transform 300ms ease;
}
.tabbed-parts-images-item img {
  display: block;
  max-width: 100%;
  height: auto;
}
.tabbed-parts-images-item.is-muted {
  opacity: 0.3;
  filter: grayscale(100%) brightness(1.2) saturate(0);
  pointer-events: auto;
}
.tabbed-parts-images-item.is-hidden {
  display: none;
}
.tabbed-parts-images-item {
  /* Hover affordance (desktop only) */
}
@media (hover: hover) {
  .tabbed-parts-images-item:hover:not(.is-muted) {
    transform: scale(1);
  }
  .tabbed-parts-images-item:hover.is-muted {
    opacity: 0.7;
  }
}
.tabbed-parts-images-item {
  /* Default: show desktop image */
}
.tabbed-parts-images-item .img-mobile {
  display: none;
}
.tabbed-parts {
  /* =========================
  	CONTENT PANES
  ========================= */
}
.tabbed-parts-content {
  position: relative;
  margin-top: 2rem;
  padding: 0 1rem;
}
.tabbed-parts-content-pane {
  opacity: 0;
  transform: translateY(0px);
  pointer-events: none;
  transition: opacity 0ms ease, transform 250ms ease;
  position: absolute;
  left: 0;
  right: 0;
}
.tabbed-parts-content-pane.is-active {
  opacity: 1;
  transition: opacity 220ms ease;
  transition-delay: 250ms;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}
.tabbed-parts-content-description {
  display: flex;
  justify-content: center;
  color: white;
  text-align: center;
}
@media (max-width: 767px) {
  .tabbed-parts-content-description {
    text-align: left;
    font-size: 16px !important;
    line-height: 24px !important;
    letter-spacing: 0.5px;
  }
}
.tabbed-parts-content-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: white;
  margin-top: 1rem;
}
.tabbed-parts-content-icon {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.tabbed-parts-content-divider {
  display: inline-flex;
  align-items: center;
  opacity: 0.75;
}
.tabbed-parts-content-link {
  color: white;
}
.tabbed-parts-content-link:hover {
  color: white;
  text-decoration: underline;
}
.tabbed-parts-content-price {
  color: white;
}
.tabbed-parts {
  /* =========================
  	MOBILE
  ========================= */
}
@media (max-width: 768px) {
  .tabbed-parts-tabs {
    flex-direction: row-reverse;
    margin-bottom: 2rem;
  }
  .tabbed-parts-images {
    flex-direction: column-reverse;
    gap: 1.5rem;
  }
  .tabbed-parts-images-item {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .tabbed-parts-images-item .img-desktop {
    display: none;
  }
  .tabbed-parts-images-item .img-mobile {
    display: block;
  }
}

/* =========================
	EXTRA MOBILE SAFETY
========================= */
@media (max-width: 768px) {
  .tabbed-parts-images-item {
    max-width: 100vw;
    overflow: hidden;
  }
  .tabbed-parts-images-item img {
    min-width: 200px;
    height: auto;
  }
}
.tabbed-parts-content {
  overflow: hidden;
}
