.article-page.white-background-container {
  background-color: #fff;
}

body.section-product .white-background-container {
  background-color: #fff;
}

body.section-category .product-image-contaner {
  display: none;
}

body.section-category .header-has-background .mobile-search-icon {
  display: none;
}

body.section-category .header-has-background.scrolled .mobile-search-icon {
  display: block;
}

.homepage-banner-section:not(:has(.banner-card-container)) {
  display: none;
}

body.section-category .banners-section {
  margin-bottom: 64px;

  @media screen and (max-width: 768px) {
    margin-bottom: 32px;
  }
}

body.section-product:not(.product-page) .section-template-title {
  align-items: center;
}

.section-template-title {
  display: flex;
  justify-content: space-between;

  .product-image-contaner {
    flex-shrink: 0;
  }

  @media screen and (max-width: 768px) {
    flex-direction: column;

    .product-image-contaner {
      order: -1;
    }
  }

  .product-image-contaner img {
    height: 360px;
    width: unset;
    margin-bottom: 0;

    @media screen and (max-width: 768px) {
      height: auto;
      max-height: 400px;
    }
  }

  .product-image-contaner .helpful-videos {
    @media screen and (min-width: 768px) {
      margin-right: 68px;
    }
  }
}

.category-page-large-title {
  font-size: 40px;
  line-height: 48px;
  letter-spacing: 0.6px;
  padding: var(--spacing-32) 0;
  margin: 0;
}

@media screen and (max-width: 768px) {
  .category-page-large-title {
    font-size: 32px;
    line-height: 40px;
    letter-spacing: 0.396px;
    padding: var(--spacing-16) 0;
  }
}

.category-description {
  font-size: 16px;
  line-height: 24px;
  color: #555;
  margin: 8px 0 0;
}

@media screen and (min-width: 768px) {
  .category-description {
    font-size: 18px;
    margin: 16px 0 0;
  }
}

.bold {
  font-weight: 700;
}

.p-0 {
  padding: 0;
}

.site-body {
  margin: var(--spacing-64) 0;
}

.section-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 20px 8px 20px;
  background-color: #fff;
  height: 100%;

  @media screen and (max-width: 768px) {
    padding: 16px 16px 8px;
  }

  h3 {
    margin: 0;
  }
}

.section-item:hover {
  box-shadow: 0px 20px 28px 0px rgba(0, 0, 0, 0.15);
}

.section-item-name {
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  min-height: 48px;
}

.section-tree {
  margin-top: 24px;
  margin-bottom: 64px;
  gap: 32px;

  @media screen and (max-width: 768px) {
    gap: 16px;
  }
}

.section-tree-title {
  height: 100%;
}

.product-info-container {
  margin: 32px 0 64px;

  .pagination {
    margin-bottom: 64px;
  }

  @media screen and (max-width: 768px) {
    padding: 0 16px;
    margin: 32px 0;

    .pagination {
      margin-bottom: 32px;
    }

    .section-tree {
      margin-bottom: 16px;
    }
  }
}

.section-product {
  .product-info-container {
    margin: 0;
  }
}

.section-content-container {
  max-width: 1216px;
  margin: 0 auto;

  @media screen and (max-width: 1226px) {
    padding: 0 16px;
  }
}

.product-info-section {
  padding: 20px 0;

  &:nth-child(even) {
    background-color: #fff;

    .info-section-article {
      background-color: #f2f2f2;
    }
  }

  &.product-info-all {
    padding: 0;
  }

  .info-section-header {
    display: flex;
    margin-bottom: 0;
    justify-content: space-between;
    align-items: center;

    @media screen and (max-width: 768px) {
      flex-direction: column;
      align-items: start;
      gap: 8px;
    }
  }

  .info-section-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 48px;
    letter-spacing: 0.6px;
    margin: 0;
  }

  @media screen and (max-width: 768px) {
    .info-section-title {
      font-size: 32px;
      line-height: 40px;
      letter-spacing: 0.396px;
    }
  }

  .info-section-body {
    padding: 32px 0;
  }

  .info-section-articles {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
  }

  .info-section-article {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    background-color: #fff;
    width: 384px;
    max-width: 384px;
    cursor: pointer;

    &:hover {
      box-shadow: 0px 20px 28px 0px rgba(0, 0, 0, 0.15);
    }
  }

  .info-article-body {
    display: flex;
    justify-content: space-between;
  }

  .info-article-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 56px;
  }

  .info-article-title {
    font-size: 22px;
    font-weight: 600;
    line-height: 28px;
    letter-spacing: 0.352px;
    margin: 0;
  }

  .article-arrow {
    align-self: flex-end;
    margin-left: 24px;
  }
}

