.template--product {
  .section--image-comparison {
    .image-comparison--before-heading,
    .image-comparison--after-heading {
      font-weight: 700;
      font-size: 24px;
      line-height: 1;
      letter-spacing: -0.02em;
      text-transform: uppercase;
    }
  }
}

.logo-list--root {
  background-color: var(--bg-color);
}

.logo-list--container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 5%;

  .logo-list--block {
    height: var(--logo--block-height);
    max-width: 140px;

    img {
      object-fit: contain;
    }
  }
}

.custom-tabs--tab-buttons {
  margin-bottom: 30px;
  display: flex;
  justify-content: space-evenly;
  gap: 10px;
  border-bottom: 1px solid currentColor;
}

.custom-tabs--tab-button {
  padding: 0 0 5px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  text-transform: uppercase;
  border-bottom: 3px solid transparent;

  &.active {
    border-bottom: 3px solid currentColor;
  }
}

.custom-tabs--tab-panel {
  display: none;

  &.active {
    display: block;
  }

  .list-item {
    display: flex;
    gap: 12px;

    & + .list-item {
      margin-top: 25px;
    }

    img {
      width: 72px;
      height: 72px;
      object-fit: cover;
    }

    .list-item-content {
      width: calc(100% - 84px);

      h4 {
        margin: 0;
        font-weight: 700;
        font-size: 16px;
        line-height: 1;
        text-transform: uppercase;
      }

      p {
        margin-block: 8px 0;
        line-height: 1.33;
      }
    }
  }
}

.template--product-subscriptions {
  --bg-color--body: #fff;

  /* Main product */
  .product-media--variants--root[data-layout="thumbnails"] {
    flex-direction: column-reverse;
    gap: 10px;

    .product-media--root {
      max-width: 100%;
    }

    .product-media--modal,
    .product-media--thumbs {
      width: 100%;
    }

    .product-media--thumbs-wrapper {
      position: static;
      flex-wrap: wrap;
      flex-direction: row;
      gap: 10px;
    }

    .product-media--thumb {
      width: calc((100% - 30px) / 4);
    }
  }

  .main-product--wrapper {
    .product-media--variants--root {
      position: static;
    }

    .product-media--root {
      position: relative;
    }

    .product-media--alt {
      position: absolute;
      top: 20px;
      left: 20px;
      z-index: 2;
      padding: 8px 20px;
      font-weight: 700;
      font-size: 14px;
      line-height: 1;
      letter-spacing: 0;
      text-transform: uppercase;
      background: #117b5e;
      color: #fff;
    }

    .product--benefits {
      margin-top: 10px;
      display: flex;
      flex-wrap: wrap;
      gap: 10px;

      .item {
        width: calc((100% - 20px) / 3);
        padding: 12px;
        display: flex;
        align-items: center;
        gap: 10px;
        background-color: #F6F6F6;

        img {
          width: 34px;
          height: 34px;
          object-fit: contain;
        }

        p {
          width: calc(100% - 44px);
          margin: 0;
          font-weight: 700;
          font-size: 14px;
          line-height: 1;
          text-transform: uppercase;
        }
      }
    }
  }

  [data-item="overline"] {
    font-size: clamp(0.938rem, 1.157vw + 0.382rem, 1.25rem);
    line-height: 1.1;
    letter-spacing: 0.03em;
  }

  [data-item~="section-heading"] {
    font-weight: 700;
    font-size: clamp(1.875rem, 4.63vw - 0.347rem, 3.125rem);
    line-height: 1.1;
    letter-spacing: 0;
    text-transform: uppercase;
  }

  [data-essential-upsell-element] {
    display: none !important;
  }

  @media only screen and (min-width: 768px) and (max-width: 1023px) {
    .main-product--wrapper {
      .main-product--desktop,
      .main-product--form {
        width: calc(50% - calc(var(--spacing--block) / 2));
      }

      .product--benefits {
        .item {
          width: calc((100% - 10px) / 2);
        }
      }
    }
  }

  @media only screen and (max-width: 479px) {
    .main-product--wrapper {
      .product--benefits {
        .item {
          width: calc((100% - 10px) / 2);
        }
      }
    }
  }
}
