.sp-allDevices{
  padding: 0 !important;
}

.sp-allDevices__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 3.1875rem;
  text-align: center;
}

.sp-allDevices__header h1 {
  font-size: 2rem;
  font-weight: bold;
  line-height: 2.4375rem;
  height:auto;
}

.sp-allDevices__header p {
  margin: 1.5rem 0 0;
  font-size: 0.875rem;
  line-height: 1.125rem;
}

.sp-allDevices__tabs {
  margin-top: 2.875rem;
}

.sp-allDevices__tabs .app-tabs__list {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3.875rem;
  flex-wrap: nowrap;
}

.sp-allDevices__tabs .app-tabs__tab {
  position: relative;
  padding: 0 0 0.625rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 1.25rem;
  line-height: 1.5rem;
  height: auto;
  white-space: nowrap;
}

.sp-allDevices__tabs .app-tabs__tab::after {
  position: absolute;
  right: 0.1875rem;
  bottom: 0;
  left: 0.1875rem;
  height: 0.1875rem;
  background: #005EB1;
  content: '';
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease-out;
}

.sp-allDevices__tabs .app-tabs__tab:hover,
.sp-allDevices__tabs .app-tabs__tab--active {
  color: #000;
}

.sp-allDevices__tabs .app-tabs__tab--active {
  font-weight: 700;
}

.sp-allDevices__tabs .app-tabs__tab--active::after {
  transform: scaleX(1);
}

.sp-allDevices__content {
  margin-top: 2.5625rem;
}

.sp-allDevices__heading {
  margin: 0;
  color: #000;
  font-size: 2rem;
  font-weight: bold;
  line-height: 2.4375rem;
  height: auto;
  text-align: center;
}

.sp-allDevices__family-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3.0625rem 1.5rem;
  margin-top: 2.9375rem;
}

.sp-allDevices__family-card {
  display: flex;
  width: calc((100% - 6rem) / 5);
  flex: 0 0 calc((100% - 6rem) / 5);
  min-width: 0;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
  padding: 1.125rem 1.5rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  background: transparent;
  color: #393939;
  cursor: pointer;
  font: inherit;
  text-align: center;
  transition: transform 180ms ease-out;
}

.sp-allDevices__family-card:hover {
  background-color: #e9eaf3;
}

.sp-allDevices__family-card:hover,
.sp-allDevices__family-card:focus-visible {
  transform: translateY(-0.25rem) scale(1.04);
}

.sp-allDevices__family-card img {
  display: block;
  width: min(100%, 13.8125rem);
  aspect-ratio: 221 / 122;
  object-fit: contain;
}

.sp-allDevices__family-card span {
  margin-top: 0.75rem;
  font-size: 1rem;
  line-height: 1.3125rem;
}

.sp-allDevices__product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.375rem 1.625rem;
  margin: 3.75rem auto 0;
  padding: 0 5rem;
}

.sp-allDevices__product-heading-input {
  position: relative;
  width: min(25.937rem, 100%);
  margin: 1.625rem auto 0;
}

.sp-allDevices__product-heading-input input {
  width: 100%;
  padding: 0.9375rem 3.5rem 0.8125rem 0.9375rem;
  border: 1px solid #ccc;
  border-radius: 1.5rem;
  background: #fff;
}

.sp-allDevices__search-icon {
  position: absolute;
  top: 50%;
  right: 1rem;
  width: 1.375rem !important;
  height: 1.375rem !important;
  pointer-events: none;
  transform: translateY(-50%);
}

.sp-allDevices__product-heading-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.125rem;
  margin-top: 3.938rem;
}

.sp-allDevices__product-heading-row .sp-allDevices__heading {
  margin: 0;
  width: 20.6875rem;
  text-align: left;
}

.sp-allDevices__back {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 auto;
  padding: 0;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.sp-allDevices__back-icon {
  width: 2.75rem;
  height: 2.75rem;
}

.sp-allDevices__product-card {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
  padding: 0.75rem 1.3125rem;
  border: 1px solid transparent;
  border-radius: 0;
  background: #f8f8f8;
  color: #393939;
  text-decoration: none;
  font: inherit;
  text-align: center;
}

.sp-allDevices__product-card:hover,
.sp-allDevices__product-card:focus-visible {
  border-color: #ccc;
  background: #fff;
}

.sp-allDevices__product-card img {
  width: min(100%, 8.125rem);
  aspect-ratio: 130 / 114;
  object-fit: contain;
}

.sp-allDevices__product-card p {
  max-width: 12.125rem;
  margin: 0.875rem 0 0;
  /* padding: 0 1.25rem; */
  font-size: 1em;
  line-height: 1.25rem;
}

.sp-allDevices__no-results {
  margin: 3.75rem 0 0;
  color: #393939;
  text-align: center;
}

@media screen and (max-width: 899px) {
  .sp-allDevices__product-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 0 3rem;
  }
}


@media screen and (max-width: 599px) {
  .sp-allDevices__product-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0 1rem;
  }
}



@media (prefers-reduced-motion: reduce) {
  .sp-allDevices__tabs .app-tabs__tab::after,
  .sp-allDevices__family-card {
    transition: none;
  }
}

