.steel-sizes-slider {
  position: relative;
  width: 100%;
}

.steel-sizes-slider__viewport {
  overflow: hidden;
  width: 100%;
}

.steel-sizes-slider__track {
  display: flex;
  gap: 24px;
  transition: transform 0.35s ease;
  will-change: transform;
}

.steel-sizes-slider__slide {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
}

.steel-sizes-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid #e3e3e3;
}

.steel-sizes-card__image-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.steel-sizes-card__image-link:hover,
.steel-sizes-card__image-link:focus {
  text-decoration: none;
}

.steel-sizes-card__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f3f3f3;
}

.steel-sizes-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.steel-sizes-card__content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px;
}

.steel-sizes-card__eyebrow {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--awb-custom_color_2) !important;
}

.steel-sizes-card__title {
  font-family: var(--awb-typography1-font-family) !important;
  font-weight: var(--awb-typography1-font-weight) !important;
  font-style: var(--awb-typography1-font-style) !important;
  font-size: 40px !important ;
  line-height: var(--awb-typography1-line-height) !important;
  color: var(--awb-text-color) !important;
}

.steel-sizes-card__title a {
  color: inherit;
  text-decoration: none;
}

.steel-sizes-card__title a:hover,
.steel-sizes-card__title a:focus {
  text-decoration: underline;
}

.steel-sizes-card__description {
  display: -webkit-box;
  margin: 0 0 20px;
  line-height: 1.6;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.steel-sizes-card__button {
  margin-top: auto;
}

@media (max-width: 699px) {
  .steel-sizes-card__button {
    margin-top: 20px;
  }
}

.steel-sizes-slider__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.steel-sizes-slider__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid #d4d4d4;
  border-radius: 999px;
  background: #fff;
  color: #222;
  cursor: pointer;
}

.steel-sizes-slider__arrow:hover,
.steel-sizes-slider__arrow:focus {
  background: #f3f3f3;
}

.steel-sizes-slider__arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.steel-sizes-slider__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.steel-sizes-slider__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #cfcfcf;
  cursor: pointer;
}

.steel-sizes-slider__dot.is-active {
  background: #4d4a3f;
}

@media (max-width: 1023px) {
  .steel-sizes-slider__slide {
    flex-basis: calc((100% - 24px) / 2);
  }
}

@media (max-width: 699px) {
  .steel-sizes-slider__slide {
    flex-basis: 100%;
  }

  .steel-sizes-card {
    height: auto;
  }

  .steel-sizes-card__content {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    padding: 18px;
  }

  .steel-sizes-card__description {
    -webkit-line-clamp: 6;
  }
}

.steel-sizes-card__image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 180px;
  padding: 20px;
  background: #f3f3f3;
  color: #6d6759;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}
