/* Service group styles */
.service-groups {
  margin: 0 auto;
  padding: 40px 10px;
  gap: 20px;
  max-width: var(--content-width);
}

/* Service details styles */

.sds-preview__container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-height: 450px;
}

.sds-preview__image > img {
  object-fit: cover;
  max-height: 400px;
}

.sds-preview__image > h1 {
  margin-bottom: 20px;
}

.sds-info__container {
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 2px solid #b1b1b1;
  margin-bottom: 20px;
}

.sds-info__info {
  gap: 10px;
}

.sds-info__info > img {
  height: 50px;
  width: 50px;
}

.sds-info__info > div {
  justify-content: space-between;
  padding: 5px 0;
}

.sds-preview__cost {
  justify-content: space-around;
  align-items: center;
}

.sds-description__container {
  padding-left: 5px;
}

.sds-description__container > ol,
.sds-description__container > ul {
  padding-left: 30px;
  margin-bottom: 5px;
  margin-top: 5px;
}

.sds-description__container > ol {
  list-style: disc;
}

.sds-description__container > ul {
  list-style: decimal;
}

.sds-description__container * em {
  font-weight: bold;
}

@media (max-width: 1200px) {
  .sds-preview__container {
    max-height: 350px;
  }

  .sds-preview__image,
  .sds-preview__image > img {
    max-height: 300px;
  }
}

@media (max-width: 850px) {
  .sds-preview__container {
    max-height: none;
  }

  .sds-preview__image,
  .sds-preview__image > img {
    max-height: none;
  }

  .sds-preview__container {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .sds-preview__image,
  .sds-preview__image > img {
    max-height: none;
    width: 100%;
  }

  .sds-preview__image > img {
    object-fit: contain;
  }

  .sds-info__container {
    justify-content: space-around;
  }
}
