.product-instructions__content {
  --size-mobile: 120px;
  --size-desktop: 160px;
}

.product-instructions__content.slider.slider--tablet .slider__slide {
  padding: 2rem;
}

.product-instructions__header {
  margin-bottom: 4rem;
}

.product-instructions__wrapper {
  .custom-subtitle {
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2.8px;
  }

  .custom-title {
    color: rgb(var(--color-button));
    line-height: 1;
    margin: 0;
    letter-spacing: 2.4px;
  }

  .custom-title p {
    margin: 0;
  }

  .custom-description {
    font-size: 12px;
    text-wrap: balance;
  }
}

.product-instructions__item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--gray-stone);
  border-radius: 4px;
  padding: 2rem;

  .product-instructions__item-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .product-instructions__item-image {
    width: var(--size-mobile);
    height: var(--size-mobile);
    z-index: 1;

    img {
      width: 100%;
      height: auto;
      max-width: 100%;
      max-height: 100%;
      object-fit: contain;
    }
  }

  .product-instructions__item-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    border: 2px solid var(--alabaster);
    border-radius: var(--size-mobile) 4px 4px var(--size-mobile);
    line-height: 1.4;

    .h2 {
      margin-bottom: 0;
    }

    p {
      margin: 0;
      font-size: var(--font-s-size);
      margin-bottom: 1.2rem;
    }

    strong {
      color: rgb(var(--color-button));
    }
  }

  .product-instructions__item-button {
    text-align: center;
  }
}

@media (width > 750px) {
  .product-instructions__wrapper {
    .custom-subtitle,
    .custom-description {
      font-size: 16px;
    }
  }

  .product-instructions__content {
    .product-instructions__item {
      .product-instructions__item-image {
        width: var(--size-desktop);
        height: var(--size-desktop);
      }

      .product-instructions__item-content {
        .h2 {
          font-size: var(--font-h2-size);
        }
      }
    }
  }
}
