header {
  margin-bottom: 200px;

  @media (max-width: 992px) {
    margin-bottom: 32px;
  }
}

.main-product {
  .container {
    display: flex;
    gap: 24px;
    margin-bottom: 200px;

    @media (max-width: 992px) {
      flex-direction: column;
      gap: 12px;
    }

    .product-picture {
      display: flex;
      flex-direction: column;
      width: 50%;

      @media (max-width: 992px) {
        width: 100%;
      }

      .text-wrapper {
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 100%;
        margin-bottom: 16px;

        h1 {
          font-weight: 500;
          font-size: 24px;
          line-height: 32px;
        }

        span {
          font-weight: 400;
          font-size: 14px;
          line-height: 20px;
          color: var(--gray-text);
        }
      }

      .picture-wrapper {
        height: 744px;
        background-color: var(--background-color);

        @media (max-width: 1500px) {
          height: 600px;
        }

        @media (max-width: 1200px) {
          height: 500px;
        }

        @media (max-width: 992px) {
          height: 600px;
          border-radius: 24px;
        }

        @media (max-width: 768px) {
          height: 400px;
          border-radius: 12px;
        }

        @media (max-width: 480px) {
          height: 360px;
          border-radius: 12px;
        }
      }
    }

    .text-content {
      display: flex;
      flex-direction: column;
      width: 50%;
      margin-top: 76px;

      @media (max-width: 992px) {
        margin-top: 32px;
        width: 100%;
      }

      ul {
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin-bottom: 24px;

        li {
          display: flex;
          align-items: start;
          gap: 16px;

          img {
            width: 24px;
          }

          span {
            font-weight: 500;
            font-size: 16px;
            line-height: 24px;
          }
        }
      }

      .btn-wrapper {
        display: flex;
        gap: 12px;

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

        a {
          font-weight: 400;
          font-size: 14px;
          line-height: 20px;
          border-radius: 10px;
          padding: 12px 16px;

          @media (max-width: 768px) {
            text-align: center;
          }

          &.order {
            background-color: var(--primary-blue);
            transition: .3s all linear;
            color: #fff;
          }

          &.order:hover {
            transition: .3s all linear;
            background-color: var(--light-blue);
          }

          &.documentation {
            background-color: #fff;
            border: 1px var(--light-gray-text) solid;
            transition: .3s all linear;
          }

          &.documentation:hover {
            transition: .3s all linear;
            background-color: var(--hover-gray-text);
          }
        }
      }
    }
  }
}

.updates {
  margin-bottom: 200px;
  transition: margin-bottom 0.4s ease;

  .container {
    ul {
      display: flex;
      flex-direction: column;

      hr {
        width: 100%;
        height: 1px;
        background-color: #000;
      }

      .accordition-content {
        max-height: 1000px;
        opacity: 1;
        transition: max-height 1s ease, opacity 1s ease;

        &.activity-status {
          max-height: 0;
          overflow: hidden;
          opacity: 0;
          transition: max-height 0.4s ease, opacity 0.4s ease;
        }
      }

      li {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 80px;
        border-top: 1px var(--light-gray-text) solid;

        &.sorting {
          cursor: pointer;
        }

        &.bottom {
          border-bottom: 1px var(--light-gray-text) solid;
        }

        .title {
          font-weight: 500;
          font-size: 24px;
          line-height: 32px;
        }

        .arrow {
          width: 32px;
          transition: .4s ease;

          &.activity-status {
            transition: .4s ease;
            transform: rotate(180deg);
          }
        }

        .version {
          font-weight: 500;
          font-size: 14px;
          line-height: 20px;
          color: var(--gray-text);
        }

        .description {
          font-weight: 500;
          font-size: 14px;
          line-height: 20px;
          color: #000;
        }
      }

      li:not(.sorting) {
        @media (max-width: 768px) {
          flex-direction: column;
          justify-content: center;
          align-items: start;
        }
      }
    }
  }
}

.other-offers {
  margin-bottom: 200px;

  @media (max-width: 768px) {
    display: none;
  }

  .container {
    h3 {
      font-weight: 500;
      font-size: 24px;
      line-height: 32px;
      margin-bottom: 40px;
    }

    .other-products {
      display: flex;
      gap: 24px;
    }
  }
}