.product-info-section.invert-highlight {
  &:nth-child(even) {
    background-color: #f2f2f2;

    .info-section-article {
      background-color: #fff;
    }
  }

  &:nth-child(odd) {
    background-color: #fff;

    .info-section-article {
      background-color: #f2f2f2;
    }
  }
}

.section-nav-container {
  background-color: #fff;
  border-bottom: 1px solid var(--grey-gray-2, #ddd);

  @media screen and (max-width: 768px) {
    border: 0;
    background-color: transparent;
  }
}

.navigation-content {
  @media screen and (max-width: 768px) {
    padding: 0;
  }
}

.section-nav-item.active {
  border-bottom: 2px solid rgba(151, 201, 60, 1);
}

.section-nav {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(5, 1fr);

  @media screen and (max-width: 768px) {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }

  .section-nav-item {
    background-color: #fff;
    padding: 24px 0;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    color: #767676;
    white-space: nowrap;

    svg path {
      transition: all .3s;
      stroke: #767676;
    }

    #question-thin path {
      fill: #767676;
    }

    @media screen and (min-width: 769px) {
      &:hover,
      &.active {
        color: #000;

        path {
          stroke: #000;
        }

        #question-thin path {
          fill: #000;
        }
      }
    }

    @media screen and (max-width: 768px) {
      border: 1px solid var(--border-border-contrast, #ddd);

      justify-content: center;
      padding: 20px 16px;

      color: #000;

      svg path {
        stroke: #000;
      }

      svg#question-thin path {
        fill: #000;
      }

      &:nth-child(odd):last-child {
        grid-column: span 2;
      }

      svg {
        width: 24px;
        height: 24px;
      }
    }
  }

  .section-nav-name {
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: -0.45px;
    margin: 0;

    @media screen and (max-width: 768px) {
      font-size: 16px;
    }
  }

  .section-nav-icon {
    width: 32px;
    height: 32px;
  }
}

.fixed {
  position: fixed;
  top: 0;
  width: 100%;
}

.section-product:not(.product-page) .container:has(.app-download-container),
.section-product:not(.product-page) .container:has(.banner-card-container) {
  background-color: #fff;
  max-width: 100%;
  padding-bottom: 24px;

  @media screen and (max-width: 768px) {
    padding-bottom: 16px;
  }
}

.app-download-container {
  @media screen and (max-width: 768px) {
    margin-right: calc(var(--spacing-16) * -1);
    margin-left: calc(var(--spacing-16) * -1);
    margin-bottom: -16px;
  }
}

.app-download-links {
  background: rgba(242, 242, 242, 1);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;

  @media screen and (max-width: 768px) {
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 16px;
  }
}

.app-download-description {
  display: flex;
  flex-grow: 1;
  gap: 16px;
  @media screen and (max-width: 768px) {
    flex-basis: 100%;
  }
}

.app-download-icon {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  flex-shrink: 0;
}

.app-download-text {
  flex-grow: 1;

  h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    line-height: 28px;
    letter-spacing: 0.352px;

    @media screen and (max-width: 768px) {
      font-size: 18px;
      line-height: 24px;
      letter-spacing: -0.45px;
    }
  }

  p {
    margin: 0;
    font-size: 16px;
    line-height: 24px;
    color: rgba(85, 85, 85, 1);

    @media screen and (max-width: 768px) {
      font-size: 14px;
      line-height: 20px;
      letter-spacing: -0.154px;
    }
  }
}

.button.app-download-link {
  background: transparent;
  flex-shrink: 0;
  @media screen and (max-width: 768px) {
    flex-basis: 40%;
  }
}

.app-download-link::before {
  font-family: "Font Awesome 5 Brands";
  margin-right: 8px;
}

.app-download-link-apple::before {
  content: "\f179";
  font-size: 19px; /* needs visual size compensation */
  position: relative;
  top: -5%;
}

.app-download-link-google::before {
  content: "\f3ab";
  font-size: 16px;
}